Cloud AI Platform v1 API - Class PersistentResourceServiceClientImpl (3.8.0)

public sealed class PersistentResourceServiceClientImpl : PersistentResourceServiceClient

Reference documentation and code samples for the Cloud AI Platform v1 API class PersistentResourceServiceClientImpl.

PersistentResourceService client wrapper implementation, for convenient use.

Inheritance

object > PersistentResourceServiceClient > PersistentResourceServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

A service for managing Vertex AI's machine learning PersistentResource.

Constructors

PersistentResourceServiceClientImpl(PersistentResourceServiceClient, PersistentResourceServiceSettings, ILogger)

public PersistentResourceServiceClientImpl(PersistentResourceService.PersistentResourceServiceClient grpcClient, PersistentResourceServiceSettings settings, ILogger logger)

Constructs a client wrapper for the PersistentResourceService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient PersistentResourceServicePersistentResourceServiceClient

The underlying gRPC client.

settings PersistentResourceServiceSettings

The base PersistentResourceServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreatePersistentResourceOperationsClient

public override OperationsClient CreatePersistentResourceOperationsClient { get; }

The long-running operations client for CreatePersistentResource.

Property Value
Type Description
OperationsClient
Overrides

DeletePersistentResourceOperationsClient

public override OperationsClient DeletePersistentResourceOperationsClient { get; }

The long-running operations client for DeletePersistentResource.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override PersistentResourceService.PersistentResourceServiceClient GrpcClient { get; }

The underlying gRPC PersistentResourceService client

Property Value
Type Description
PersistentResourceServicePersistentResourceServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

RebootPersistentResourceOperationsClient

public override OperationsClient RebootPersistentResourceOperationsClient { get; }

The long-running operations client for RebootPersistentResource.

Property Value
Type Description
OperationsClient
Overrides

UpdatePersistentResourceOperationsClient

public override OperationsClient UpdatePersistentResourceOperationsClient { get; }

The long-running operations client for UpdatePersistentResource.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreatePersistentResource(CreatePersistentResourceRequest, CallSettings)

public override Operation<PersistentResource, CreatePersistentResourceOperationMetadata> CreatePersistentResource(CreatePersistentResourceRequest request, CallSettings callSettings = null)

Creates a PersistentResource.

Parameters
Name Description
request CreatePersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPersistentResourceCreatePersistentResourceOperationMetadata

The RPC response.

Overrides

CreatePersistentResourceAsync(CreatePersistentResourceRequest, CallSettings)

public override Task<Operation<PersistentResource, CreatePersistentResourceOperationMetadata>> CreatePersistentResourceAsync(CreatePersistentResourceRequest request, CallSettings callSettings = null)

Creates a PersistentResource.

Parameters
Name Description
request CreatePersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPersistentResourceCreatePersistentResourceOperationMetadata

A Task containing the RPC response.

Overrides

DeletePersistentResource(DeletePersistentResourceRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeletePersistentResource(DeletePersistentResourceRequest request, CallSettings callSettings = null)

Deletes a PersistentResource.

Parameters
Name Description
request DeletePersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

DeletePersistentResourceAsync(DeletePersistentResourceRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeletePersistentResourceAsync(DeletePersistentResourceRequest request, CallSettings callSettings = null)

Deletes a PersistentResource.

Parameters
Name Description
request DeletePersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

GetPersistentResource(GetPersistentResourceRequest, CallSettings)

public override PersistentResource GetPersistentResource(GetPersistentResourceRequest request, CallSettings callSettings = null)

Gets a PersistentResource.

Parameters
Name Description
request GetPersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PersistentResource

The RPC response.

Overrides

GetPersistentResourceAsync(GetPersistentResourceRequest, CallSettings)

public override Task<PersistentResource> GetPersistentResourceAsync(GetPersistentResourceRequest request, CallSettings callSettings = null)

Gets a PersistentResource.

Parameters
Name Description
request GetPersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPersistentResource

A Task containing the RPC response.

Overrides

ListPersistentResources(ListPersistentResourcesRequest, CallSettings)

public override PagedEnumerable<ListPersistentResourcesResponse, PersistentResource> ListPersistentResources(ListPersistentResourcesRequest request, CallSettings callSettings = null)

Lists PersistentResources in a Location.

Parameters
Name Description
request ListPersistentResourcesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPersistentResourcesResponsePersistentResource

A pageable sequence of PersistentResource resources.

Overrides

ListPersistentResourcesAsync(ListPersistentResourcesRequest, CallSettings)

public override PagedAsyncEnumerable<ListPersistentResourcesResponse, PersistentResource> ListPersistentResourcesAsync(ListPersistentResourcesRequest request, CallSettings callSettings = null)

Lists PersistentResources in a Location.

Parameters
Name Description
request ListPersistentResourcesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPersistentResourcesResponsePersistentResource

A pageable asynchronous sequence of PersistentResource resources.

Overrides

RebootPersistentResource(RebootPersistentResourceRequest, CallSettings)

public override Operation<PersistentResource, RebootPersistentResourceOperationMetadata> RebootPersistentResource(RebootPersistentResourceRequest request, CallSettings callSettings = null)

Reboots a PersistentResource.

Parameters
Name Description
request RebootPersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPersistentResourceRebootPersistentResourceOperationMetadata

The RPC response.

Overrides

RebootPersistentResourceAsync(RebootPersistentResourceRequest, CallSettings)

public override Task<Operation<PersistentResource, RebootPersistentResourceOperationMetadata>> RebootPersistentResourceAsync(RebootPersistentResourceRequest request, CallSettings callSettings = null)

Reboots a PersistentResource.

Parameters
Name Description
request RebootPersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPersistentResourceRebootPersistentResourceOperationMetadata

A Task containing the RPC response.

Overrides

UpdatePersistentResource(UpdatePersistentResourceRequest, CallSettings)

public override Operation<PersistentResource, UpdatePersistentResourceOperationMetadata> UpdatePersistentResource(UpdatePersistentResourceRequest request, CallSettings callSettings = null)

Updates a PersistentResource.

Parameters
Name Description
request UpdatePersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPersistentResourceUpdatePersistentResourceOperationMetadata

The RPC response.

Overrides

UpdatePersistentResourceAsync(UpdatePersistentResourceRequest, CallSettings)

public override Task<Operation<PersistentResource, UpdatePersistentResourceOperationMetadata>> UpdatePersistentResourceAsync(UpdatePersistentResourceRequest request, CallSettings callSettings = null)

Updates a PersistentResource.

Parameters
Name Description
request UpdatePersistentResourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPersistentResourceUpdatePersistentResourceOperationMetadata

A Task containing the RPC response.

Overrides