Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Overview

The response for TestDatastore

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TestDatastoreResponse

Returns a new instance of GoogleCloudApigeeV1TestDatastoreResponse.


5172
5173
5174
# File 'generated/google/apis/apigee_v1/classes.rb', line 5172

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

Instance Attribute Details

#errorString

Output only. Error message of test connection failure Corresponds to the JSON property error

Returns:

  • (String)

5165
5166
5167
# File 'generated/google/apis/apigee_v1/classes.rb', line 5165

def error
  @error
end

#stateString

Output only. It could be completed or failed Corresponds to the JSON property state

Returns:

  • (String)

5170
5171
5172
# File 'generated/google/apis/apigee_v1/classes.rb', line 5170

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5177
5178
5179
5180
# File 'generated/google/apis/apigee_v1/classes.rb', line 5177

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