Google Cloud Appoptimize V1beta Client - Class ListReportsRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Appoptimize V1beta Client class ListReportsRequest.

Request message for the ListReports method.

Generated from protobuf message google.cloud.appoptimize.v1beta.ListReportsRequest

Namespace

Google \ Cloud \ AppOptimize \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent project whose reports are to be listed. Format: projects/{project}/locations/{location}.

↳ page_size int

Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return.

↳ page_token string

Optional. A page token, received from a previous ListReports call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListReports must match the call that provided the page token.

getParent

Required. The parent project whose reports are to be listed.

Format: projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

Required. The parent project whose reports are to be listed.

Format: projects/{project}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return.

Returns
Type Description
int

setPageSize

Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token, received from a previous ListReports call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListReports must match the call that provided the page token.

Returns
Type Description
string

setPageToken

Optional. A page token, received from a previous ListReports call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListReports must match the call that provided the page token.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent project whose reports are to be listed.

Format: projects/{project}/locations/{location}. Please see AppOptimizeClient::locationName() for help formatting this field.

Returns
Type Description
ListReportsRequest