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

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

Overview

The response for TestDatastore

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TestDatastoreResponse

Returns a new instance of GoogleCloudApigeeV1TestDatastoreResponse.



11050
11051
11052
# File 'lib/google/apis/apigee_v1/classes.rb', line 11050

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)


11043
11044
11045
# File 'lib/google/apis/apigee_v1/classes.rb', line 11043

def error
  @error
end

#stateString

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

Returns:

  • (String)


11048
11049
11050
# File 'lib/google/apis/apigee_v1/classes.rb', line 11048

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11055
11056
11057
11058
# File 'lib/google/apis/apigee_v1/classes.rb', line 11055

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