Class: Google::Apis::ConnectorsV2::CheckStatusResponse

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

The status of the connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckStatusResponse

Returns a new instance of CheckStatusResponse.



180
181
182
# File 'lib/google/apis/connectors_v2/classes.rb', line 180

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


173
174
175
# File 'lib/google/apis/connectors_v2/classes.rb', line 173

def description
  @description
end

#stateString

State of the connector. Corresponds to the JSON property state

Returns:

  • (String)


178
179
180
# File 'lib/google/apis/connectors_v2/classes.rb', line 178

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



185
186
187
188
# File 'lib/google/apis/connectors_v2/classes.rb', line 185

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