Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding
- 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
Describes the binding.
Instance Attribute Summary collapse
-
#bind_resource ⇒ Hash<String,Object>
A JSON object that contains data for platform resources associated with the binding to be created.
-
#binding_id ⇒ String
The id of the binding.
-
#create_time ⇒ String
Output only.
-
#deployment_name ⇒ String
Output only.
-
#parameters ⇒ Hash<String,Object>
Configuration options for the service binding.
-
#plan_id ⇒ String
The ID of the plan.
-
#resource_name ⇒ String
Output only.
-
#service_id ⇒ String
The id of the service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Binding
constructor
A new instance of GoogleCloudServicebrokerV1beta1Binding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Binding
Returns a new instance of GoogleCloudServicebrokerV1beta1Binding
83 84 85 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bind_resource ⇒ Hash<String,Object>
A JSON object that contains data for platform resources associated with
the binding to be created.
Corresponds to the JSON property bind_resource
33 34 35 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 33 def bind_resource @bind_resource end |
#binding_id ⇒ String
The id of the binding. Must be unique within GCP project.
Maximum length is 64, GUID recommended.
Required.
Corresponds to the JSON property binding_id
40 41 42 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 40 def binding_id @binding_id end |
#create_time ⇒ String
Output only.
Timestamp for when the binding was created.
Corresponds to the JSON property createTime
46 47 48 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 46 def create_time @create_time end |
#deployment_name ⇒ String
Output only.
String containing the Deployment Manager deployment name that was created
for this binding,
Corresponds to the JSON property deploymentName
53 54 55 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 53 def deployment_name @deployment_name end |
#parameters ⇒ Hash<String,Object>
Configuration options for the service binding.
Corresponds to the JSON property parameters
58 59 60 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 58 def parameters @parameters end |
#plan_id ⇒ String
The ID of the plan. See Service
and Plan
resources for details.
Maximum length is 64, GUID recommended.
Required.
Corresponds to the JSON property plan_id
65 66 67 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 65 def plan_id @plan_id end |
#resource_name ⇒ String
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
73 74 75 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 73 def resource_name @resource_name end |
#service_id ⇒ String
The id of the service. Must be a valid identifier of a service
contained in the list from a ListServices()
call.
Maximum length is 64, GUID recommended.
Required.
Corresponds to the JSON property service_id
81 82 83 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 81 def service_id @service_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 91 92 93 94 95 96 97 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 88 def update!(**args) @bind_resource = args[:bind_resource] if args.key?(:bind_resource) @binding_id = args[:binding_id] if args.key?(:binding_id) @create_time = args[:create_time] if args.key?(:create_time) @deployment_name = args[:deployment_name] if args.key?(:deployment_name) @parameters = args[:parameters] if args.key?(:parameters) @plan_id = args[:plan_id] if args.key?(:plan_id) @resource_name = args[:resource_name] if args.key?(:resource_name) @service_id = args[:service_id] if args.key?(:service_id) end |