Reference documentation and code samples for the Compute V1 Client class ProjectView.
Represents a ProjectView resource.
A ProjectView resource contains read-only project data which is available globally.
Generated from protobuf message google.cloud.compute.v1.ProjectView
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
Project
The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint. |
getProject
The project data.
The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.
| Returns | |
|---|---|
| Type | Description |
Project|null |
|
hasProject
clearProject
setProject
The project data.
The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.
| Parameter | |
|---|---|
| Name | Description |
var |
Project
|
| Returns | |
|---|---|
| Type | Description |
$this |
|