Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConnectionStatus
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConnectionStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
ConnectionStatus indicates the state of the connection.
Instance Attribute Summary collapse
-
#description ⇒ String
Description.
-
#state ⇒ String
State.
-
#status ⇒ String
Status provides detailed information for the state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1ConnectionStatus
constructor
A new instance of GoogleCloudConnectorsV1ConnectionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1ConnectionStatus
Returns a new instance of GoogleCloudConnectorsV1ConnectionStatus.
5689 5690 5691 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description.
Corresponds to the JSON property description
5677 5678 5679 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5677 def description @description end |
#state ⇒ String
State.
Corresponds to the JSON property state
5682 5683 5684 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5682 def state @state end |
#status ⇒ String
Status provides detailed information for the state.
Corresponds to the JSON property status
5687 5688 5689 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5687 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5694 5695 5696 5697 5698 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5694 def update!(**args) @description = args[:description] if args.key?(:description) @state = args[:state] if args.key?(:state) @status = args[:status] if args.key?(:status) end |