class Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig

Configuration for OIDC Auth flow.

Attributes

certificate_authority_data[RW]

PEM-encoded CA for OIDC provider. Corresponds to the JSON property `certificateAuthorityData` @return [String]

client_id[RW]

ID for OIDC client application. Corresponds to the JSON property `clientId` @return [String]

deploy_cloud_console_proxy[RW]

Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console. Corresponds to the JSON property `deployCloudConsoleProxy` @return [Boolean]

deploy_cloud_console_proxy?[RW]

Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console. Corresponds to the JSON property `deployCloudConsoleProxy` @return [Boolean]

extra_params[RW]

Comma-separated list of key-value pairs. Corresponds to the JSON property `extraParams` @return [String]

group_prefix[RW]

Prefix to prepend to group name. Corresponds to the JSON property `groupPrefix` @return [String]

groups_claim[RW]

Claim in OIDC ID token that holds group information. Corresponds to the JSON property `groupsClaim` @return [String]

issuer_uri[RW]

URI for the OIDC provider. This should point to the level below .well-known/ openid-configuration. Corresponds to the JSON property `issuerUri` @return [String]

kubectl_redirect_uri[RW]

Registered redirect uri to redirect users going through OAuth flow using kubectl plugin. Corresponds to the JSON property `kubectlRedirectUri` @return [String]

scopes[RW]

Comma-separated list of identifiers. Corresponds to the JSON property `scopes` @return [String]

user_claim[RW]

Claim in OIDC ID token that holds username. Corresponds to the JSON property `userClaim` @return [String]

user_prefix[RW]

Prefix to prepend to user name. Corresponds to the JSON property `userPrefix` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gkehub_v1alpha/classes.rb, line 1506
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1alpha/classes.rb, line 1511
def update!(**args)
  @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
  @client_id = args[:client_id] if args.key?(:client_id)
  @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
  @extra_params = args[:extra_params] if args.key?(:extra_params)
  @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
  @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
  @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
  @scopes = args[:scopes] if args.key?(:scopes)
  @user_claim = args[:user_claim] if args.key?(:user_claim)
  @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
end