Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1GetBindingResponse

Inherits:
Object
  • Object
show all
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 GetBinding() 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) ⇒ GoogleCloudServicebrokerV1alpha1GetBindingResponse

Returns a new instance of GoogleCloudServicebrokerV1alpha1GetBindingResponse



290
291
292
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 290

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


264
265
266
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 264

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)


272
273
274
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 272

def description
  @description
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)


278
279
280
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 278

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)


283
284
285
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 283

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


288
289
290
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 288

def volume_mounts
  @volume_mounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



295
296
297
298
299
300
301
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 295

def update!(**args)
  @credentials = args[:credentials] if args.key?(:credentials)
  @description = args[:description] if args.key?(:description)
  @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