Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1GetBindingResponse

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

Returns a new instance of GoogleCloudServicebrokerV1beta1GetBindingResponse



367
368
369
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 367

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


327
328
329
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 327

def credentials
  @credentials
end

#deployment_nameString

String containing the Deployment Manager deployment name that was created for this binding, Corresponds to the JSON property deploymentName

Returns:

  • (String)


333
334
335
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 333

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


341
342
343
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 341

def description
  @description
end

#resource_nameString

Output only. The resource name of the binding, e.g. projects/project_id/brokers/broker_id/service_instances/instance_id/bindings/ binding_id. Corresponds to the JSON property resourceName

Returns:

  • (String)


349
350
351
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 349

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


355
356
357
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 355

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)


360
361
362
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 360

def syslog_drain_url
  @syslog_drain_url
end

#volume_mountsArray<Hash<String,Object>>

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

Returns:

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


365
366
367
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 365

def volume_mounts
  @volume_mounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



372
373
374
375
376
377
378
379
380
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 372

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