Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig

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

Overview

End-user authentication configuration used for Connection calls. The field values can either be hardcoded authentication values or the names of session parameters or request parameters. If parameter names are provided, then those parameters can be used to pass the authentication values dynamically, through $session.params.param-id or $request.payload.param-id.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig.



14712
14713
14714
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14712

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

Instance Attribute Details

#oauth2_auth_code_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig

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



14705
14706
14707
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14705

def oauth2_auth_code_config
  @oauth2_auth_code_config
end

#oauth2_jwt_bearer_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig

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



14710
14711
14712
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14710

def oauth2_jwt_bearer_config
  @oauth2_jwt_bearer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14717
14718
14719
14720
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14717

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