Discovery Engine v1beta API - Class ProjectServiceClientImpl (1.0.0-beta16)

public sealed class ProjectServiceClientImpl : ProjectServiceClient

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

ProjectService client wrapper implementation, for convenient use.

Inheritance

object > ProjectServiceClient > ProjectServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Remarks

Service for operations on the [Project][google.cloud.discoveryengine.v1beta.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