class Google::Apis::SiteVerificationV1::GetWebResourceTokenResponse

Attributes

token[RW]

The verification token. The token must be placed appropriately in order for verification to succeed. Corresponds to the JSON property `token` @return [String]

verification_method[RW]

The verification method to use in conjunction with this token. For FILE, the token should be placed in the top-level directory of the site, stored inside a file of the same name. For META, the token should be placed in the HEAD tag of the default page that is loaded for the site. For DNS, the token should be placed in a TXT record of the domain. Corresponds to the JSON property `method` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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