Class: Google::Cloud::OrgPolicy::V2::OrgPolicy::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/org_policy/v2/org_policy/client.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for create_custom_constraint

Returns:

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


1607
1608
1609
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1607

def create_custom_constraint
  @create_custom_constraint
end

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

RPC-specific configuration for create_policy

Returns:

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


1592
1593
1594
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1592

def create_policy
  @create_policy
end

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

RPC-specific configuration for delete_custom_constraint

Returns:

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


1627
1628
1629
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1627

def delete_custom_constraint
  @delete_custom_constraint
end

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

RPC-specific configuration for delete_policy

Returns:

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


1602
1603
1604
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1602

def delete_policy
  @delete_policy
end

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

RPC-specific configuration for get_custom_constraint

Returns:

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


1617
1618
1619
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1617

def get_custom_constraint
  @get_custom_constraint
end

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

RPC-specific configuration for get_effective_policy

Returns:

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


1587
1588
1589
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1587

def get_effective_policy
  @get_effective_policy
end

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

RPC-specific configuration for get_policy

Returns:

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


1582
1583
1584
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1582

def get_policy
  @get_policy
end

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

RPC-specific configuration for list_constraints

Returns:

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


1572
1573
1574
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1572

def list_constraints
  @list_constraints
end

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

RPC-specific configuration for list_custom_constraints

Returns:

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


1622
1623
1624
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1622

def list_custom_constraints
  @list_custom_constraints
end

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

RPC-specific configuration for list_policies

Returns:

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


1577
1578
1579
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1577

def list_policies
  @list_policies
end

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

RPC-specific configuration for update_custom_constraint

Returns:

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


1612
1613
1614
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1612

def update_custom_constraint
  @update_custom_constraint
end

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

RPC-specific configuration for update_policy

Returns:

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


1597
1598
1599
# File 'lib/google/cloud/org_policy/v2/org_policy/client.rb', line 1597

def update_policy
  @update_policy
end