Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service
- 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
The resource model mostly follows the Open Service Broker API, as described here: https://github.com/openservicebrokerapi/servicebroker/blob/master/_spec.md Though due to Google Specifics it has additional optional fields.
Instance Attribute Summary collapse
-
#bindable ⇒ Boolean
(also: #bindable?)
Specifies whether instances of the service can be bound to applications.
-
#binding_retrievable ⇒ Boolean
(also: #binding_retrievable?)
Whether the service provides an endpoint to get service bindings.
-
#bindings_retrievable ⇒ Boolean
(also: #bindings_retrievable?)
Whether the service provides an endpoint to get service bindings.
-
#dashboard_client ⇒ Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient
Message containing information required to activate Dashboard SSO feature.
-
#description ⇒ String
Textual description of the service.
-
#id ⇒ String
ID is a globally unique identifier used to uniquely identify the service.
-
#instances_retrievable ⇒ Boolean
(also: #instances_retrievable?)
Whether the service provides an endpoint to get service instances.
-
#metadata ⇒ Hash<String,Object>
A list of metadata for a service offering.
-
#name ⇒ String
User friendly service name.
-
#plan_updateable ⇒ Boolean
(also: #plan_updateable?)
Whether the service supports upgrade/downgrade for some plans.
-
#plans ⇒ Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan>
A list of plans for this service.
-
#tags ⇒ Array<String>
Tags provide a flexible mechanism to expose a classification, attribute, or base technology of a service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Service
constructor
A new instance of GoogleCloudServicebrokerV1beta1Service.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Service
Returns a new instance of GoogleCloudServicebrokerV1beta1Service
697 698 699 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 697 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.
Required.
Corresponds to the JSON property bindable
626 627 628 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 626 def bindable @bindable end |
#binding_retrievable ⇒ Boolean Also known as: binding_retrievable?
Whether the service provides an endpoint to get service bindings.
Corresponds to the JSON property binding_retrievable
632 633 634 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 632 def binding_retrievable @binding_retrievable end |
#bindings_retrievable ⇒ Boolean Also known as: bindings_retrievable?
Whether the service provides an endpoint to get service bindings.
Corresponds to the JSON property bindings_retrievable
638 639 640 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 638 def bindings_retrievable @bindings_retrievable end |
#dashboard_client ⇒ Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient
Message containing information required to activate Dashboard SSO feature.
Corresponds to the JSON property dashboard_client
644 645 646 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 644 def dashboard_client @dashboard_client end |
#description ⇒ String
Textual description of the service. Required.
Corresponds to the JSON property description
649 650 651 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 649 def description @description end |
#id ⇒ String
ID is a globally unique identifier used to uniquely identify the service.
ID is an opaque string.
Corresponds to the JSON property id
655 656 657 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 655 def id @id end |
#instances_retrievable ⇒ Boolean Also known as: instances_retrievable?
Whether the service provides an endpoint to get service instances.
Corresponds to the JSON property instances_retrievable
660 661 662 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 660 def instances_retrievable @instances_retrievable 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
667 668 669 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 667 def @metadata end |
#name ⇒ String
User friendly service name.
Name must match [a-z0-9]+ regexp.
The name must be globally unique within GCP project.
Note, which is different from ("This must be globally unique within a
platform marketplace").
Required.
Corresponds to the JSON property name
677 678 679 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 677 def name @name end |
#plan_updateable ⇒ Boolean Also known as: plan_updateable?
Whether the service supports upgrade/downgrade for some plans.
Corresponds to the JSON property plan_updateable
682 683 684 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 682 def plan_updateable @plan_updateable end |
#plans ⇒ Array<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan>
A list of plans for this service.
At least one plan is required.
Corresponds to the JSON property plans
689 690 691 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 689 def plans @plans end |
#tags ⇒ Array<String>
Tags provide a flexible mechanism to expose a classification, attribute, or
base technology of a service.
Corresponds to the JSON property tags
695 696 697 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 695 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
702 703 704 705 706 707 708 709 710 711 712 713 714 715 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 702 def update!(**args) @bindable = args[:bindable] if args.key?(:bindable) @binding_retrievable = args[:binding_retrievable] if args.key?(:binding_retrievable) @bindings_retrievable = args[:bindings_retrievable] if args.key?(:bindings_retrievable) @dashboard_client = args[:dashboard_client] if args.key?(:dashboard_client) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @instances_retrievable = args[:instances_retrievable] if args.key?(:instances_retrievable) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @plan_updateable = args[:plan_updateable] if args.key?(:plan_updateable) @plans = args[:plans] if args.key?(:plans) @tags = args[:tags] if args.key?(:tags) end |