Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient

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

Message containing information required to activate Dashboard SSO feature.

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

Returns a new instance of GoogleCloudServicebrokerV1beta1DashboardClient



246
247
248
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 246

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

Instance Attribute Details

#idString

The id of the Oauth client that the dashboard will use. Corresponds to the JSON property id

Returns:

  • (String)


233
234
235
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 233

def id
  @id
end

#redirect_uriString

A URI for the service dashboard. Validated by the OAuth token server when the dashboard requests a token. Corresponds to the JSON property redirect_uri

Returns:

  • (String)


239
240
241
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 239

def redirect_uri
  @redirect_uri
end

#secretString

A secret for the dashboard client. Corresponds to the JSON property secret

Returns:

  • (String)


244
245
246
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 244

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



251
252
253
254
255
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 251

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
  @secret = args[:secret] if args.key?(:secret)
end