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.



12897
12898
12899
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12897

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

Instance Attribute Details

#oauth2_auth_code_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig

Corresponds to the JSON property oauth2AuthCodeConfig



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

def oauth2_auth_code_config
  @oauth2_auth_code_config
end

#oauth2_jwt_bearer_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig

Corresponds to the JSON property oauth2JwtBearerConfig



12895
12896
12897
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12895

def oauth2_jwt_bearer_config
  @oauth2_jwt_bearer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12902
12903
12904
12905
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12902

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