Class: Google::Cloud::AIPlatform::V1::PersistentResourceService::Client::Configuration::Rpcs

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

Overview

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

RPC-specific configuration for create_persistent_resource

Returns:

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


984
985
986
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 984

def create_persistent_resource
  @create_persistent_resource
end

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

RPC-specific configuration for delete_persistent_resource

Returns:

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


999
1000
1001
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 999

def delete_persistent_resource
  @delete_persistent_resource
end

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

RPC-specific configuration for get_persistent_resource

Returns:

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


989
990
991
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 989

def get_persistent_resource
  @get_persistent_resource
end

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

RPC-specific configuration for list_persistent_resources

Returns:

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


994
995
996
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 994

def list_persistent_resources
  @list_persistent_resources
end

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

RPC-specific configuration for reboot_persistent_resource

Returns:

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


1009
1010
1011
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 1009

def reboot_persistent_resource
  @reboot_persistent_resource
end

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

RPC-specific configuration for update_persistent_resource

Returns:

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


1004
1005
1006
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 1004

def update_persistent_resource
  @update_persistent_resource
end