Class: Google::Apis::GkehubV2alpha::IdentityServiceSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb

Overview

IdentityService: Configuration for a single membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentityServiceSpec

Returns a new instance of IdentityServiceSpec.



2181
2182
2183
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2181

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

Instance Attribute Details

#auth_methodsArray<Google::Apis::GkehubV2alpha::IdentityServiceAuthMethod>

A member may support multiple auth methods. Corresponds to the JSON property authMethods



2174
2175
2176
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2174

def auth_methods
  @auth_methods
end

#identity_service_optionsGoogle::Apis::GkehubV2alpha::IdentityServiceIdentityServiceOptions

Holds non-protocol-related configuration options. Corresponds to the JSON property identityServiceOptions



2179
2180
2181
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2179

def identity_service_options
  @identity_service_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2186
2187
2188
2189
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2186

def update!(**args)
  @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
  @identity_service_options = args[:identity_service_options] if args.key?(:identity_service_options)
end