Compute V1 Client - Class ShareSettingsProjectConfig (1.11.1)

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

Config for each project in the share settings.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project_id string

The project ID, should be same as the key of this project config in the parent map.

getProjectId

The project ID, should be same as the key of this project config in the parent map.

Returns
TypeDescription
string

hasProjectId

clearProjectId

setProjectId

The project ID, should be same as the key of this project config in the parent map.

Parameter
NameDescription
var string
Returns
TypeDescription
$this