Class: Google::Apis::CesV1::EndUserAuthConfig

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

Overview

End-user authentication configuration used for Connection calls. The field values must be the names of context variables in the format $context. variables..

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndUserAuthConfig

Returns a new instance of EndUserAuthConfig.



2584
2585
2586
# File 'lib/google/apis/ces_v1/classes.rb', line 2584

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

Instance Attribute Details

#oauth2_auth_code_configGoogle::Apis::CesV1::EndUserAuthConfigOauth2AuthCodeConfig

Oauth 2.0 Authorization Code authentication configuration. Corresponds to the JSON property oauth2AuthCodeConfig



2577
2578
2579
# File 'lib/google/apis/ces_v1/classes.rb', line 2577

def oauth2_auth_code_config
  @oauth2_auth_code_config
end

#oauth2_jwt_bearer_configGoogle::Apis::CesV1::EndUserAuthConfigOauth2JwtBearerConfig

JWT Profile Oauth 2.0 Authorization Grant authentication configuration. Corresponds to the JSON property oauth2JwtBearerConfig



2582
2583
2584
# File 'lib/google/apis/ces_v1/classes.rb', line 2582

def oauth2_jwt_bearer_config
  @oauth2_jwt_bearer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2589
2590
2591
2592
# File 'lib/google/apis/ces_v1/classes.rb', line 2589

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