Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan
- 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
Plan message describes a Service Plan.
Instance Attribute Summary collapse
-
#bindable ⇒ Boolean
(also: #bindable?)
Specifies whether instances of the service can be bound to applications.
-
#description ⇒ String
Textual description of the plan.
-
#free ⇒ Boolean
(also: #free?)
Whether the service is free.
-
#id ⇒ String
ID is a globally unique identifier used to uniquely identify the plan.
-
#metadata ⇒ Hash<String,Object>
A list of metadata for a service offering.
-
#name ⇒ String
User friendly name of the plan.
-
#schemas ⇒ Hash<String,Object>
Schema definitions for service instances and bindings for the plan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Plan
constructor
A new instance of GoogleCloudServicebrokerV1beta1Plan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Plan
Returns a new instance of GoogleCloudServicebrokerV1beta1Plan
599 600 601 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 599 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bindable ⇒ Boolean Also known as: bindable?
Specifies whether instances of the service can be bound to applications.
If not specified, Service.bindable
will be presumed.
Corresponds to the JSON property bindable
560 561 562 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 560 def bindable @bindable end |
#description ⇒ String
Textual description of the plan. Optional.
Corresponds to the JSON property description
566 567 568 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 566 def description @description end |
#free ⇒ Boolean Also known as: free?
Whether the service is free.
Corresponds to the JSON property free
571 572 573 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 571 def free @free end |
#id ⇒ String
ID is a globally unique identifier used to uniquely identify the plan.
User must make no presumption about the format of this field.
Corresponds to the JSON property id
578 579 580 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 578 def id @id end |
#metadata ⇒ Hash<String,Object>
A list of metadata for a service offering.
Metadata is an arbitrary JSON object.
Corresponds to the JSON property metadata
584 585 586 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 584 def @metadata end |
#name ⇒ String
User friendly name of the plan.
The name must be globally unique within GCP project.
Note, which is different from ("This must be globally unique within a
platform marketplace").
Corresponds to the JSON property name
592 593 594 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 592 def name @name end |
#schemas ⇒ Hash<String,Object>
Schema definitions for service instances and bindings for the plan.
Corresponds to the JSON property schemas
597 598 599 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 597 def schemas @schemas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
604 605 606 607 608 609 610 611 612 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 604 def update!(**args) @bindable = args[:bindable] if args.key?(:bindable) @description = args[:description] if args.key?(:description) @free = args[:free] if args.key?(:free) @id = args[:id] if args.key?(:id) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @schemas = args[:schemas] if args.key?(:schemas) end |