Class: Google::Apis::FirebasehostingV1beta1::HttpUpdate

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

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.



906
907
908
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 906

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#check_errorGoogle::Apis::FirebasehostingV1beta1::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



883
884
885
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 883

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)


888
889
890
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 888

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)


894
895
896
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 894

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)


899
900
901
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 899

def last_check_time
  @last_check_time
end

#pathString

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

Returns:

  • (String)


904
905
906
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 904

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



911
912
913
914
915
916
917
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 911

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