Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse

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 DeleteServiceInstance() 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) ⇒ GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse


309
310
311
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 309

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


301
302
303
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 301

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. Corresponds to the JSON property operation


307
308
309
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 307

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


314
315
316
317
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 314

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