Google Cloud Database Center V1beta Client - Class QueryProductsResponse (0.4.1)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class QueryProductsResponse.

QueryProductsResponse represents the response containing a list of products.

Generated from protobuf message google.cloud.databasecenter.v1beta.QueryProductsResponse

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ products array<Product>

List of database products returned.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages

↳ unreachable string[]

Unordered list. List of unreachable regions from where data could not be retrieved.

getProducts

List of database products returned.

Returns
Type Description
Google\Protobuf\RepeatedField<Product>

setProducts

List of database products returned.

Parameter
Name Description
var array<Product>
Returns
Type Description
$this

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages

Returns
Type Description
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Unordered list. List of unreachable regions from where data could not be retrieved.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setUnreachable

Unordered list. List of unreachable regions from where data could not be retrieved.

Parameter
Name Description
var string[]
Returns
Type Description
$this