public class CloudProductRegistryReadService.CloudProductRegistryReadServiceClient : ClientBase<CloudProductRegistryReadService.CloudProductRegistryReadServiceClient>Reference documentation and code samples for the Cloud Product Registry v1 API class CloudProductRegistryReadService.CloudProductRegistryReadServiceClient.
Client for CloudProductRegistryReadService
Inheritance
object > ClientBase > ClientBaseCloudProductRegistryReadServiceCloudProductRegistryReadServiceClient > CloudProductRegistryReadService.CloudProductRegistryReadServiceClientNamespace
Google.Cloud.ProductRegistry.V1Assembly
Google.Cloud.ProductRegistry.V1.dll
Constructors
CloudProductRegistryReadServiceClient()
protected CloudProductRegistryReadServiceClient()Protected parameterless constructor to allow creation of test doubles.
CloudProductRegistryReadServiceClient(CallInvoker)
public CloudProductRegistryReadServiceClient(CallInvoker callInvoker)Creates a new client for CloudProductRegistryReadService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
CloudProductRegistryReadServiceClient(ChannelBase)
public CloudProductRegistryReadServiceClient(ChannelBase channel)Creates a new client for CloudProductRegistryReadService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
CloudProductRegistryReadServiceClient(ClientBaseConfiguration)
protected CloudProductRegistryReadServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
GetLogicalProduct(GetLogicalProductRequest, CallOptions)
public virtual LogicalProduct GetLogicalProduct(GetLogicalProductRequest request, CallOptions options)Gets details of a LogicalProduct.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LogicalProduct |
The response received from the server. |
GetLogicalProduct(GetLogicalProductRequest, Metadata, DateTime?, CancellationToken)
public virtual LogicalProduct GetLogicalProduct(GetLogicalProductRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a LogicalProduct.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LogicalProduct |
The response received from the server. |
GetLogicalProductAsync(GetLogicalProductRequest, CallOptions)
public virtual AsyncUnaryCall<LogicalProduct> GetLogicalProductAsync(GetLogicalProductRequest request, CallOptions options)Gets details of a LogicalProduct.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLogicalProduct |
The call object. |
GetLogicalProductAsync(GetLogicalProductRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LogicalProduct> GetLogicalProductAsync(GetLogicalProductRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a LogicalProduct.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLogicalProduct |
The call object. |
GetLogicalProductVariant(GetLogicalProductVariantRequest, CallOptions)
public virtual LogicalProductVariant GetLogicalProductVariant(GetLogicalProductVariantRequest request, CallOptions options)Get details of a LogicalProductVariant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductVariantRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LogicalProductVariant |
The response received from the server. |
GetLogicalProductVariant(GetLogicalProductVariantRequest, Metadata, DateTime?, CancellationToken)
public virtual LogicalProductVariant GetLogicalProductVariant(GetLogicalProductVariantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get details of a LogicalProductVariant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductVariantRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LogicalProductVariant |
The response received from the server. |
GetLogicalProductVariantAsync(GetLogicalProductVariantRequest, CallOptions)
public virtual AsyncUnaryCall<LogicalProductVariant> GetLogicalProductVariantAsync(GetLogicalProductVariantRequest request, CallOptions options)Get details of a LogicalProductVariant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductVariantRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLogicalProductVariant |
The call object. |
GetLogicalProductVariantAsync(GetLogicalProductVariantRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LogicalProductVariant> GetLogicalProductVariantAsync(GetLogicalProductVariantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get details of a LogicalProductVariant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLogicalProductVariantRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLogicalProductVariant |
The call object. |
GetProductSuite(GetProductSuiteRequest, CallOptions)
public virtual ProductSuite GetProductSuite(GetProductSuiteRequest request, CallOptions options)Get details of a ProductSuite.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProductSuiteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ProductSuite |
The response received from the server. |
GetProductSuite(GetProductSuiteRequest, Metadata, DateTime?, CancellationToken)
public virtual ProductSuite GetProductSuite(GetProductSuiteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get details of a ProductSuite.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProductSuiteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ProductSuite |
The response received from the server. |
GetProductSuiteAsync(GetProductSuiteRequest, CallOptions)
public virtual AsyncUnaryCall<ProductSuite> GetProductSuiteAsync(GetProductSuiteRequest request, CallOptions options)Get details of a ProductSuite.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProductSuiteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallProductSuite |
The call object. |
GetProductSuiteAsync(GetProductSuiteRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ProductSuite> GetProductSuiteAsync(GetProductSuiteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get details of a ProductSuite.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProductSuiteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallProductSuite |
The call object. |
ListLogicalProductVariants(ListLogicalProductVariantsRequest, CallOptions)
public virtual ListLogicalProductVariantsResponse ListLogicalProductVariants(ListLogicalProductVariantsRequest request, CallOptions options)Lists LogicalProductVariants matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductVariantsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsResponse |
The response received from the server. |
ListLogicalProductVariants(ListLogicalProductVariantsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListLogicalProductVariantsResponse ListLogicalProductVariants(ListLogicalProductVariantsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists LogicalProductVariants matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductVariantsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsResponse |
The response received from the server. |
ListLogicalProductVariantsAsync(ListLogicalProductVariantsRequest, CallOptions)
public virtual AsyncUnaryCall<ListLogicalProductVariantsResponse> ListLogicalProductVariantsAsync(ListLogicalProductVariantsRequest request, CallOptions options)Lists LogicalProductVariants matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductVariantsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListLogicalProductVariantsResponse |
The call object. |
ListLogicalProductVariantsAsync(ListLogicalProductVariantsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListLogicalProductVariantsResponse> ListLogicalProductVariantsAsync(ListLogicalProductVariantsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists LogicalProductVariants matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductVariantsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListLogicalProductVariantsResponse |
The call object. |
ListLogicalProducts(ListLogicalProductsRequest, CallOptions)
public virtual ListLogicalProductsResponse ListLogicalProducts(ListLogicalProductsRequest request, CallOptions options)Lists LogicalProducts matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse |
The response received from the server. |
ListLogicalProducts(ListLogicalProductsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListLogicalProductsResponse ListLogicalProducts(ListLogicalProductsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists LogicalProducts matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse |
The response received from the server. |
ListLogicalProductsAsync(ListLogicalProductsRequest, CallOptions)
public virtual AsyncUnaryCall<ListLogicalProductsResponse> ListLogicalProductsAsync(ListLogicalProductsRequest request, CallOptions options)Lists LogicalProducts matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListLogicalProductsResponse |
The call object. |
ListLogicalProductsAsync(ListLogicalProductsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListLogicalProductsResponse> ListLogicalProductsAsync(ListLogicalProductsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists LogicalProducts matching given criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLogicalProductsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListLogicalProductsResponse |
The call object. |
ListProductSuites(ListProductSuitesRequest, CallOptions)
public virtual ListProductSuitesResponse ListProductSuites(ListProductSuitesRequest request, CallOptions options)Lists ProductSuites.
| Parameters | |
|---|---|
| Name | Description |
request |
ListProductSuitesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListProductSuitesResponse |
The response received from the server. |
ListProductSuites(ListProductSuitesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListProductSuitesResponse ListProductSuites(ListProductSuitesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists ProductSuites.
| Parameters | |
|---|---|
| Name | Description |
request |
ListProductSuitesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListProductSuitesResponse |
The response received from the server. |
ListProductSuitesAsync(ListProductSuitesRequest, CallOptions)
public virtual AsyncUnaryCall<ListProductSuitesResponse> ListProductSuitesAsync(ListProductSuitesRequest request, CallOptions options)Lists ProductSuites.
| Parameters | |
|---|---|
| Name | Description |
request |
ListProductSuitesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListProductSuitesResponse |
The call object. |
ListProductSuitesAsync(ListProductSuitesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListProductSuitesResponse> ListProductSuitesAsync(ListProductSuitesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists ProductSuites.
| Parameters | |
|---|---|
| Name | Description |
request |
ListProductSuitesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListProductSuitesResponse |
The call object. |
LookupEntity(LookupEntityRequest, CallOptions)
public virtual LookupEntityResponse LookupEntity(LookupEntityRequest request, CallOptions options)Look up entities.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntityRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LookupEntityResponse |
The response received from the server. |
LookupEntity(LookupEntityRequest, Metadata, DateTime?, CancellationToken)
public virtual LookupEntityResponse LookupEntity(LookupEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Look up entities.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntityRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LookupEntityResponse |
The response received from the server. |
LookupEntityAsync(LookupEntityRequest, CallOptions)
public virtual AsyncUnaryCall<LookupEntityResponse> LookupEntityAsync(LookupEntityRequest request, CallOptions options)Look up entities.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntityRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLookupEntityResponse |
The call object. |
LookupEntityAsync(LookupEntityRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LookupEntityResponse> LookupEntityAsync(LookupEntityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Look up entities.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntityRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLookupEntityResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override CloudProductRegistryReadService.CloudProductRegistryReadServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
CloudProductRegistryReadServiceCloudProductRegistryReadServiceClient |
|