Class: Google::Apis::FirebasehostingV1beta1::CertHttpChallenge

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#pathString

The URL path on which to serve the specified token to satisfy the certificate challenge. Corresponds to the JSON property path

Returns:

  • (String)


86
87
88
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 86

def path
  @path
end

#tokenString

The token to serve at the specified URL path to satisfy the certificate challenge. Corresponds to the JSON property token

Returns:

  • (String)


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