Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse

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

Overview

Response for the CreateServiceInstance() method.

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) ⇒ GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse


219
220
221
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 219

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

Instance Attribute Details

#descriptionString

Used to communicate description of the response. Usually for non-standard error codes. https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md# service-broker-errors Corresponds to the JSON property description


210
211
212
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 210

def description
  @description
end

#operationString

If broker executes operation asynchronously, this is the operation ID that can be polled to check the completion status of said operation. This broker always will return a non-empty operation on success. Corresponds to the JSON property operation


217
218
219
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 217

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


224
225
226
227
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 224

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