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



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

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


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

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)


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

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)


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

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)


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

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


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

def volume_mounts
  @volume_mounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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