Compute V1 Client - Class ShareSettingsProjectConfig (1.5.0)

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

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.

Generated from protobuf field optional string project_id = 177513473;

Returns
TypeDescription
string

hasProjectId

clearProjectId

setProjectId

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

Generated from protobuf field optional string project_id = 177513473;

Parameter
NameDescription
var string
Returns
TypeDescription
$this