API hub v1 API - Class ApiHubDependencies.ApiHubDependenciesClient (1.0.0-beta01)

public class ApiHubDependencies.ApiHubDependenciesClient : ClientBase<ApiHubDependencies.ApiHubDependenciesClient>

Reference documentation and code samples for the API hub v1 API class ApiHubDependencies.ApiHubDependenciesClient.

Client for ApiHubDependencies

Inheritance

object > ClientBase > ClientBaseApiHubDependenciesApiHubDependenciesClient > ApiHubDependencies.ApiHubDependenciesClient

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ApiHubDependenciesClient()

protected ApiHubDependenciesClient()

Protected parameterless constructor to allow creation of test doubles.

ApiHubDependenciesClient(CallInvoker)

public ApiHubDependenciesClient(CallInvoker callInvoker)

Creates a new client for ApiHubDependencies that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ApiHubDependenciesClient(ChannelBase)

public ApiHubDependenciesClient(ChannelBase channel)

Creates a new client for ApiHubDependencies

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ApiHubDependenciesClient(ClientBaseConfiguration)

protected ApiHubDependenciesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDependency(CreateDependencyRequest, CallOptions)

public virtual Dependency CreateDependency(CreateDependencyRequest request, CallOptions options)

Create a dependency between two entities in the API hub.

Parameters
Name Description
request CreateDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Dependency

The response received from the server.

CreateDependency(CreateDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual Dependency CreateDependency(CreateDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a dependency between two entities in the API hub.

Parameters
Name Description
request CreateDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Dependency

The response received from the server.

CreateDependencyAsync(CreateDependencyRequest, CallOptions)

public virtual AsyncUnaryCall<Dependency> CreateDependencyAsync(CreateDependencyRequest request, CallOptions options)

Create a dependency between two entities in the API hub.

Parameters
Name Description
request CreateDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDependency

The call object.

CreateDependencyAsync(CreateDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Dependency> CreateDependencyAsync(CreateDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a dependency between two entities in the API hub.

Parameters
Name Description
request CreateDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDependency

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.

DeleteDependency(DeleteDependencyRequest, CallOptions)

public virtual Empty DeleteDependency(DeleteDependencyRequest request, CallOptions options)

Delete the dependency resource.

Parameters
Name Description
request DeleteDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDependency(DeleteDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteDependency(DeleteDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete the dependency resource.

Parameters
Name Description
request DeleteDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDependencyAsync(DeleteDependencyRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDependencyAsync(DeleteDependencyRequest request, CallOptions options)

Delete the dependency resource.

Parameters
Name Description
request DeleteDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteDependencyAsync(DeleteDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDependencyAsync(DeleteDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete the dependency resource.

Parameters
Name Description
request DeleteDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetDependency(GetDependencyRequest, CallOptions)

public virtual Dependency GetDependency(GetDependencyRequest request, CallOptions options)

Get details about a dependency resource in the API hub.

Parameters
Name Description
request GetDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Dependency

The response received from the server.

GetDependency(GetDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual Dependency GetDependency(GetDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details about a dependency resource in the API hub.

Parameters
Name Description
request GetDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Dependency

The response received from the server.

GetDependencyAsync(GetDependencyRequest, CallOptions)

public virtual AsyncUnaryCall<Dependency> GetDependencyAsync(GetDependencyRequest request, CallOptions options)

Get details about a dependency resource in the API hub.

Parameters
Name Description
request GetDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDependency

The call object.

GetDependencyAsync(GetDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Dependency> GetDependencyAsync(GetDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details about a dependency resource in the API hub.

Parameters
Name Description
request GetDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDependency

The call object.

ListDependencies(ListDependenciesRequest, CallOptions)

public virtual ListDependenciesResponse ListDependencies(ListDependenciesRequest request, CallOptions options)

List dependencies based on the provided filter and pagination parameters.

Parameters
Name Description
request ListDependenciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDependenciesResponse

The response received from the server.

ListDependencies(ListDependenciesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDependenciesResponse ListDependencies(ListDependenciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List dependencies based on the provided filter and pagination parameters.

Parameters
Name Description
request ListDependenciesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDependenciesResponse

The response received from the server.

ListDependenciesAsync(ListDependenciesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDependenciesResponse> ListDependenciesAsync(ListDependenciesRequest request, CallOptions options)

List dependencies based on the provided filter and pagination parameters.

Parameters
Name Description
request ListDependenciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDependenciesResponse

The call object.

ListDependenciesAsync(ListDependenciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDependenciesResponse> ListDependenciesAsync(ListDependenciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List dependencies based on the provided filter and pagination parameters.

Parameters
Name Description
request ListDependenciesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDependenciesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ApiHubDependencies.ApiHubDependenciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ApiHubDependenciesApiHubDependenciesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.ApiHub.V1.ApiHubDependencies.ApiHubDependenciesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateDependency(UpdateDependencyRequest, CallOptions)

public virtual Dependency UpdateDependency(UpdateDependencyRequest request, CallOptions options)

Update a dependency based on the [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask] provided in the request.

The following fields in the [dependency][google.cloud.apihub.v1.Dependency] can be updated:

  • [description][google.cloud.apihub.v1.Dependency.description]
Parameters
Name Description
request UpdateDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Dependency

The response received from the server.

UpdateDependency(UpdateDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual Dependency UpdateDependency(UpdateDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update a dependency based on the [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask] provided in the request.

The following fields in the [dependency][google.cloud.apihub.v1.Dependency] can be updated:

  • [description][google.cloud.apihub.v1.Dependency.description]
Parameters
Name Description
request UpdateDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Dependency

The response received from the server.

UpdateDependencyAsync(UpdateDependencyRequest, CallOptions)

public virtual AsyncUnaryCall<Dependency> UpdateDependencyAsync(UpdateDependencyRequest request, CallOptions options)

Update a dependency based on the [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask] provided in the request.

The following fields in the [dependency][google.cloud.apihub.v1.Dependency] can be updated:

  • [description][google.cloud.apihub.v1.Dependency.description]
Parameters
Name Description
request UpdateDependencyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDependency

The call object.

UpdateDependencyAsync(UpdateDependencyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Dependency> UpdateDependencyAsync(UpdateDependencyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update a dependency based on the [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask] provided in the request.

The following fields in the [dependency][google.cloud.apihub.v1.Dependency] can be updated:

  • [description][google.cloud.apihub.v1.Dependency.description]
Parameters
Name Description
request UpdateDependencyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDependency

The call object.