Class: Google::Apis::GmailpostmastertoolsV2::VerifyDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::VerifyDomainRequest
- 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
-
#verification_method ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyDomainRequest
constructor
A new instance of VerifyDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_method ⇒ String
Required. The verification method used. Must be specified, i.e. TXT or CNAME.
Corresponds to the JSON property verificationMethod
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 |