public class Provisioning.ProvisioningClient : ClientBase<Provisioning.ProvisioningClient>Reference documentation and code samples for the API hub v1 API class Provisioning.ProvisioningClient.
Client for Provisioning
Inheritance
object > ClientBase > ClientBaseProvisioningProvisioningClient > Provisioning.ProvisioningClientNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
ProvisioningClient()
protected ProvisioningClient()Protected parameterless constructor to allow creation of test doubles.
ProvisioningClient(CallInvoker)
public ProvisioningClient(CallInvoker callInvoker)Creates a new client for Provisioning that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ProvisioningClient(ChannelBase)
public ProvisioningClient(ChannelBase channel)Creates a new client for Provisioning
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ProvisioningClient(ClientBaseConfiguration)
protected ProvisioningClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateApiHubInstance(CreateApiHubInstanceRequest, CallOptions)
public virtual Operation CreateApiHubInstance(CreateApiHubInstanceRequest request, CallOptions options)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateApiHubInstance(CreateApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateApiHubInstance(CreateApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateApiHubInstanceAsync(CreateApiHubInstanceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateApiHubInstanceAsync(CreateApiHubInstanceRequest request, CallOptions options)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateApiHubInstanceAsync(CreateApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateApiHubInstanceAsync(CreateApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Provisions instance resources for the API Hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApiHubInstanceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteApiHubInstance(DeleteApiHubInstanceRequest, CallOptions)
public virtual Operation DeleteApiHubInstance(DeleteApiHubInstanceRequest request, CallOptions options)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteApiHubInstance(DeleteApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteApiHubInstance(DeleteApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteApiHubInstanceAsync(DeleteApiHubInstanceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteApiHubInstanceAsync(DeleteApiHubInstanceRequest request, CallOptions options)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteApiHubInstanceAsync(DeleteApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteApiHubInstanceAsync(DeleteApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the API hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApiHubInstanceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetApiHubInstance(GetApiHubInstanceRequest, CallOptions)
public virtual ApiHubInstance GetApiHubInstance(GetApiHubInstanceRequest request, CallOptions options)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ApiHubInstance |
The response received from the server. |
GetApiHubInstance(GetApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual ApiHubInstance GetApiHubInstance(GetApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ApiHubInstance |
The response received from the server. |
GetApiHubInstanceAsync(GetApiHubInstanceRequest, CallOptions)
public virtual AsyncUnaryCall<ApiHubInstance> GetApiHubInstanceAsync(GetApiHubInstanceRequest request, CallOptions options)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallApiHubInstance |
The call object. |
GetApiHubInstanceAsync(GetApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ApiHubInstance> GetApiHubInstanceAsync(GetApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single API Hub instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApiHubInstanceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallApiHubInstance |
The call object. |
LookupApiHubInstance(LookupApiHubInstanceRequest, CallOptions)
public virtual LookupApiHubInstanceResponse LookupApiHubInstance(LookupApiHubInstanceRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LookupApiHubInstanceResponse |
The response received from the server. |
LookupApiHubInstance(LookupApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual LookupApiHubInstanceResponse LookupApiHubInstance(LookupApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LookupApiHubInstanceResponse |
The response received from the server. |
LookupApiHubInstanceAsync(LookupApiHubInstanceRequest, CallOptions)
public virtual AsyncUnaryCall<LookupApiHubInstanceResponse> LookupApiHubInstanceAsync(LookupApiHubInstanceRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLookupApiHubInstanceResponse |
The call object. |
LookupApiHubInstanceAsync(LookupApiHubInstanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LookupApiHubInstanceResponse> LookupApiHubInstanceAsync(LookupApiHubInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLookupApiHubInstanceResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override Provisioning.ProvisioningClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ProvisioningProvisioningClient |
|