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
692 693 694 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 692 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
621 622 623 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 621 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
627 628 629 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 627 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
633 634 635 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 633 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
639 640 641 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 639 def dashboard_client @dashboard_client end |
#description ⇒ String
Textual description of the service. Required.
Corresponds to the JSON property description
644 645 646 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 644 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
650 651 652 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 650 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
655 656 657 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 655 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
662 663 664 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 662 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
672 673 674 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 672 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
677 678 679 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 677 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
684 685 686 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 684 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
690 691 692 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 690 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
697 698 699 700 701 702 703 704 705 706 707 708 709 710 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 697 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 |