Compute V1 Client - Class VmExtensionPolicyList (2.9.0)

Reference documentation and code samples for the Compute V1 Client class VmExtensionPolicyList.

Generated from protobuf message google.cloud.compute.v1.VmExtensionPolicyList

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ etag string

Output only. [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a VmExtensionPolicy. An up-to-date fingerprint must be provided in order to update the VmExtensionPolicy. To see the latest value of the fingerprint, make a get() request to retrieve a VmExtensionPolicy.

↳ id string

Output only. [Output Only] Unique identifier for the resource; defined by the server.

↳ items array<VmExtensionPolicy>

Output only. [Output Only] A list of VM extension policy resources.

↳ kind string

Output only. Type of resource.

↳ next_page_token string

Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

↳ self_link string

Output only. [Output Only] Server-defined URL for this resource.

↳ unreachables string[]

Output only. [Output Only] Unreachable resources.

↳ warning Warning

Output only. [Output Only] Informational warning message.

getEtag

Output only. [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a VmExtensionPolicy. An up-to-date fingerprint must be provided in order to update the VmExtensionPolicy.

To see the latest value of the fingerprint, make a get() request to retrieve a VmExtensionPolicy.

Returns
Type Description
string

hasEtag

clearEtag

setEtag

Output only. [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a VmExtensionPolicy. An up-to-date fingerprint must be provided in order to update the VmExtensionPolicy.

To see the latest value of the fingerprint, make a get() request to retrieve a VmExtensionPolicy.

Parameter
Name Description
var string
Returns
Type Description
$this

getId

Output only. [Output Only] Unique identifier for the resource; defined by the server.

Returns
Type Description
string

hasId

clearId

setId

Output only. [Output Only] Unique identifier for the resource; defined by the server.

Parameter
Name Description
var string
Returns
Type Description
$this

getItems

Output only. [Output Only] A list of VM extension policy resources.

Returns
Type Description
Google\Protobuf\RepeatedField<VmExtensionPolicy>

setItems

Output only. [Output Only] A list of VM extension policy resources.

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

getKind

Output only. Type of resource.

Returns
Type Description
string

hasKind

clearKind

setKind

Output only. Type of resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getNextPageToken

Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request.

Subsequent list requests will have their own nextPageToken to continue paging through the results.

Returns
Type Description
string

hasNextPageToken

clearNextPageToken

setNextPageToken

Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request.

Subsequent list requests will have their own nextPageToken to continue paging through the results.

Parameter
Name Description
var string
Returns
Type Description
$this

Output only. [Output Only] Server-defined URL for this resource.

Returns
Type Description
string

Output only. [Output Only] Server-defined URL for this resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachables

Output only. [Output Only] Unreachable resources.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setUnreachables

Output only. [Output Only] Unreachable resources.

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

getWarning

Output only. [Output Only] Informational warning message.

Returns
Type Description
Warning|null

hasWarning

clearWarning

setWarning

Output only. [Output Only] Informational warning message.

Parameter
Name Description
var Warning
Returns
Type Description
$this