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.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
ProvisionProjectOperationsClient
public override OperationsClient ProvisionProjectOperationsClient { get; }
The long-running operations client for ProvisionProject
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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. |
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. |