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
Optional. 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
Optional. 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.
Optional. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class AutoAccept (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.AutoAccept)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.AutoAccept)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.AutoAccept)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.AutoAccept)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.AutoAccept)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.AutoAccept)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.AutoAccept)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.AutoAccept)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.AutoAccept)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.AutoAccept) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class AutoAccept.\n\nThe auto-accept setting for a group controls whether\nproposed spokes are automatically attached to the hub. If auto-accept is\nenabled, the spoke immediately is attached to the hub and becomes part of the\ngroup. In this case, the new spoke is in the ACTIVE state.\n\nIf auto-accept is disabled, the spoke goes to the INACTIVE\nstate, and it must be reviewed and accepted by a hub\nadministrator.\n\nGenerated from protobuf message `google.cloud.networkconnectivity.v1.AutoAccept`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAutoAcceptProjects\n\nOptional. A list of project ids or project numbers for which you want\nto enable auto-accept. The auto-accept setting is applied to\nspokes being created or updated in these projects.\n\n### setAutoAcceptProjects\n\nOptional. A list of project ids or project numbers for which you want\nto enable auto-accept. The auto-accept setting is applied to\nspokes being created or updated in these projects."]]