Class: Google::Apis::GmailpostmastertoolsV2::VerifyDomainRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmailpostmastertools_v2/classes.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb

Overview

Developer Preview: Request message for VerifyDomain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyDomainRequest

Returns a new instance of VerifyDomainRequest.



979
980
981
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 979

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#verification_methodString

Required. The verification method used. Must be specified, i.e. TXT or CNAME. Corresponds to the JSON property verificationMethod

Returns:

  • (String)


977
978
979
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 977

def verification_method
  @verification_method
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



984
985
986
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 984

def update!(**args)
  @verification_method = args[:verification_method] if args.key?(:verification_method)
end