Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateBindingResponse

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 CreateBinding() 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) ⇒ GoogleCloudServicebrokerV1beta1CreateBindingResponse

Returns a new instance of GoogleCloudServicebrokerV1beta1CreateBindingResponse



185
186
187
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 185

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

Instance Attribute Details

#credentialsHash<String,Object>

Credentials to use the binding. Corresponds to the JSON property credentials

Returns:

  • (Hash<String,Object>)


152
153
154
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 152

def credentials
  @credentials
end

#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

Returns:

  • (String)


160
161
162
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 160

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 executes all create/delete operations asynchronously. Corresponds to the JSON property operation

Returns:

  • (String)


167
168
169
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 167

def operation
  @operation
end

#route_service_urlString

A URL to which the platform may proxy requests for the address sent with bind_resource.route Corresponds to the JSON property route_service_url

Returns:

  • (String)


173
174
175
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 173

def route_service_url
  @route_service_url
end

#syslog_drain_urlString

From where to read system logs. Corresponds to the JSON property syslog_drain_url

Returns:

  • (String)


178
179
180
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 178

def syslog_drain_url
  @syslog_drain_url
end

#volume_mountsArray<Hash<String,Object>>

An array of configuration for mounting volumes. Corresponds to the JSON property volume_mounts

Returns:

  • (Array<Hash<String,Object>>)


183
184
185
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 183

def volume_mounts
  @volume_mounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



190
191
192
193
194
195
196
197
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 190

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