Class: Google::Cloud::Compute::V1::SecurityPolicies::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/compute/v1/security_policies/rest/client.rb

Overview

Configuration RPC class for the SecurityPolicies 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 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.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for add_rule

Returns:

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


1420
1421
1422
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1420

def add_rule
  @add_rule
end

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

RPC-specific configuration for aggregated_list

Returns:

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


1425
1426
1427
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1425

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for delete

Returns:

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


1430
1431
1432
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1430

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1435
1436
1437
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1435

def get
  @get
end

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

RPC-specific configuration for get_rule

Returns:

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


1440
1441
1442
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1440

def get_rule
  @get_rule
end

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

RPC-specific configuration for insert

Returns:

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


1445
1446
1447
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1445

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


1450
1451
1452
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1450

def list
  @list
end

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

RPC-specific configuration for list_preconfigured_expression_sets

Returns:

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


1455
1456
1457
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1455

def list_preconfigured_expression_sets
  @list_preconfigured_expression_sets
end

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

RPC-specific configuration for patch

Returns:

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


1460
1461
1462
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1460

def patch
  @patch
end

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

RPC-specific configuration for patch_rule

Returns:

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


1465
1466
1467
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1465

def patch_rule
  @patch_rule
end

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

RPC-specific configuration for remove_rule

Returns:

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


1470
1471
1472
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1470

def remove_rule
  @remove_rule
end

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

RPC-specific configuration for set_labels

Returns:

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


1475
1476
1477
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1475

def set_labels
  @set_labels
end