Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorTool

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) ⇒ GoogleCloudDialogflowCxV3beta1ToolConnectorTool

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolConnectorTool.



12759
12760
12761
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12759

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction>

Corresponds to the JSON property actions



12747
12748
12749
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12747

def actions
  @actions
end

#end_user_auth_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig

Corresponds to the JSON property endUserAuthConfig



12752
12753
12754
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12752

def end_user_auth_config
  @end_user_auth_config
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12757
12758
12759
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12757

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12764
12765
12766
12767
12768
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12764

def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @end_user_auth_config = args[:end_user_auth_config] if args.key?(:end_user_auth_config)
  @name = args[:name] if args.key?(:name)
end