Class: Google::Apis::FirebasehostingV1::HttpUpdate
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1::HttpUpdate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasehosting_v1/classes.rb,
lib/google/apis/firebasehosting_v1/representations.rb,
lib/google/apis/firebasehosting_v1/representations.rb
Overview
A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting's Certificate Authorities to create an SSL certificate for your domain.
Instance Attribute Summary collapse
-
#check_error ⇒ Google::Apis::FirebasehostingV1::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#desired ⇒ String
Output only.
-
#discovered ⇒ String
Output only.
-
#last_check_time ⇒ String
Output only.
-
#path ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpUpdate
constructor
A new instance of HttpUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpUpdate
Returns a new instance of HttpUpdate.
304 305 306 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 304 def initialize(**args) update!(**args) end |
Instance Attribute Details
#check_error ⇒ Google::Apis::FirebasehostingV1::Status
The Status
type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status
message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property checkError
281 282 283 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 281 def check_error @check_error end |
#desired ⇒ String
Output only. A text string to serve at the path.
Corresponds to the JSON property desired
286 287 288 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 286 def desired @desired end |
#discovered ⇒ String
Output only. Whether Hosting was able to find the required file contents on
the specified path during its last check.
Corresponds to the JSON property discovered
292 293 294 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 292 def discovered @discovered end |
#last_check_time ⇒ String
Output only. The last time Hosting systems checked for the file contents.
Corresponds to the JSON property lastCheckTime
297 298 299 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 297 def last_check_time @last_check_time end |
#path ⇒ String
Output only. The path to the file.
Corresponds to the JSON property path
302 303 304 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 302 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
309 310 311 312 313 314 315 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 309 def update!(**args) @check_error = args[:check_error] if args.key?(:check_error) @desired = args[:desired] if args.key?(:desired) @discovered = args[:discovered] if args.key?(:discovered) @last_check_time = args[:last_check_time] if args.key?(:last_check_time) @path = args[:path] if args.key?(:path) end |