Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Service

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#bindableBoolean Also known as: bindable?

Specifies whether instances of the service can be bound to applications. Required. Corresponds to the JSON property bindable

Returns:

  • (Boolean)


519
520
521
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 519

def bindable
  @bindable
end

#binding_retrievableBoolean Also known as: binding_retrievable?

Whether the service provides an endpoint to get service bindings. Corresponds to the JSON property binding_retrievable

Returns:

  • (Boolean)


525
526
527
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 525

def binding_retrievable
  @binding_retrievable
end

#dashboard_clientGoogle::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

#descriptionString

Textual description of the service. Required. Corresponds to the JSON property description

Returns:

  • (String)


536
537
538
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 536

def description
  @description
end

#idString

ID is a globally unique identifier used to uniquely identify the service. ID is an opaque string. Corresponds to the JSON property id

Returns:

  • (String)


542
543
544
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 542

def id
  @id
end

#instance_retrievableBoolean Also known as: instance_retrievable?

Whether the service provides an endpoint to get service instances. Corresponds to the JSON property instance_retrievable

Returns:

  • (Boolean)


547
548
549
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 547

def instance_retrievable
  @instance_retrievable
end

#metadataHash<String,Object>

A list of metadata for a service offering. Metadata is an arbitrary JSON object. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


554
555
556
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 554

def 
  @metadata
end

#nameString

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

Returns:

  • (String)


564
565
566
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 564

def name
  @name
end

#plan_updateableBoolean Also known as: plan_updateable?

Whether the service supports upgrade/downgrade for some plans. Corresponds to the JSON property plan_updateable

Returns:

  • (Boolean)


569
570
571
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 569

def plan_updateable
  @plan_updateable
end

#plansArray<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

#tagsArray<String>

Tags provide a flexible mechanism to expose a classification, attribute, or base technology of a service. Corresponds to the JSON property tags

Returns:

  • (Array<String>)


582
583
584
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 582

def tags
  @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