Class: Google::Apis::ConnectorsV1::ConnectionStatus
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ConnectionStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_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) ⇒ ConnectionStatus
constructor
A new instance of ConnectionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionStatus
Returns a new instance of ConnectionStatus.
1119 1120 1121 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description.
Corresponds to the JSON property description
1107 1108 1109 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1107 def description @description end |
#state ⇒ String
State.
Corresponds to the JSON property state
1112 1113 1114 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1112 def state @state end |
#status ⇒ String
Status provides detailed information for the state.
Corresponds to the JSON property status
1117 1118 1119 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1117 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1124 1125 1126 1127 1128 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1124 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 |