Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

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


626
627
628
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 626

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)


632
633
634
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 632

def binding_retrievable
  @binding_retrievable
end

#bindings_retrievableBoolean Also known as: bindings_retrievable?

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

Returns:

  • (Boolean)


638
639
640
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 638

def bindings_retrievable
  @bindings_retrievable
end

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

#descriptionString

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

Returns:

  • (String)


649
650
651
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 649

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)


655
656
657
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 655

def id
  @id
end

#instances_retrievableBoolean Also known as: instances_retrievable?

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

Returns:

  • (Boolean)


660
661
662
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 660

def instances_retrievable
  @instances_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>)


667
668
669
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 667

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)


677
678
679
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 677

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)


682
683
684
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 682

def plan_updateable
  @plan_updateable
end

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

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


695
696
697
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 695

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