Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1DashboardClient

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

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

Returns a new instance of GoogleCloudServicebrokerV1alpha1DashboardClient



187
188
189
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 187

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)


174
175
176
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 174

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)


180
181
182
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 180

def redirect_uri
  @redirect_uri
end

#secretString

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

Returns:

  • (String)


185
186
187
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 185

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



192
193
194
195
196
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 192

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