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



250
251
252
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 250

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)


237
238
239
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 237

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)


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

def redirect_uri
  @redirect_uri
end

#secretString

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

Returns:

  • (String)


248
249
250
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 248

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



255
256
257
258
259
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 255

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