Class: Google::Cloud::Dialogflow::V2::Agents::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/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

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

RPC-specific configuration for delete_agent

Returns:

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


1372
1373
1374
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1372

def delete_agent
  @delete_agent
end

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

RPC-specific configuration for export_agent

Returns:

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


1387
1388
1389
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1387

def export_agent
  @export_agent
end

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

RPC-specific configuration for get_agent

Returns:

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


1362
1363
1364
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1362

def get_agent
  @get_agent
end

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

RPC-specific configuration for get_validation_result

Returns:

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


1402
1403
1404
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1402

def get_validation_result
  @get_validation_result
end

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

RPC-specific configuration for import_agent

Returns:

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


1392
1393
1394
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1392

def import_agent
  @import_agent
end

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

RPC-specific configuration for restore_agent

Returns:

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


1397
1398
1399
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1397

def restore_agent
  @restore_agent
end

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

RPC-specific configuration for search_agents

Returns:

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


1377
1378
1379
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1377

def search_agents
  @search_agents
end

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

RPC-specific configuration for set_agent

Returns:

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


1367
1368
1369
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1367

def set_agent
  @set_agent
end

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

RPC-specific configuration for train_agent

Returns:

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


1382
1383
1384
# File 'lib/google/cloud/dialogflow/v2/agents/client.rb', line 1382

def train_agent
  @train_agent
end