Compute V1 Client - Class ShareSettingsProjectConfig (1.18.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
Name Description
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
Type Description
string

hasProjectId

clearProjectId

setProjectId

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

Parameter
Name Description
var string
Returns
Type Description
$this