Class: Google::Apis::GmailpostmastertoolsV2::CreateDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::CreateDomainRequest
- 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 CreateDomain.
Instance Attribute Summary collapse
-
#domain_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateDomainRequest
constructor
A new instance of CreateDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateDomainRequest
Returns a new instance of CreateDomainRequest.
169 170 171 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_id ⇒ String
Required. The domain to add. e.g., "example.com"
Corresponds to the JSON property domainId
167 168 169 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 167 def domain_id @domain_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
174 175 176 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 174 def update!(**args) @domain_id = args[:domain_id] if args.key?(:domain_id) end |