class Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest

Attributes

site[RW]

The site for which a verification token will be generated. Corresponds to the JSON property `site` @return [Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site]

verification_method[RW]

The verification method that will be used to verify this site. For sites, ' FILE' or 'META' methods may be used. For domains, only 'DNS' may be used. Corresponds to the JSON property `verificationMethod` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/site_verification_v1/classes.rb, line 40
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/site_verification_v1/classes.rb, line 45
def update!(**args)
  @site = args[:site] if args.key?(:site)
  @verification_method = args[:verification_method] if args.key?(:verification_method)
end