Class: Google::Cloud::AssuredWorkloads::V1::AssuredWorkloadsService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb

Overview

Configuration RPC class for the AssuredWorkloadsService 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

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

RPC-specific configuration for acknowledge_violation

Returns:

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


1271
1272
1273
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1271

def acknowledge_violation
  @acknowledge_violation
end

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

RPC-specific configuration for create_workload

Returns:

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


1231
1232
1233
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1231

def create_workload
  @create_workload
end

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

RPC-specific configuration for delete_workload

Returns:

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


1246
1247
1248
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1246

def delete_workload
  @delete_workload
end

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

RPC-specific configuration for get_violation

Returns:

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


1266
1267
1268
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1266

def get_violation
  @get_violation
end

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

RPC-specific configuration for get_workload

Returns:

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


1251
1252
1253
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1251

def get_workload
  @get_workload
end

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

RPC-specific configuration for list_violations

Returns:

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


1261
1262
1263
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1261

def list_violations
  @list_violations
end

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

RPC-specific configuration for list_workloads

Returns:

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


1256
1257
1258
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1256

def list_workloads
  @list_workloads
end

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

RPC-specific configuration for restrict_allowed_resources

Returns:

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


1241
1242
1243
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1241

def restrict_allowed_resources
  @restrict_allowed_resources
end

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

RPC-specific configuration for update_workload

Returns:

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


1236
1237
1238
# File 'lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb', line 1236

def update_workload
  @update_workload
end