Class: Google::Apis::FirebasehostingV1beta1::CertHttpChallenge
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::CertHttpChallenge
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebasehosting_v1beta1/classes.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb
Overview
Represents an HTTP certificate challenge.
Instance Attribute Summary collapse
-
#path ⇒ String
The URL path on which to serve the specified token to satisfy the certificate challenge.
-
#token ⇒ String
The token to serve at the specified URL path to satisfy the certificate challenge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertHttpChallenge
constructor
A new instance of CertHttpChallenge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CertHttpChallenge
Returns a new instance of CertHttpChallenge
94 95 96 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 94 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
The URL path on which to serve the specified token to satisfy the
certificate challenge.
Corresponds to the JSON property path
86 87 88 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 86 def path @path end |
#token ⇒ String
The token to serve at the specified URL path to satisfy the certificate
challenge.
Corresponds to the JSON property token
92 93 94 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 92 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
99 100 101 102 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 99 def update!(**args) @path = args[:path] if args.key?(:path) @token = args[:token] if args.key?(:token) end |