public sealed class ProvisioningClientImpl : ProvisioningClient
Reference 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 |
ProvisioningProvisioningClient The underlying gRPC client. |
settings |
ProvisioningSettings The base ProvisioningSettings used within this client. |
logger |
ILogger Optional 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 |
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 |
CreateApiHubInstanceRequest 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 |
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 |
CreateApiHubInstanceRequest 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 |
TaskOperationApiHubInstanceOperationMetadata |
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 |
GetApiHubInstanceRequest 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 |
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 |
GetApiHubInstanceRequest 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 |
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 |
LookupApiHubInstanceRequest 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 |
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 |
LookupApiHubInstanceRequest 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 |
TaskLookupApiHubInstanceResponse |
A Task containing the RPC response. |