Cloud Private Catalog v1beta1 API - Class PrivateCatalog.PrivateCatalogClient (2.0.0-beta03)

public class PrivateCatalog.PrivateCatalogClient : ClientBase<PrivateCatalog.PrivateCatalogClient>

Reference documentation and code samples for the Cloud Private Catalog v1beta1 API class PrivateCatalog.PrivateCatalogClient.

Client for PrivateCatalog

Inheritance

object > ClientBase > ClientBasePrivateCatalogPrivateCatalogClient > PrivateCatalog.PrivateCatalogClient

Namespace

Google.Cloud.PrivateCatalog.V1Beta1

Assembly

Google.Cloud.PrivateCatalog.V1Beta1.dll

Constructors

PrivateCatalogClient()

protected PrivateCatalogClient()

Protected parameterless constructor to allow creation of test doubles.

PrivateCatalogClient(CallInvoker)

public PrivateCatalogClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

PrivateCatalogClient(ChannelBase)

public PrivateCatalogClient(ChannelBase channel)

Creates a new client for PrivateCatalog

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PrivateCatalogClient(ClientBaseConfiguration)

protected PrivateCatalogClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBaseConfiguration)

protected override PrivateCatalog.PrivateCatalogClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
PrivateCatalogPrivateCatalogClient
Overrides

SearchCatalogs(SearchCatalogsRequest, CallOptions)

public virtual SearchCatalogsResponse SearchCatalogs(SearchCatalogsRequest request, CallOptions options)

Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchCatalogsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchCatalogsResponse

The response received from the server.

SearchCatalogs(SearchCatalogsRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchCatalogsResponse SearchCatalogs(SearchCatalogsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchCatalogsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SearchCatalogsResponse

The response received from the server.

SearchCatalogsAsync(SearchCatalogsRequest, CallOptions)

public virtual AsyncUnaryCall<SearchCatalogsResponse> SearchCatalogsAsync(SearchCatalogsRequest request, CallOptions options)

Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchCatalogsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchCatalogsResponse

The call object.

SearchCatalogsAsync(SearchCatalogsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchCatalogsResponse> SearchCatalogsAsync(SearchCatalogsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchCatalogsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchCatalogsResponse

The call object.

SearchProducts(SearchProductsRequest, CallOptions)

public virtual SearchProductsResponse SearchProducts(SearchProductsRequest request, CallOptions options)

Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchProductsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchProductsResponse

The response received from the server.

SearchProducts(SearchProductsRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchProductsResponse SearchProducts(SearchProductsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchProductsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SearchProductsResponse

The response received from the server.

SearchProductsAsync(SearchProductsRequest, CallOptions)

public virtual AsyncUnaryCall<SearchProductsResponse> SearchProductsAsync(SearchProductsRequest request, CallOptions options)

Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchProductsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchProductsResponse

The call object.

SearchProductsAsync(SearchProductsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchProductsResponse> SearchProductsAsync(SearchProductsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchProductsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchProductsResponse

The call object.

SearchVersions(SearchVersionsRequest, CallOptions)

public virtual SearchVersionsResponse SearchVersions(SearchVersionsRequest request, CallOptions options)

Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchVersionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchVersionsResponse

The response received from the server.

SearchVersions(SearchVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchVersionsResponse SearchVersions(SearchVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchVersionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SearchVersionsResponse

The response received from the server.

SearchVersionsAsync(SearchVersionsRequest, CallOptions)

public virtual AsyncUnaryCall<SearchVersionsResponse> SearchVersionsAsync(SearchVersionsRequest request, CallOptions options)

Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchVersionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchVersionsResponse

The call object.

SearchVersionsAsync(SearchVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchVersionsResponse> SearchVersionsAsync(SearchVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchVersionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchVersionsResponse

The call object.