Compute V1 Client - Class ReservationBlocksListResponse (1.32.0)

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

A list of reservation blocks under a single reservation.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ id
string

Unique identifier for the resource; defined by the server.

↳ items
array< ReservationBlock >

A list of reservation block resources.

↳ kind
string

Type of the resource. Always compute#reservationBlock for a list of reservation blocks.

↳ next_page_token
string

This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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

Server-defined URL for this resource.

↳ warning
Warning

Informational warning message.

getId

Unique identifier for the resource; defined by the server.

Returns
Type
Description
string

hasId

clearId

setId

Unique identifier for the resource; defined by the server.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getItems

A list of reservation block resources.

Returns
Type
Description

setItems

A list of reservation block resources.

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

getKind

Type of the resource. Always compute#reservationBlock for a list of reservation blocks.

Returns
Type
Description
string

hasKind

clearKind

setKind

Type of the resource. Always compute#reservationBlock for a list of reservation blocks.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getNextPageToken

This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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

This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, 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

Server-defined URL for this resource.

Returns
Type
Description
string

Server-defined URL for this resource.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getWarning

Informational warning message.

Returns
Type
Description
Warning |null

hasWarning

clearWarning

setWarning

Informational warning message.

Parameter
Name
Description
var
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: