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)


950
951
952
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 950

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)


965
966
967
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 965

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)


955
956
957
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 955

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)


960
961
962
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 960

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)


975
976
977
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 975

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)


970
971
972
# File 'lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb', line 970

def update_persistent_resource
  @update_persistent_resource
end