Class: Google::Cloud::Dialogflow::CX::V3::Agents::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/cx/v3/agents/client.rb

Overview

Configuration RPC class for the Agents API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type Gapic::Config::Method and includes the following configuration fields:

  • timeout (type: Numeric) - The call timeout in seconds
  • metadata (type: Hash{Symbol=>String}) - Additional gRPC headers
  • retry_policy (*type:*Hash`) - The retry policy. The policy fields include the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for create_agent

Returns:

  • (::Gapic::Config::Method)


1494
1495
1496
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1494

def create_agent
  @create_agent
end

#delete_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_agent

Returns:

  • (::Gapic::Config::Method)


1504
1505
1506
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1504

def delete_agent
  @delete_agent
end

#export_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for export_agent

Returns:

  • (::Gapic::Config::Method)


1509
1510
1511
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1509

def export_agent
  @export_agent
end

#get_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for get_agent

Returns:

  • (::Gapic::Config::Method)


1489
1490
1491
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1489

def get_agent
  @get_agent
end

#get_agent_validation_result::Gapic::Config::Method (readonly)

RPC-specific configuration for get_agent_validation_result

Returns:

  • (::Gapic::Config::Method)


1524
1525
1526
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1524

def get_agent_validation_result
  @get_agent_validation_result
end

#get_generative_settings::Gapic::Config::Method (readonly)

RPC-specific configuration for get_generative_settings

Returns:

  • (::Gapic::Config::Method)


1529
1530
1531
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1529

def get_generative_settings
  @get_generative_settings
end

#list_agents::Gapic::Config::Method (readonly)

RPC-specific configuration for list_agents

Returns:

  • (::Gapic::Config::Method)


1484
1485
1486
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1484

def list_agents
  @list_agents
end

#restore_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for restore_agent

Returns:

  • (::Gapic::Config::Method)


1514
1515
1516
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1514

def restore_agent
  @restore_agent
end

#update_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for update_agent

Returns:

  • (::Gapic::Config::Method)


1499
1500
1501
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1499

def update_agent
  @update_agent
end

#update_generative_settings::Gapic::Config::Method (readonly)

RPC-specific configuration for update_generative_settings

Returns:

  • (::Gapic::Config::Method)


1534
1535
1536
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1534

def update_generative_settings
  @update_generative_settings
end

#validate_agent::Gapic::Config::Method (readonly)

RPC-specific configuration for validate_agent

Returns:

  • (::Gapic::Config::Method)


1519
1520
1521
# File 'lib/google/cloud/dialogflow/cx/v3/agents/client.rb', line 1519

def validate_agent
  @validate_agent
end