Class: Google::Apis::FirebasehostingV1beta1::UndeleteCustomDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::UndeleteCustomDomainRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasehosting_v1beta1/classes.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb
Overview
The request sent to UndeleteCustomDomain
.
Instance Attribute Summary collapse
-
#etag ⇒ String
A tag that represents the state of the
CustomDomain
as you know it. -
#validate_only ⇒ Boolean
(also: #validate_only?)
If true, Hosting validates that it's possible to complete your request but doesn't actually delete the
CustomDomain
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UndeleteCustomDomainRequest
constructor
A new instance of UndeleteCustomDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UndeleteCustomDomainRequest
Returns a new instance of UndeleteCustomDomainRequest.
1712 1713 1714 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
A tag that represents the state of the CustomDomain
as you know it. If
present, the supplied tag must match the current value on your CustomDomain
,
or the request fails.
Corresponds to the JSON property etag
1703 1704 1705 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1703 def etag @etag end |
#validate_only ⇒ Boolean Also known as: validate_only?
If true, Hosting validates that it's possible to complete your request but
doesn't actually delete the CustomDomain
.
Corresponds to the JSON property validateOnly
1709 1710 1711 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1709 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1717 1718 1719 1720 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1717 def update!(**args) @etag = args[:etag] if args.key?(:etag) @validate_only = args[:validate_only] if args.key?(:validate_only) end |