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.



147
148
149
# File 'lib/google/apis/connectors_v2/classes.rb', line 147

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)


140
141
142
# File 'lib/google/apis/connectors_v2/classes.rb', line 140

def description
  @description
end

#stateString

State of the connector. Corresponds to the JSON property state

Returns:

  • (String)


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