Class: Google::Apis::ConnectorsV2::CheckStatusResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::CheckStatusResponse
- 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
The status of the connector.
Instance Attribute Summary collapse
-
#description ⇒ String
When the connector is not in ACTIVE state, the description must be populated to specify the reason why it's not in ACTIVE state.
-
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
-
#state ⇒ String
State of the connector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckStatusResponse
constructor
A new instance of CheckStatusResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckStatusResponse
Returns a new instance of CheckStatusResponse.
197 198 199 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
When the connector is not in ACTIVE state, the description must be populated
to specify the reason why it's not in ACTIVE state.
Corresponds to the JSON property description
185 186 187 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 185 def description @description end |
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
Corresponds to the JSON property metadata
190 191 192 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 190 def @metadata end |
#state ⇒ String
State of the connector.
Corresponds to the JSON property state
195 196 197 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 195 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
202 203 204 205 206 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 202 def update!(**args) @description = args[:description] if args.key?(:description) @metadata = args[:metadata] if args.key?(:metadata) @state = args[:state] if args.key?(:state) end |