Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Service
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Service
- 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
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.
-
#dashboard_client ⇒ Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1DashboardClient
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.
-
#instance_retrievable ⇒ Boolean
(also: #instance_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::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Plan>
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) ⇒ GoogleCloudServicebrokerV1alpha1Service
constructor
A new instance of GoogleCloudServicebrokerV1alpha1Service.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1alpha1Service
Returns a new instance of GoogleCloudServicebrokerV1alpha1Service
584 585 586 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 584 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
519 520 521 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 519 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
525 526 527 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 525 def binding_retrievable @binding_retrievable end |
#dashboard_client ⇒ Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1DashboardClient
Message containing information required to activate Dashboard SSO feature.
Corresponds to the JSON property dashboard_client
531 532 533 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 531 def dashboard_client @dashboard_client end |
#description ⇒ String
Textual description of the service. Required.
Corresponds to the JSON property description
536 537 538 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 536 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
542 543 544 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 542 def id @id end |
#instance_retrievable ⇒ Boolean Also known as: instance_retrievable?
Whether the service provides an endpoint to get service instances.
Corresponds to the JSON property instance_retrievable
547 548 549 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 547 def instance_retrievable @instance_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
554 555 556 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 554 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
564 565 566 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 564 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
569 570 571 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 569 def plan_updateable @plan_updateable end |
#plans ⇒ Array<Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Plan>
A list of plans for this service.
At least one plan is required.
Corresponds to the JSON property plans
576 577 578 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 576 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
582 583 584 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 582 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
589 590 591 592 593 594 595 596 597 598 599 600 601 |
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 589 def update!(**args) @bindable = args[:bindable] if args.key?(:bindable) @binding_retrievable = args[:binding_retrievable] if args.key?(:binding_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) @instance_retrievable = args[:instance_retrievable] if args.key?(:instance_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 |