Class: Google::Apis::GmailpostmastertoolsV2::CreateDomainRequest

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 CreateDomain.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idString

Required. The domain to add. e.g., "example.com" Corresponds to the JSON property domainId

Returns:

  • (String)


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