Cloud Product Registry v1 API - Class CloudProductRegistryReadServiceClient (1.0.0-beta01)

public abstract class CloudProductRegistryReadServiceClient

Reference documentation and code samples for the Cloud Product Registry v1 API class CloudProductRegistryReadServiceClient.

CloudProductRegistryReadService client wrapper, for convenient use.

Inheritance

object > CloudProductRegistryReadServiceClient

Namespace

Google.Cloud.ProductRegistry.V1

Assembly

Google.Cloud.ProductRegistry.V1.dll

Remarks

Cloud Product Registry Read Service provides capabilities to access all first and third party Google Cloud products.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the CloudProductRegistryReadService service, which is a host of "cloudproductregistry.googleapis.com" and a port of 443.

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default CloudProductRegistryReadService scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default CloudProductRegistryReadService scopes are:

    GrpcClient

    public virtual CloudProductRegistryReadService.CloudProductRegistryReadServiceClient GrpcClient { get; }

    The underlying gRPC CloudProductRegistryReadService client

    Property Value
    Type Description
    CloudProductRegistryReadServiceCloudProductRegistryReadServiceClient

    ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

    The service metadata associated with this client type.

    Property Value
    Type Description
    ServiceMetadata

    Methods

    Create()

    public static CloudProductRegistryReadServiceClient Create()

    Synchronously creates a CloudProductRegistryReadServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CloudProductRegistryReadServiceClientBuilder.

    Returns
    Type Description
    CloudProductRegistryReadServiceClient

    The created CloudProductRegistryReadServiceClient.

    CreateAsync(CancellationToken)

    public static Task<CloudProductRegistryReadServiceClient> CreateAsync(CancellationToken cancellationToken = default)

    Asynchronously creates a CloudProductRegistryReadServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CloudProductRegistryReadServiceClientBuilder.

    Parameter
    Name Description
    cancellationToken CancellationToken

    The CancellationToken to use while creating the client.

    Returns
    Type Description
    TaskCloudProductRegistryReadServiceClient

    The task representing the created CloudProductRegistryReadServiceClient.

    GetLogicalProduct(GetLogicalProductRequest, CallSettings)

    public virtual LogicalProduct GetLogicalProduct(GetLogicalProductRequest request, CallSettings callSettings = null)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    request GetLogicalProductRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LogicalProduct

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    GetLogicalProductRequest request = new GetLogicalProductRequest
    {
        LogicalProductName = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]"),
    };
    // Make the request
    LogicalProduct response = cloudProductRegistryReadServiceClient.GetLogicalProduct(request);
    

    GetLogicalProduct(LogicalProductName, CallSettings)

    public virtual LogicalProduct GetLogicalProduct(LogicalProductName name, CallSettings callSettings = null)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    name LogicalProductName

    Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LogicalProduct

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    LogicalProductName name = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]");
    // Make the request
    LogicalProduct response = cloudProductRegistryReadServiceClient.GetLogicalProduct(name);
    

    GetLogicalProduct(string, CallSettings)

    public virtual LogicalProduct GetLogicalProduct(string name, CallSettings callSettings = null)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    name string

    Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LogicalProduct

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    string name = "logicalProducts/[LOGICAL_PRODUCT]";
    // Make the request
    LogicalProduct response = cloudProductRegistryReadServiceClient.GetLogicalProduct(name);
    

    GetLogicalProductAsync(GetLogicalProductRequest, CallSettings)

    public virtual Task<LogicalProduct> GetLogicalProductAsync(GetLogicalProductRequest request, CallSettings callSettings = null)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    request GetLogicalProductRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLogicalProduct

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetLogicalProductRequest request = new GetLogicalProductRequest
    {
        LogicalProductName = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]"),
    };
    // Make the request
    LogicalProduct response = await cloudProductRegistryReadServiceClient.GetLogicalProductAsync(request);
    

    GetLogicalProductAsync(GetLogicalProductRequest, CancellationToken)

    public virtual Task<LogicalProduct> GetLogicalProductAsync(GetLogicalProductRequest request, CancellationToken cancellationToken)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    request GetLogicalProductRequest

    The request object containing all of the parameters for the API call.

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLogicalProduct

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetLogicalProductRequest request = new GetLogicalProductRequest
    {
        LogicalProductName = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]"),
    };
    // Make the request
    LogicalProduct response = await cloudProductRegistryReadServiceClient.GetLogicalProductAsync(request);
    

    GetLogicalProductAsync(LogicalProductName, CallSettings)

    public virtual Task<LogicalProduct> GetLogicalProductAsync(LogicalProductName name, CallSettings callSettings = null)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    name LogicalProductName

    Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLogicalProduct

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LogicalProductName name = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]");
    // Make the request
    LogicalProduct response = await cloudProductRegistryReadServiceClient.GetLogicalProductAsync(name);
    

    GetLogicalProductAsync(LogicalProductName, CancellationToken)

    public virtual Task<LogicalProduct> GetLogicalProductAsync(LogicalProductName name, CancellationToken cancellationToken)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    name LogicalProductName

    Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLogicalProduct

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LogicalProductName name = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]");
    // Make the request
    LogicalProduct response = await cloudProductRegistryReadServiceClient.GetLogicalProductAsync(name);
    

    GetLogicalProductAsync(string, CallSettings)

    public virtual Task<LogicalProduct> GetLogicalProductAsync(string name, CallSettings callSettings = null)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    name string

    Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLogicalProduct

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "logicalProducts/[LOGICAL_PRODUCT]";
    // Make the request
    LogicalProduct response = await cloudProductRegistryReadServiceClient.GetLogicalProductAsync(name);
    

    GetLogicalProductAsync(string, CancellationToken)

    public virtual Task<LogicalProduct> GetLogicalProductAsync(string name, CancellationToken cancellationToken)

    Gets details of a LogicalProduct.

    Parameters
    Name Description
    name string

    Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLogicalProduct

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "logicalProducts/[LOGICAL_PRODUCT]";
    // Make the request
    LogicalProduct response = await cloudProductRegistryReadServiceClient.GetLogicalProductAsync(name);
    

    GetLogicalProductVariant(GetLogicalProductVariantRequest, CallSettings)

    public virtual LogicalProductVariant GetLogicalProductVariant(GetLogicalProductVariantRequest request, CallSettings callSettings = null)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    request GetLogicalProductVariantRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LogicalProductVariant

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    GetLogicalProductVariantRequest request = new GetLogicalProductVariantRequest
    {
        LogicalProductVariantName = LogicalProductVariantName.FromLogicalProductVariant("[LOGICAL_PRODUCT]", "[VARIANT]"),
    };
    // Make the request
    LogicalProductVariant response = cloudProductRegistryReadServiceClient.GetLogicalProductVariant(request);
    

    GetLogicalProductVariant(LogicalProductVariantName, CallSettings)

    public virtual LogicalProductVariant GetLogicalProductVariant(LogicalProductVariantName name, CallSettings callSettings = null)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    name LogicalProductVariantName

    Required. The name of the LogicalProductVariant to retrieve. Format: logicalProducts/{logical_product}/variants/{variant}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LogicalProductVariant

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    LogicalProductVariantName name = LogicalProductVariantName.FromLogicalProductVariant("[LOGICAL_PRODUCT]", "[VARIANT]");
    // Make the request
    LogicalProductVariant response = cloudProductRegistryReadServiceClient.GetLogicalProductVariant(name);
    

    GetLogicalProductVariant(string, CallSettings)

    public virtual LogicalProductVariant GetLogicalProductVariant(string name, CallSettings callSettings = null)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    name string

    Required. The name of the LogicalProductVariant to retrieve. Format: logicalProducts/{logical_product}/variants/{variant}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LogicalProductVariant

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    string name = "logicalProducts/[LOGICAL_PRODUCT]/variants/[VARIANT]";
    // Make the request
    LogicalProductVariant response = cloudProductRegistryReadServiceClient.GetLogicalProductVariant(name);
    

    GetLogicalProductVariantAsync(GetLogicalProductVariantRequest, CallSettings)

    public virtual Task<LogicalProductVariant> GetLogicalProductVariantAsync(GetLogicalProductVariantRequest request, CallSettings callSettings = null)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    request GetLogicalProductVariantRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLogicalProductVariant

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetLogicalProductVariantRequest request = new GetLogicalProductVariantRequest
    {
        LogicalProductVariantName = LogicalProductVariantName.FromLogicalProductVariant("[LOGICAL_PRODUCT]", "[VARIANT]"),
    };
    // Make the request
    LogicalProductVariant response = await cloudProductRegistryReadServiceClient.GetLogicalProductVariantAsync(request);
    

    GetLogicalProductVariantAsync(GetLogicalProductVariantRequest, CancellationToken)

    public virtual Task<LogicalProductVariant> GetLogicalProductVariantAsync(GetLogicalProductVariantRequest request, CancellationToken cancellationToken)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    request GetLogicalProductVariantRequest

    The request object containing all of the parameters for the API call.

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLogicalProductVariant

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetLogicalProductVariantRequest request = new GetLogicalProductVariantRequest
    {
        LogicalProductVariantName = LogicalProductVariantName.FromLogicalProductVariant("[LOGICAL_PRODUCT]", "[VARIANT]"),
    };
    // Make the request
    LogicalProductVariant response = await cloudProductRegistryReadServiceClient.GetLogicalProductVariantAsync(request);
    

    GetLogicalProductVariantAsync(LogicalProductVariantName, CallSettings)

    public virtual Task<LogicalProductVariant> GetLogicalProductVariantAsync(LogicalProductVariantName name, CallSettings callSettings = null)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    name LogicalProductVariantName

    Required. The name of the LogicalProductVariant to retrieve. Format: logicalProducts/{logical_product}/variants/{variant}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLogicalProductVariant

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LogicalProductVariantName name = LogicalProductVariantName.FromLogicalProductVariant("[LOGICAL_PRODUCT]", "[VARIANT]");
    // Make the request
    LogicalProductVariant response = await cloudProductRegistryReadServiceClient.GetLogicalProductVariantAsync(name);
    

    GetLogicalProductVariantAsync(LogicalProductVariantName, CancellationToken)

    public virtual Task<LogicalProductVariant> GetLogicalProductVariantAsync(LogicalProductVariantName name, CancellationToken cancellationToken)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    name LogicalProductVariantName

    Required. The name of the LogicalProductVariant to retrieve. Format: logicalProducts/{logical_product}/variants/{variant}

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLogicalProductVariant

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LogicalProductVariantName name = LogicalProductVariantName.FromLogicalProductVariant("[LOGICAL_PRODUCT]", "[VARIANT]");
    // Make the request
    LogicalProductVariant response = await cloudProductRegistryReadServiceClient.GetLogicalProductVariantAsync(name);
    

    GetLogicalProductVariantAsync(string, CallSettings)

    public virtual Task<LogicalProductVariant> GetLogicalProductVariantAsync(string name, CallSettings callSettings = null)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    name string

    Required. The name of the LogicalProductVariant to retrieve. Format: logicalProducts/{logical_product}/variants/{variant}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLogicalProductVariant

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "logicalProducts/[LOGICAL_PRODUCT]/variants/[VARIANT]";
    // Make the request
    LogicalProductVariant response = await cloudProductRegistryReadServiceClient.GetLogicalProductVariantAsync(name);
    

    GetLogicalProductVariantAsync(string, CancellationToken)

    public virtual Task<LogicalProductVariant> GetLogicalProductVariantAsync(string name, CancellationToken cancellationToken)

    Get details of a LogicalProductVariant.

    Parameters
    Name Description
    name string

    Required. The name of the LogicalProductVariant to retrieve. Format: logicalProducts/{logical_product}/variants/{variant}

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLogicalProductVariant

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "logicalProducts/[LOGICAL_PRODUCT]/variants/[VARIANT]";
    // Make the request
    LogicalProductVariant response = await cloudProductRegistryReadServiceClient.GetLogicalProductVariantAsync(name);
    

    GetProductSuite(GetProductSuiteRequest, CallSettings)

    public virtual ProductSuite GetProductSuite(GetProductSuiteRequest request, CallSettings callSettings = null)

    Get details of a ProductSuite.

    Parameters
    Name Description
    request GetProductSuiteRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    ProductSuite

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    GetProductSuiteRequest request = new GetProductSuiteRequest
    {
        ProductSuiteName = ProductSuiteName.FromProductSuite("[PRODUCT_SUITE]"),
    };
    // Make the request
    ProductSuite response = cloudProductRegistryReadServiceClient.GetProductSuite(request);
    

    GetProductSuite(ProductSuiteName, CallSettings)

    public virtual ProductSuite GetProductSuite(ProductSuiteName name, CallSettings callSettings = null)

    Get details of a ProductSuite.

    Parameters
    Name Description
    name ProductSuiteName

    Required. The name of the ProductSuite to retrieve. Format: productSuites/{product_suite}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    ProductSuite

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    ProductSuiteName name = ProductSuiteName.FromProductSuite("[PRODUCT_SUITE]");
    // Make the request
    ProductSuite response = cloudProductRegistryReadServiceClient.GetProductSuite(name);
    

    GetProductSuite(string, CallSettings)

    public virtual ProductSuite GetProductSuite(string name, CallSettings callSettings = null)

    Get details of a ProductSuite.

    Parameters
    Name Description
    name string

    Required. The name of the ProductSuite to retrieve. Format: productSuites/{product_suite}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    ProductSuite

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    string name = "productSuites/[PRODUCT_SUITE]";
    // Make the request
    ProductSuite response = cloudProductRegistryReadServiceClient.GetProductSuite(name);
    

    GetProductSuiteAsync(GetProductSuiteRequest, CallSettings)

    public virtual Task<ProductSuite> GetProductSuiteAsync(GetProductSuiteRequest request, CallSettings callSettings = null)

    Get details of a ProductSuite.

    Parameters
    Name Description
    request GetProductSuiteRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskProductSuite

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetProductSuiteRequest request = new GetProductSuiteRequest
    {
        ProductSuiteName = ProductSuiteName.FromProductSuite("[PRODUCT_SUITE]"),
    };
    // Make the request
    ProductSuite response = await cloudProductRegistryReadServiceClient.GetProductSuiteAsync(request);
    

    GetProductSuiteAsync(GetProductSuiteRequest, CancellationToken)

    public virtual Task<ProductSuite> GetProductSuiteAsync(GetProductSuiteRequest request, CancellationToken cancellationToken)

    Get details of a ProductSuite.

    Parameters
    Name Description
    request GetProductSuiteRequest

    The request object containing all of the parameters for the API call.

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskProductSuite

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetProductSuiteRequest request = new GetProductSuiteRequest
    {
        ProductSuiteName = ProductSuiteName.FromProductSuite("[PRODUCT_SUITE]"),
    };
    // Make the request
    ProductSuite response = await cloudProductRegistryReadServiceClient.GetProductSuiteAsync(request);
    

    GetProductSuiteAsync(ProductSuiteName, CallSettings)

    public virtual Task<ProductSuite> GetProductSuiteAsync(ProductSuiteName name, CallSettings callSettings = null)

    Get details of a ProductSuite.

    Parameters
    Name Description
    name ProductSuiteName

    Required. The name of the ProductSuite to retrieve. Format: productSuites/{product_suite}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskProductSuite

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    ProductSuiteName name = ProductSuiteName.FromProductSuite("[PRODUCT_SUITE]");
    // Make the request
    ProductSuite response = await cloudProductRegistryReadServiceClient.GetProductSuiteAsync(name);
    

    GetProductSuiteAsync(ProductSuiteName, CancellationToken)

    public virtual Task<ProductSuite> GetProductSuiteAsync(ProductSuiteName name, CancellationToken cancellationToken)

    Get details of a ProductSuite.

    Parameters
    Name Description
    name ProductSuiteName

    Required. The name of the ProductSuite to retrieve. Format: productSuites/{product_suite}

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskProductSuite

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    ProductSuiteName name = ProductSuiteName.FromProductSuite("[PRODUCT_SUITE]");
    // Make the request
    ProductSuite response = await cloudProductRegistryReadServiceClient.GetProductSuiteAsync(name);
    

    GetProductSuiteAsync(string, CallSettings)

    public virtual Task<ProductSuite> GetProductSuiteAsync(string name, CallSettings callSettings = null)

    Get details of a ProductSuite.

    Parameters
    Name Description
    name string

    Required. The name of the ProductSuite to retrieve. Format: productSuites/{product_suite}

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskProductSuite

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "productSuites/[PRODUCT_SUITE]";
    // Make the request
    ProductSuite response = await cloudProductRegistryReadServiceClient.GetProductSuiteAsync(name);
    

    GetProductSuiteAsync(string, CancellationToken)

    public virtual Task<ProductSuite> GetProductSuiteAsync(string name, CancellationToken cancellationToken)

    Get details of a ProductSuite.

    Parameters
    Name Description
    name string

    Required. The name of the ProductSuite to retrieve. Format: productSuites/{product_suite}

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskProductSuite

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "productSuites/[PRODUCT_SUITE]";
    // Make the request
    ProductSuite response = await cloudProductRegistryReadServiceClient.GetProductSuiteAsync(name);
    

    ListLogicalProductVariants(ListLogicalProductVariantsRequest, CallSettings)

    public virtual PagedEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> ListLogicalProductVariants(ListLogicalProductVariantsRequest request, CallSettings callSettings = null)

    Lists LogicalProductVariants matching given criteria.

    Parameters
    Name Description
    request ListLogicalProductVariantsRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedEnumerableListLogicalProductVariantsResponseLogicalProductVariant

    A pageable sequence of LogicalProductVariant resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    ListLogicalProductVariantsRequest request = new ListLogicalProductVariantsRequest
    {
        ParentAsLogicalProductName = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]"),
    };
    // Make the request
    PagedEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> response = cloudProductRegistryReadServiceClient.ListLogicalProductVariants(request);
    
    // Iterate over all response items, lazily performing RPCs as required
    foreach (LogicalProductVariant item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListLogicalProductVariantsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProductVariant item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProductVariant> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProductVariant item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProductVariants(LogicalProductName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> ListLogicalProductVariants(LogicalProductName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

    Lists LogicalProductVariants matching given criteria.

    Parameters
    Name Description
    parent LogicalProductName

    Required. Parent logical product id. Format: logicalProducts/{logical_product}

    pageToken string

    The token returned from the previous request. A value of null or an empty string retrieves the first page.

    pageSize int

    The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedEnumerableListLogicalProductVariantsResponseLogicalProductVariant

    A pageable sequence of LogicalProductVariant resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    LogicalProductName parent = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]");
    // Make the request
    PagedEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> response = cloudProductRegistryReadServiceClient.ListLogicalProductVariants(parent);
    
    // Iterate over all response items, lazily performing RPCs as required
    foreach (LogicalProductVariant item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListLogicalProductVariantsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProductVariant item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProductVariant> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProductVariant item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProductVariants(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> ListLogicalProductVariants(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

    Lists LogicalProductVariants matching given criteria.

    Parameters
    Name Description
    parent string

    Required. Parent logical product id. Format: logicalProducts/{logical_product}

    pageToken string

    The token returned from the previous request. A value of null or an empty string retrieves the first page.

    pageSize int

    The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedEnumerableListLogicalProductVariantsResponseLogicalProductVariant

    A pageable sequence of LogicalProductVariant resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    string parent = "logicalProducts/[LOGICAL_PRODUCT]";
    // Make the request
    PagedEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> response = cloudProductRegistryReadServiceClient.ListLogicalProductVariants(parent);
    
    // Iterate over all response items, lazily performing RPCs as required
    foreach (LogicalProductVariant item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListLogicalProductVariantsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProductVariant item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProductVariant> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProductVariant item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProductVariantsAsync(ListLogicalProductVariantsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> ListLogicalProductVariantsAsync(ListLogicalProductVariantsRequest request, CallSettings callSettings = null)

    Lists LogicalProductVariants matching given criteria.

    Parameters
    Name Description
    request ListLogicalProductVariantsRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedAsyncEnumerableListLogicalProductVariantsResponseLogicalProductVariant

    A pageable asynchronous sequence of LogicalProductVariant resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListLogicalProductVariantsRequest request = new ListLogicalProductVariantsRequest
    {
        ParentAsLogicalProductName = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]"),
    };
    // Make the request
    PagedAsyncEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> response = cloudProductRegistryReadServiceClient.ListLogicalProductVariantsAsync(request);
    
    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LogicalProductVariant item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListLogicalProductVariantsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProductVariant item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProductVariant> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProductVariant item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProductVariantsAsync(LogicalProductName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> ListLogicalProductVariantsAsync(LogicalProductName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

    Lists LogicalProductVariants matching given criteria.

    Parameters
    Name Description
    parent LogicalProductName

    Required. Parent logical product id. Format: logicalProducts/{logical_product}

    pageToken string

    The token returned from the previous request. A value of null or an empty string retrieves the first page.

    pageSize int

    The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedAsyncEnumerableListLogicalProductVariantsResponseLogicalProductVariant

    A pageable asynchronous sequence of LogicalProductVariant resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LogicalProductName parent = LogicalProductName.FromLogicalProduct("[LOGICAL_PRODUCT]");
    // Make the request
    PagedAsyncEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> response = cloudProductRegistryReadServiceClient.ListLogicalProductVariantsAsync(parent);
    
    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LogicalProductVariant item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListLogicalProductVariantsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProductVariant item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProductVariant> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProductVariant item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProductVariantsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> ListLogicalProductVariantsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

    Lists LogicalProductVariants matching given criteria.

    Parameters
    Name Description
    parent string

    Required. Parent logical product id. Format: logicalProducts/{logical_product}

    pageToken string

    The token returned from the previous request. A value of null or an empty string retrieves the first page.

    pageSize int

    The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedAsyncEnumerableListLogicalProductVariantsResponseLogicalProductVariant

    A pageable asynchronous sequence of LogicalProductVariant resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "logicalProducts/[LOGICAL_PRODUCT]";
    // Make the request
    PagedAsyncEnumerable<ListLogicalProductVariantsResponse, LogicalProductVariant> response = cloudProductRegistryReadServiceClient.ListLogicalProductVariantsAsync(parent);
    
    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LogicalProductVariant item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListLogicalProductVariantsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProductVariant item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProductVariant> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProductVariant item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProducts(ListLogicalProductsRequest, CallSettings)

    public virtual PagedEnumerable<ListLogicalProductsResponse, LogicalProduct> ListLogicalProducts(ListLogicalProductsRequest request, CallSettings callSettings = null)

    Lists LogicalProducts matching given criteria.

    Parameters
    Name Description
    request ListLogicalProductsRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedEnumerableListLogicalProductsResponseLogicalProduct

    A pageable sequence of LogicalProduct resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    ListLogicalProductsRequest request = new ListLogicalProductsRequest { Filter = "", };
    // Make the request
    PagedEnumerable<ListLogicalProductsResponse, LogicalProduct> response = cloudProductRegistryReadServiceClient.ListLogicalProducts(request);
    
    // Iterate over all response items, lazily performing RPCs as required
    foreach (LogicalProduct item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListLogicalProductsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProduct item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProduct> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProduct item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListLogicalProductsAsync(ListLogicalProductsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListLogicalProductsResponse, LogicalProduct> ListLogicalProductsAsync(ListLogicalProductsRequest request, CallSettings callSettings = null)

    Lists LogicalProducts matching given criteria.

    Parameters
    Name Description
    request ListLogicalProductsRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedAsyncEnumerableListLogicalProductsResponseLogicalProduct

    A pageable asynchronous sequence of LogicalProduct resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListLogicalProductsRequest request = new ListLogicalProductsRequest { Filter = "", };
    // Make the request
    PagedAsyncEnumerable<ListLogicalProductsResponse, LogicalProduct> response = cloudProductRegistryReadServiceClient.ListLogicalProductsAsync(request);
    
    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LogicalProduct item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListLogicalProductsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LogicalProduct item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LogicalProduct> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LogicalProduct item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListProductSuites(ListProductSuitesRequest, CallSettings)

    public virtual PagedEnumerable<ListProductSuitesResponse, ProductSuite> ListProductSuites(ListProductSuitesRequest request, CallSettings callSettings = null)

    Lists ProductSuites.

    Parameters
    Name Description
    request ListProductSuitesRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedEnumerableListProductSuitesResponseProductSuite

    A pageable sequence of ProductSuite resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    ListProductSuitesRequest request = new ListProductSuitesRequest { };
    // Make the request
    PagedEnumerable<ListProductSuitesResponse, ProductSuite> response = cloudProductRegistryReadServiceClient.ListProductSuites(request);
    
    // Iterate over all response items, lazily performing RPCs as required
    foreach (ProductSuite item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListProductSuitesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ProductSuite item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ProductSuite> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ProductSuite item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    ListProductSuitesAsync(ListProductSuitesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListProductSuitesResponse, ProductSuite> ListProductSuitesAsync(ListProductSuitesRequest request, CallSettings callSettings = null)

    Lists ProductSuites.

    Parameters
    Name Description
    request ListProductSuitesRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    PagedAsyncEnumerableListProductSuitesResponseProductSuite

    A pageable asynchronous sequence of ProductSuite resources.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListProductSuitesRequest request = new ListProductSuitesRequest { };
    // Make the request
    PagedAsyncEnumerable<ListProductSuitesResponse, ProductSuite> response = cloudProductRegistryReadServiceClient.ListProductSuitesAsync(request);
    
    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ProductSuite item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    
    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListProductSuitesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ProductSuite item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }
    
    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ProductSuite> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ProductSuite item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;
    

    LookupEntity(LookupEntityRequest, CallSettings)

    public virtual LookupEntityResponse LookupEntity(LookupEntityRequest request, CallSettings callSettings = null)

    Look up entities.

    Parameters
    Name Description
    request LookupEntityRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    LookupEntityResponse

    The RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = CloudProductRegistryReadServiceClient.Create();
    // Initialize request argument(s)
    LookupEntityRequest request = new LookupEntityRequest { LookupUri = "", };
    // Make the request
    LookupEntityResponse response = cloudProductRegistryReadServiceClient.LookupEntity(request);
    

    LookupEntityAsync(LookupEntityRequest, CallSettings)

    public virtual Task<LookupEntityResponse> LookupEntityAsync(LookupEntityRequest request, CallSettings callSettings = null)

    Look up entities.

    Parameters
    Name Description
    request LookupEntityRequest

    The request object containing all of the parameters for the API call.

    callSettings CallSettings

    If not null, applies overrides to this RPC call.

    Returns
    Type Description
    TaskLookupEntityResponse

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LookupEntityRequest request = new LookupEntityRequest { LookupUri = "", };
    // Make the request
    LookupEntityResponse response = await cloudProductRegistryReadServiceClient.LookupEntityAsync(request);
    

    LookupEntityAsync(LookupEntityRequest, CancellationToken)

    public virtual Task<LookupEntityResponse> LookupEntityAsync(LookupEntityRequest request, CancellationToken cancellationToken)

    Look up entities.

    Parameters
    Name Description
    request LookupEntityRequest

    The request object containing all of the parameters for the API call.

    cancellationToken CancellationToken

    A CancellationToken to use for this RPC.

    Returns
    Type Description
    TaskLookupEntityResponse

    A Task containing the RPC response.

    Example
    // Create client
    CloudProductRegistryReadServiceClient cloudProductRegistryReadServiceClient = await CloudProductRegistryReadServiceClient.CreateAsync();
    // Initialize request argument(s)
    LookupEntityRequest request = new LookupEntityRequest { LookupUri = "", };
    // Make the request
    LookupEntityResponse response = await cloudProductRegistryReadServiceClient.LookupEntityAsync(request);
    

    ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

    Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

    Returns
    Type Description
    Task

    A task representing the asynchronous shutdown operation.

    Remarks

    After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.