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)


1388
1389
1390
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1388

def add_rule
  @add_rule
end

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

RPC-specific configuration for aggregated_list

Returns:

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


1393
1394
1395
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1393

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for delete

Returns:

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


1398
1399
1400
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1398

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1403
1404
1405
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1403

def get
  @get
end

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

RPC-specific configuration for get_rule

Returns:

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


1408
1409
1410
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1408

def get_rule
  @get_rule
end

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

RPC-specific configuration for insert

Returns:

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


1413
1414
1415
# File 'lib/google/cloud/compute/v1/security_policies/rest/client.rb', line 1413

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


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

def list
  @list
end

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

RPC-specific configuration for list_preconfigured_expression_sets

Returns:

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


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

def list_preconfigured_expression_sets
  @list_preconfigured_expression_sets
end

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

RPC-specific configuration for patch

Returns:

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


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

def patch
  @patch
end

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

RPC-specific configuration for patch_rule

Returns:

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


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

def patch_rule
  @patch_rule
end

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

RPC-specific configuration for remove_rule

Returns:

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


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

def remove_rule
  @remove_rule
end

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

RPC-specific configuration for set_labels

Returns:

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


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

def set_labels
  @set_labels
end