Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Plan
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Plan
- 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
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) ⇒ GoogleCloudServicebrokerV1alpha1Plan
constructor
A new instance of GoogleCloudServicebrokerV1alpha1Plan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1alpha1Plan
Returns a new instance of GoogleCloudServicebrokerV1alpha1Plan
492 493 494 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 492 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
453 454 455 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 453 def bindable @bindable end |
#description ⇒ String
Textual description of the plan. Optional.
Corresponds to the JSON property description
459 460 461 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 459 def description @description end |
#free ⇒ Boolean Also known as: free?
Whether the service is free.
Corresponds to the JSON property free
464 465 466 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 464 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
471 472 473 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 471 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
477 478 479 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 477 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
485 486 487 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 485 def name @name end |
#schemas ⇒ Hash<String,Object>
Schema definitions for service instances and bindings for the plan.
Corresponds to the JSON property schemas
490 491 492 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 490 def schemas @schemas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
497 498 499 500 501 502 503 504 505 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 497 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 |