Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1CreateBindingResponse

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

Returns a new instance of GoogleCloudServicebrokerV1alpha1CreateBindingResponse



123
124
125
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 123

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


90
91
92
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 90

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)


98
99
100
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 98

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)


105
106
107
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 105

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)


111
112
113
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 111

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)


116
117
118
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 116

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


121
122
123
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 121

def volume_mounts
  @volume_mounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



128
129
130
131
132
133
134
135
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 128

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