Google Cloud Access Approval V1 Client - Class ListApprovalRequestsMessage (1.0.4)

Reference documentation and code samples for the Google Cloud Access Approval V1 Client class ListApprovalRequestsMessage.

Request to list approval requests.

Generated from protobuf message google.cloud.accessapproval.v1.ListApprovalRequestsMessage

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".

↳ filter string

A filter on the type of approval requests to retrieve. Must be one of the following values: * [not set]: Requests that are pending or have active approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE: Only active (i.e. currently approved) requests. * DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration. * EXPIRED: Only requests that have been approved, and the approval has expired. * HISTORY: Active, dismissed and expired requests.

↳ page_size int

Requested page size.

↳ page_token string

A token identifying the page of results to return.

getParent

The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".

Returns
TypeDescription
string

setParent

The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

A filter on the type of approval requests to retrieve. Must be one of the following values:

  • [not set]: Requests that are pending or have active approvals.
  • ALL: All requests.
    • PENDING: Only pending requests.
    • ACTIVE: Only active (i.e. currently approved) requests.
    • DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
    • EXPIRED: Only requests that have been approved, and the approval has expired.
    • HISTORY: Active, dismissed and expired requests.
Returns
TypeDescription
string

setFilter

A filter on the type of approval requests to retrieve. Must be one of the following values:

  • [not set]: Requests that are pending or have active approvals.
  • ALL: All requests.
    • PENDING: Only pending requests.
    • ACTIVE: Only active (i.e. currently approved) requests.
    • DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
    • EXPIRED: Only requests that have been approved, and the approval has expired.
    • HISTORY: Active, dismissed and expired requests.
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size.

Returns
TypeDescription
int

setPageSize

Requested page size.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying the page of results to return.

Returns
TypeDescription
string

setPageToken

A token identifying the page of results to return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this