Google Cloud Private Catalog V1beta1 Client - Class SearchVersionsRequest (0.3.3)

Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class SearchVersionsRequest.

Request message for PrivateCatalog.SearchVersions.

Generated from protobuf message google.cloud.privatecatalog.v1beta1.SearchVersionsRequest

Namespace

Google \ Cloud \ PrivateCatalog \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource string

Required. The name of the resource context. See SearchCatalogsRequest.resource for details.

↳ query string

Required. The query to filter the versions. The supported queries are: * List versions under a product: parent=catalogs/{catalog}/products/{product} * Get a version by name: name=catalogs/{catalog}/products/{product}/versions/{version}

↳ page_size int

The maximum number of entries that are requested.

↳ page_token string

A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.

getResource

Required. The name of the resource context. See SearchCatalogsRequest.resource for details.

Returns
TypeDescription
string

setResource

Required. The name of the resource context. See SearchCatalogsRequest.resource for details.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQuery

Required. The query to filter the versions.

The supported queries are:

  • List versions under a product: parent=catalogs/{catalog}/products/{product}
  • Get a version by name: name=catalogs/{catalog}/products/{product}/versions/{version}
Returns
TypeDescription
string

setQuery

Required. The query to filter the versions.

The supported queries are:

  • List versions under a product: parent=catalogs/{catalog}/products/{product}
  • Get a version by name: name=catalogs/{catalog}/products/{product}/versions/{version}
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of entries that are requested.

Returns
TypeDescription
int

setPageSize

The maximum number of entries that are requested.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.

Returns
TypeDescription
string

setPageToken

A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this