Google Cloud Network Connectivity V1 Client - Class AutoAccept (2.1.0)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class AutoAccept.

The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state.

If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.

Generated from protobuf message google.cloud.networkconnectivity.v1.AutoAccept

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auto_accept_projects array

A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.

getAutoAcceptProjects

A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAutoAcceptProjects

A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.

Parameter
Name Description
var string[]
Returns
Type Description
$this