public class PrivateCatalogClient : ClientBase<PrivateCatalog.PrivateCatalogClient>
Client for PrivateCatalog
Inheritance
Object > ClientBase > ClientBase<PrivateCatalog.PrivateCatalogClient> > 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(ClientBase.ClientBaseConfiguration)
protected PrivateCatalogClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PrivateCatalog.PrivateCatalogClient |
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<SearchVersionsResponse> | The call object. |