Class: Google::Apis::DomainsV1::RenewDomainRequest

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

Overview

Request for the RenewDomain method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RenewDomainRequest

Returns a new instance of RenewDomainRequest.



1930
1931
1932
# File 'lib/google/apis/domains_v1/classes.rb', line 1930

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

Instance Attribute Details

#validate_onlyBoolean Also known as: validate_only?

Optional. When true, only validation is performed, without actually renewing the domain. For more information, see Request validation Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


1922
1923
1924
# File 'lib/google/apis/domains_v1/classes.rb', line 1922

def validate_only
  @validate_only
end

#yearly_priceGoogle::Apis::DomainsV1::Money

Represents an amount of money with its currency type. Corresponds to the JSON property yearlyPrice



1928
1929
1930
# File 'lib/google/apis/domains_v1/classes.rb', line 1928

def yearly_price
  @yearly_price
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1935
1936
1937
1938
# File 'lib/google/apis/domains_v1/classes.rb', line 1935

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