Google Cloud Private Catalog V1beta1 Client - Class SearchCatalogsRequest (0.2.13)

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

Request message for PrivateCatalog.SearchCatalogs.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource string

Required. The name of the resource context. It can be in following formats: * projects/{project} * folders/{folder} * organizations/{organization}

↳ query string

The query to filter the catalogs. The supported queries are: * Get a single catalog: name=catalogs/{catalog}

↳ page_size int

The maximum number of entries that are requested.

↳ page_token string

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

getResource

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}
Returns
TypeDescription
string

setResource

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQuery

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}
Returns
TypeDescription
string

setQuery

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}
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 SearchCatalogs that indicates where this listing should continue from.

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this