Class PrivateCatalog.PrivateCatalogClient (1.0.0-beta02)

public class PrivateCatalogClient : ClientBase<PrivateCatalog.PrivateCatalogClient>

Client for PrivateCatalog

Inheritance

Object > ClientBase > ClientBase<PrivateCatalog.PrivateCatalogClient> > 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(ClientBase.ClientBaseConfiguration)

protected PrivateCatalogClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
PrivateCatalog.PrivateCatalogClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.PrivateCatalog.V1Beta1.PrivateCatalog.PrivateCatalogClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchCatalogsResponse>

The call object.

SearchCatalogsAsync(SearchCatalogsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchCatalogsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchProductsResponse>

The call object.

SearchProductsAsync(SearchProductsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchProductsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchVersionsResponse>

The call object.

SearchVersionsAsync(SearchVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchVersionsResponse>

The call object.