public sealed class ProvisioningClientImpl : ProvisioningClientReference documentation and code samples for the API hub v1 API class ProvisioningClientImpl.
Provisioning client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Remarks
This service is used for managing the data plane provisioning of the API hub.
Constructors
ProvisioningClientImpl(ProvisioningClient, ProvisioningSettings, ILogger)
public ProvisioningClientImpl(Provisioning.ProvisioningClient grpcClient, ProvisioningSettings settings, ILogger logger)Constructs a client wrapper for the Provisioning service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ProvisioningProvisioningClientThe underlying gRPC client. |
settings |
ProvisioningSettingsThe base ProvisioningSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateApiHubInstanceOperationsClient
public override OperationsClient CreateApiHubInstanceOperationsClient { get; }The long-running operations client for CreateApiHubInstance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteApiHubInstanceOperationsClient
public override OperationsClient DeleteApiHubInstanceOperationsClient { get; }The long-running operations client for DeleteApiHubInstance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override Provisioning.ProvisioningClient GrpcClient { get; }The underlying gRPC Provisioning client
| Property Value | |
|---|---|
| Type | Description |
ProvisioningProvisioningClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateApiHubInstance(CreateApiHubInstanceRequest, CallSettings)
public override Operation<ApiHubInstance, OperationMetadata> CreateApiHubInstance(CreateApiHubInstanceRequest request, CallSettings callSettings = null)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationApiHubInstanceOperationMetadata |
The RPC response. |
CreateApiHubInstanceAsync(CreateApiHubInstanceRequest, CallSettings)
public override Task<Operation<ApiHubInstance, OperationMetadata>> CreateApiHubInstanceAsync(CreateApiHubInstanceRequest request, CallSettings callSettings = null)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationApiHubInstanceOperationMetadata |
A Task containing the RPC response. |
DeleteApiHubInstance(DeleteApiHubInstanceRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteApiHubInstance(DeleteApiHubInstanceRequest request, CallSettings callSettings = null)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteApiHubInstanceAsync(DeleteApiHubInstanceRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteApiHubInstanceAsync(DeleteApiHubInstanceRequest request, CallSettings callSettings = null)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetApiHubInstance(GetApiHubInstanceRequest, CallSettings)
public override ApiHubInstance GetApiHubInstance(GetApiHubInstanceRequest request, CallSettings callSettings = null)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApiHubInstance |
The RPC response. |
GetApiHubInstanceAsync(GetApiHubInstanceRequest, CallSettings)
public override Task<ApiHubInstance> GetApiHubInstanceAsync(GetApiHubInstanceRequest request, CallSettings callSettings = null)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApiHubInstance |
A Task containing the RPC response. |
LookupApiHubInstance(LookupApiHubInstanceRequest, CallSettings)
public override LookupApiHubInstanceResponse LookupApiHubInstance(LookupApiHubInstanceRequest request, CallSettings callSettings = null)Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LookupApiHubInstanceResponse |
The RPC response. |
LookupApiHubInstanceAsync(LookupApiHubInstanceRequest, CallSettings)
public override Task<LookupApiHubInstanceResponse> LookupApiHubInstanceAsync(LookupApiHubInstanceRequest request, CallSettings callSettings = null)Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupApiHubInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLookupApiHubInstanceResponse |
A Task containing the RPC response. |