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.



2868
2869
2870
# File 'lib/google/apis/ces_v1/classes.rb', line 2868

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



2861
2862
2863
# File 'lib/google/apis/ces_v1/classes.rb', line 2861

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



2866
2867
2868
# File 'lib/google/apis/ces_v1/classes.rb', line 2866

def oauth2_jwt_bearer_config
  @oauth2_jwt_bearer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2873
2874
2875
2876
# File 'lib/google/apis/ces_v1/classes.rb', line 2873

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