Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicebroker_v1alpha1/classes.rb,
generated/google/apis/servicebroker_v1alpha1/representations.rb,
generated/google/apis/servicebroker_v1alpha1/representations.rb
Overview
Response for the CreateServiceInstance()
method.
Instance Attribute Summary collapse
-
#description ⇒ String
Used to communicate description of the response.
-
#operation ⇒ String
If broker executes operation asynchronously, this is the operation ID that can be polled to check the completion status of said operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse
constructor
A new instance of GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse
Returns a new instance of GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse
157 158 159 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
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
148 149 150 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 148 def description @description end |
#operation ⇒ String
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
155 156 157 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 155 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 165 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 162 def update!(**args) @description = args[:description] if args.key?(:description) @operation = args[:operation] if args.key?(:operation) end |