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

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

Overview

Configuration RPC class for the NetworkFirewallPolicies 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_association::Gapic::Config::Method (readonly)

RPC-specific configuration for add_association

Returns:

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


1479
1480
1481
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1479

def add_association
  @add_association
end

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

RPC-specific configuration for add_rule

Returns:

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


1484
1485
1486
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1484

def add_rule
  @add_rule
end

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

RPC-specific configuration for clone_rules

Returns:

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


1489
1490
1491
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1489

def clone_rules
  @clone_rules
end

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

RPC-specific configuration for delete

Returns:

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


1494
1495
1496
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1494

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1499
1500
1501
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1499

def get
  @get
end

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

RPC-specific configuration for get_association

Returns:

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


1504
1505
1506
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1504

def get_association
  @get_association
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


1509
1510
1511
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1509

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_rule

Returns:

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


1514
1515
1516
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1514

def get_rule
  @get_rule
end

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

RPC-specific configuration for insert

Returns:

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


1519
1520
1521
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1519

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


1524
1525
1526
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1524

def list
  @list
end

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

RPC-specific configuration for patch

Returns:

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


1529
1530
1531
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1529

def patch
  @patch
end

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

RPC-specific configuration for patch_rule

Returns:

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


1534
1535
1536
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1534

def patch_rule
  @patch_rule
end

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

RPC-specific configuration for remove_association

Returns:

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


1539
1540
1541
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1539

def remove_association
  @remove_association
end

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

RPC-specific configuration for remove_rule

Returns:

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


1544
1545
1546
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1544

def remove_rule
  @remove_rule
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1549
1550
1551
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1549

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


1554
1555
1556
# File 'lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb', line 1554

def test_iam_permissions
  @test_iam_permissions
end