Discovery Engine v1 API - Class ProjectServiceClientImpl (1.5.0)

public sealed class ProjectServiceClientImpl : ProjectServiceClient

Reference documentation and code samples for the Discovery Engine v1 API class ProjectServiceClientImpl.

ProjectService client wrapper implementation, for convenient use.

Inheritance

object > ProjectServiceClient > ProjectServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Remarks

Service for operations on the [Project][google.cloud.discoveryengine.v1.Project].

Constructors

ProjectServiceClientImpl(ProjectServiceClient, ProjectServiceSettings, ILogger)

public ProjectServiceClientImpl(ProjectService.ProjectServiceClient grpcClient, ProjectServiceSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient ProjectServiceProjectServiceClient

The underlying gRPC client.

settings ProjectServiceSettings

The base ProjectServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ProjectService.ProjectServiceClient GrpcClient { get; }

The underlying gRPC ProjectService client

Property Value
Type Description
ProjectServiceProjectServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

ProvisionProjectOperationsClient

public override OperationsClient ProvisionProjectOperationsClient { get; }

The long-running operations client for ProvisionProject.

Property Value
Type Description
OperationsClient
Overrides

Methods

ProvisionProject(ProvisionProjectRequest, CallSettings)

public override Operation<Project, ProvisionProjectMetadata> ProvisionProject(ProvisionProjectRequest request, CallSettings callSettings = null)

Provisions the project resource. During the process, related systems will get prepared and initialized.

Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.

Parameters
Name Description
request ProvisionProjectRequest

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
OperationProjectProvisionProjectMetadata

The RPC response.

Overrides

ProvisionProjectAsync(ProvisionProjectRequest, CallSettings)

public override Task<Operation<Project, ProvisionProjectMetadata>> ProvisionProjectAsync(ProvisionProjectRequest request, CallSettings callSettings = null)

Provisions the project resource. During the process, related systems will get prepared and initialized.

Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.

Parameters
Name Description
request ProvisionProjectRequest

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
TaskOperationProjectProvisionProjectMetadata

A Task containing the RPC response.

Overrides