Class: Google::Apis::DomainsV1alpha2::RenewDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::RenewDomainRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
Request for the RenewDomain
method.
Instance Attribute Summary collapse
-
#validate_only ⇒ Boolean
(also: #validate_only?)
Optional.
-
#yearly_price ⇒ Google::Apis::DomainsV1alpha2::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenewDomainRequest
constructor
A new instance of RenewDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenewDomainRequest
Returns a new instance of RenewDomainRequest.
1920 1921 1922 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#validate_only ⇒ Boolean 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
1912 1913 1914 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1912 def validate_only @validate_only end |
#yearly_price ⇒ Google::Apis::DomainsV1alpha2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property yearlyPrice
1918 1919 1920 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1918 def yearly_price @yearly_price end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1925 1926 1927 1928 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1925 def update!(**args) @validate_only = args[:validate_only] if args.key?(:validate_only) @yearly_price = args[:yearly_price] if args.key?(:yearly_price) end |