Google Cloud Resource Settings V1 Client - Class ListSettingsRequest (2.0.0)

Reference documentation and code samples for the Google Cloud Resource Settings V1 Client class ListSettingsRequest.

The request for ListSettings.

Generated from protobuf message google.cloud.resourcesettings.v1.ListSettingsRequest

Namespace

Google \ Cloud \ ResourceSettings \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The Cloud resource that parents the setting. Must be in one of the following forms: * projects/{project_number} * projects/{project_id} * folders/{folder_id} * organizations/{organization_id}

↳ page_size int

Unused. The size of the page to be returned.

↳ page_token string

Unused. A page token used to retrieve the next page.

↳ view int

The SettingView for this request.

getParent

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}
Returns
Type Description
string

setParent

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}
Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Unused. The size of the page to be returned.

Returns
Type Description
int

setPageSize

Unused. The size of the page to be returned.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Unused. A page token used to retrieve the next page.

Returns
Type Description
string

setPageToken

Unused. A page token used to retrieve the next page.

Parameter
Name Description
var string
Returns
Type Description
$this

getView

The SettingView for this request.

Returns
Type Description
int

setView

The SettingView for this request.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The Cloud resource that parents the setting. Must be in one of the following forms:

  • projects/{project_number}
  • projects/{project_id}
  • folders/{folder_id}
  • organizations/{organization_id}
Returns
Type Description
Google\Cloud\ResourceSettings\V1\ListSettingsRequest