Class: Google::Apis::FirebasehostingV1::HttpUpdate

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

Instance Method Summary collapse

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_errorGoogle::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

#desiredString

Output only. A text string to serve at the path. Corresponds to the JSON property desired

Returns:

  • (String)


286
287
288
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 286

def desired
  @desired
end

#discoveredString

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

Returns:

  • (String)


292
293
294
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 292

def discovered
  @discovered
end

#last_check_timeString

Output only. The last time Hosting systems checked for the file contents. Corresponds to the JSON property lastCheckTime

Returns:

  • (String)


297
298
299
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 297

def last_check_time
  @last_check_time
end

#pathString

Output only. The path to the file. Corresponds to the JSON property path

Returns:

  • (String)


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