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.
-
#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.
147 148 149 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 147 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
140 141 142 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 140 def description @description end |
#state ⇒ String
State of the connector.
Corresponds to the JSON property state
145 146 147 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 145 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
152 153 154 155 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 152 def update!(**args) @description = args[:description] if args.key?(:description) @state = args[:state] if args.key?(:state) end |