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.



197
198
199
# File 'lib/google/apis/connectors_v2/classes.rb', line 197

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)


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

def description
  @description
end

#metadataHash<String,Hash<String,Object>>

Metadata like service latency, etc. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Hash<String,Object>>)


190
191
192
# File 'lib/google/apis/connectors_v2/classes.rb', line 190

def 
  @metadata
end

#stateString

State of the connector. Corresponds to the JSON property state

Returns:

  • (String)


195
196
197
# File 'lib/google/apis/connectors_v2/classes.rb', line 195

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



202
203
204
205
206
# File 'lib/google/apis/connectors_v2/classes.rb', line 202

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