Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker

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

Broker represents a consumable collection of Service Registry catalogs exposed as an OSB Broker.

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) ⇒ GoogleCloudServicebrokerV1beta1Broker

Returns a new instance of GoogleCloudServicebrokerV1beta1Broker



132
133
134
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 132

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Timestamp for when the broker was created. Corresponds to the JSON property createTime

Returns:

  • (String)


109
110
111
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 109

def create_time
  @create_time
end

#nameString

Name of the broker in the format: //brokers/. This allows for multiple brokers per project which can be used to enable having custom brokers per GKE cluster, for example. Corresponds to the JSON property name

Returns:

  • (String)


117
118
119
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 117

def name
  @name
end

#titleString

User friendly title of the broker. Limited to 1024 characters. Requests with longer titles will be rejected. Corresponds to the JSON property title

Returns:

  • (String)


123
124
125
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 123

def title
  @title
end

#urlString

Output only. URL of the broker OSB-compliant endpoint, for example: https://servicebroker.googleapis.com/projects//brokers/ Corresponds to the JSON property url

Returns:

  • (String)


130
131
132
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 130

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



137
138
139
140
141
142
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 137

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @title = args[:title] if args.key?(:title)
  @url = args[:url] if args.key?(:url)
end