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.



2751
2752
2753
# File 'lib/google/apis/ces_v1/classes.rb', line 2751

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



2744
2745
2746
# File 'lib/google/apis/ces_v1/classes.rb', line 2744

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



2749
2750
2751
# File 'lib/google/apis/ces_v1/classes.rb', line 2749

def oauth2_jwt_bearer_config
  @oauth2_jwt_bearer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2756
2757
2758
2759
# File 'lib/google/apis/ces_v1/classes.rb', line 2756

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