Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Binding
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Binding
- 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
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.
-
#parameters ⇒ Hash<String,Object>
Configuration options for the service binding.
-
#plan_id ⇒ String
The ID of the plan.
-
#service_id ⇒ String
The id of the service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1alpha1Binding
constructor
A new instance of GoogleCloudServicebrokerV1alpha1Binding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1alpha1Binding
Returns a new instance of GoogleCloudServicebrokerV1alpha1Binding
68 69 70 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 68 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_v1alpha1/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_v1alpha1/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_v1alpha1/classes.rb', line 46 def create_time @create_time end |
#parameters ⇒ Hash<String,Object>
Configuration options for the service binding.
Corresponds to the JSON property parameters
51 52 53 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 51 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
58 59 60 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 58 def plan_id @plan_id 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
66 67 68 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 66 def service_id @service_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73 74 75 76 77 78 79 80 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 73 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) @parameters = args[:parameters] if args.key?(:parameters) @plan_id = args[:plan_id] if args.key?(:plan_id) @service_id = args[:service_id] if args.key?(:service_id) end |