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
| 566 567 568 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 566 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
| 527 528 529 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 527 def bindable @bindable end | 
#description ⇒ String
Textual description of the plan. Optional.
Corresponds to the JSON property description
| 533 534 535 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 533 def description @description end | 
#free ⇒ Boolean Also known as: free?
Whether the service is free.
Corresponds to the JSON property free
| 538 539 540 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 538 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
| 545 546 547 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 545 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
| 551 552 553 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 551 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
| 559 560 561 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 559 def name @name end | 
#schemas ⇒ Hash<String,Object>
Schema definitions for service instances and bindings for the plan.
Corresponds to the JSON property schemas
| 564 565 566 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 564 def schemas @schemas end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 571 572 573 574 575 576 577 578 579 | # File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 571 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 |