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.PrivateCatalogClientNamespace
Google.Cloud.PrivateCatalog.V1Beta1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
PrivateCatalogClient(ChannelBase)
public PrivateCatalogClient(ChannelBase channel)
Creates a new client for PrivateCatalog
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
PrivateCatalogClient(ClientBaseConfiguration)
protected PrivateCatalogClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
NewInstance(ClientBaseConfiguration)
protected override PrivateCatalog.PrivateCatalogClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PrivateCatalogPrivateCatalogClient |
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 | |
---|---|
Name | Description |
request | SearchCatalogsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchCatalogsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | SearchCatalogsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchCatalogsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | SearchProductsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchProductsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | SearchProductsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchProductsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | SearchVersionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchVersionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Name | Description |
request | SearchVersionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchVersionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallSearchVersionsResponse | The call object. |