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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig.



12885
12886
12887
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12885

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

Instance Attribute Details

#oauth2_auth_code_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig

Corresponds to the JSON property oauth2AuthCodeConfig



12878
12879
12880
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12878

def oauth2_auth_code_config
  @oauth2_auth_code_config
end

#oauth2_jwt_bearer_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig

Corresponds to the JSON property oauth2JwtBearerConfig



12883
12884
12885
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12883

def oauth2_jwt_bearer_config
  @oauth2_jwt_bearer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12890
12891
12892
12893
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12890

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