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



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

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)


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

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)


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

def redirect_uri
  @redirect_uri
end

#secretString

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

Returns:

  • (String)


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

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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