Compute V1 Client - Class GetProjectViewRequest (2.14.1)

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

A request message for ProjectViews.Get. See the method description for details.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project string

Required. Project ID for this request. This is part of the URL path.

↳ region string

Required. Name of the region for this request. This is part of the URL path.

getProject

Required. Project ID for this request. This is part of the URL path.

Returns
Type Description
string

setProject

Required. Project ID for this request. This is part of the URL path.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

Required. Name of the region for this request. This is part of the URL path.

Returns
Type Description
string

setRegion

Required. Name of the region for this request. This is part of the URL path.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
project string

Required. Project ID for this request. This is part of the URL path.

region string

Required. Name of the region for this request. This is part of the URL path.

Returns
Type Description
GetProjectViewRequest