Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse

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 UpdateServiceInstance() 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) ⇒ GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse


842
843
844
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 842

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


834
835
836
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 834

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


840
841
842
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 840

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


847
848
849
850
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 847

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