Class: Google::Apis::ConnectorsV2::CheckReadinessResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb

Overview

Response containing status of the connector for readiness prober.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckReadinessResponse

Returns a new instance of CheckReadinessResponse.



122
123
124
# File 'lib/google/apis/connectors_v2/classes.rb', line 122

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

Instance Attribute Details

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


120
121
122
# File 'lib/google/apis/connectors_v2/classes.rb', line 120

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



127
128
129
# File 'lib/google/apis/connectors_v2/classes.rb', line 127

def update!(**args)
  @status = args[:status] if args.key?(:status)
end