Class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfig

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

Overview

EndUserAuthenticationConfig defines details of a authentication configuration for EUC

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndUserAuthenticationConfig

Returns a new instance of EndUserAuthenticationConfig.



2390
2391
2392
# File 'lib/google/apis/connectors_v1/classes.rb', line 2390

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

Instance Attribute Details

#additional_variablesArray<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>

Optional. List containing additional auth configs. Corresponds to the JSON property additionalVariables



2342
2343
2344
# File 'lib/google/apis/connectors_v1/classes.rb', line 2342

def additional_variables
  @additional_variables
end

#auth_keyString

Identifier key for auth config Corresponds to the JSON property authKey

Returns:

  • (String)


2347
2348
2349
# File 'lib/google/apis/connectors_v1/classes.rb', line 2347

def auth_key
  @auth_key
end

#auth_typeString

The type of authentication configured. Corresponds to the JSON property authType

Returns:

  • (String)


2352
2353
2354
# File 'lib/google/apis/connectors_v1/classes.rb', line 2352

def auth_type
  @auth_type
end

#oauth2_auth_code_flowGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow

Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https:// www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. Corresponds to the JSON property oauth2AuthCodeFlow



2358
2359
2360
# File 'lib/google/apis/connectors_v1/classes.rb', line 2358

def oauth2_auth_code_flow
  @oauth2_auth_code_flow
end

#oauth2_auth_code_flow_google_managedGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged

Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details. Corresponds to the JSON property oauth2AuthCodeFlowGoogleManaged



2365
2366
2367
# File 'lib/google/apis/connectors_v1/classes.rb', line 2365

def oauth2_auth_code_flow_google_managed
  @oauth2_auth_code_flow_google_managed
end

#oauth2_client_credentialsGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials

Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. Corresponds to the JSON property oauth2ClientCredentials



2371
2372
2373
# File 'lib/google/apis/connectors_v1/classes.rb', line 2371

def oauth2_client_credentials
  @oauth2_client_credentials
end

#oauth2_jwt_bearerGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer

Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. Corresponds to the JSON property oauth2JwtBearer



2378
2379
2380
# File 'lib/google/apis/connectors_v1/classes.rb', line 2378

def oauth2_jwt_bearer
  @oauth2_jwt_bearer
end

#ssh_public_keyGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey

Parameters to support Ssh public key Authentication. Corresponds to the JSON property sshPublicKey



2383
2384
2385
# File 'lib/google/apis/connectors_v1/classes.rb', line 2383

def ssh_public_key
  @ssh_public_key
end

#user_passwordGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword

Parameters to support Username and Password Authentication. Corresponds to the JSON property userPassword



2388
2389
2390
# File 'lib/google/apis/connectors_v1/classes.rb', line 2388

def user_password
  @user_password
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
# File 'lib/google/apis/connectors_v1/classes.rb', line 2395

def update!(**args)
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
  @auth_key = args[:auth_key] if args.key?(:auth_key)
  @auth_type = args[:auth_type] if args.key?(:auth_type)
  @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
  @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
  @user_password = args[:user_password] if args.key?(:user_password)
end