diff --git a/NetworkManagement/metadata/V1/ConnectivityTest.php b/NetworkManagement/metadata/V1/ConnectivityTest.php
index f0be8996cd1e..10855029f8cf 100644
Binary files a/NetworkManagement/metadata/V1/ConnectivityTest.php and b/NetworkManagement/metadata/V1/ConnectivityTest.php differ
diff --git a/NetworkManagement/metadata/V1/Trace.php b/NetworkManagement/metadata/V1/Trace.php
index e22dc076bb12..f9e5864f8de3 100644
Binary files a/NetworkManagement/metadata/V1/Trace.php and b/NetworkManagement/metadata/V1/Trace.php differ
diff --git a/NetworkManagement/samples/V1/ReachabilityServiceClient/create_connectivity_test.php b/NetworkManagement/samples/V1/ReachabilityServiceClient/create_connectivity_test.php
index 77297b8559ae..9fda1073d683 100644
--- a/NetworkManagement/samples/V1/ReachabilityServiceClient/create_connectivity_test.php
+++ b/NetworkManagement/samples/V1/ReachabilityServiceClient/create_connectivity_test.php
@@ -56,7 +56,7 @@
* * Must end with a number or a letter.
* * Must be unique within the customer project
* @param string $resourceName Unique name of the resource using the form:
- * `projects/{project_id}/locations/global/connectivityTests/{test_id}`
+ * `projects/{project_id}/locations/global/connectivityTests/{test}`
*/
function create_connectivity_test_sample(
string $parent,
diff --git a/NetworkManagement/samples/V1/ReachabilityServiceClient/update_connectivity_test.php b/NetworkManagement/samples/V1/ReachabilityServiceClient/update_connectivity_test.php
index 71c73815a6db..099ee03600ce 100644
--- a/NetworkManagement/samples/V1/ReachabilityServiceClient/update_connectivity_test.php
+++ b/NetworkManagement/samples/V1/ReachabilityServiceClient/update_connectivity_test.php
@@ -48,7 +48,7 @@
* in `ConnectivityTest` for for more details.
*
* @param string $resourceName Unique name of the resource using the form:
- * `projects/{project_id}/locations/global/connectivityTests/{test_id}`
+ * `projects/{project_id}/locations/global/connectivityTests/{test}`
*/
function update_connectivity_test_sample(string $resourceName): void
{
diff --git a/NetworkManagement/src/V1/AbortInfo/Cause.php b/NetworkManagement/src/V1/AbortInfo/Cause.php
index f9fe4242f72c..2267edd13e36 100644
--- a/NetworkManagement/src/V1/AbortInfo/Cause.php
+++ b/NetworkManagement/src/V1/AbortInfo/Cause.php
@@ -124,6 +124,48 @@ class Cause
* Generated from protobuf enum UNSUPPORTED = 15;
*/
const UNSUPPORTED = 15;
+ /**
+ * Aborted because the source and destination resources have no common IP
+ * version.
+ *
+ * Generated from protobuf enum MISMATCHED_IP_VERSION = 16;
+ */
+ const MISMATCHED_IP_VERSION = 16;
+ /**
+ * Aborted because the connection between the control plane and the node of
+ * the source cluster is initiated by the node and managed by the
+ * Konnectivity proxy.
+ *
+ * Generated from protobuf enum GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 17;
+ */
+ const GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 17;
+ /**
+ * Aborted because expected resource configuration was missing.
+ *
+ * Generated from protobuf enum RESOURCE_CONFIG_NOT_FOUND = 18;
+ */
+ const RESOURCE_CONFIG_NOT_FOUND = 18;
+ /**
+ * Aborted because a PSC endpoint selection for the Google-managed service
+ * is ambiguous (several PSC endpoints satisfy test input).
+ *
+ * Generated from protobuf enum GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19;
+ */
+ const GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19;
+ /**
+ * Aborted because tests with a PSC-based Cloud SQL instance as a source are
+ * not supported.
+ *
+ * Generated from protobuf enum SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20;
+ */
+ const SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20;
+ /**
+ * Aborted because tests with a forwarding rule as a source are not
+ * supported.
+ *
+ * Generated from protobuf enum SOURCE_FORWARDING_RULE_UNSUPPORTED = 21;
+ */
+ const SOURCE_FORWARDING_RULE_UNSUPPORTED = 21;
private static $valueToName = [
self::CAUSE_UNSPECIFIED => 'CAUSE_UNSPECIFIED',
@@ -142,6 +184,12 @@ class Cause
self::DESTINATION_ENDPOINT_NOT_FOUND => 'DESTINATION_ENDPOINT_NOT_FOUND',
self::MISMATCHED_DESTINATION_NETWORK => 'MISMATCHED_DESTINATION_NETWORK',
self::UNSUPPORTED => 'UNSUPPORTED',
+ self::MISMATCHED_IP_VERSION => 'MISMATCHED_IP_VERSION',
+ self::GKE_KONNECTIVITY_PROXY_UNSUPPORTED => 'GKE_KONNECTIVITY_PROXY_UNSUPPORTED',
+ self::RESOURCE_CONFIG_NOT_FOUND => 'RESOURCE_CONFIG_NOT_FOUND',
+ self::GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT => 'GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT',
+ self::SOURCE_PSC_CLOUD_SQL_UNSUPPORTED => 'SOURCE_PSC_CLOUD_SQL_UNSUPPORTED',
+ self::SOURCE_FORWARDING_RULE_UNSUPPORTED => 'SOURCE_FORWARDING_RULE_UNSUPPORTED',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/AppEngineVersionInfo.php b/NetworkManagement/src/V1/AppEngineVersionInfo.php
new file mode 100644
index 000000000000..c0379845b847
--- /dev/null
+++ b/NetworkManagement/src/V1/AppEngineVersionInfo.php
@@ -0,0 +1,169 @@
+google.cloud.networkmanagement.v1.AppEngineVersionInfo
+ */
+class AppEngineVersionInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of an App Engine version.
+ *
+ * Generated from protobuf field string display_name = 1;
+ */
+ private $display_name = '';
+ /**
+ * URI of an App Engine version.
+ *
+ * Generated from protobuf field string uri = 2;
+ */
+ private $uri = '';
+ /**
+ * Runtime of the App Engine version.
+ *
+ * Generated from protobuf field string runtime = 3;
+ */
+ private $runtime = '';
+ /**
+ * App Engine execution environment for a version.
+ *
+ * Generated from protobuf field string environment = 4;
+ */
+ private $environment = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $display_name
+ * Name of an App Engine version.
+ * @type string $uri
+ * URI of an App Engine version.
+ * @type string $runtime
+ * Runtime of the App Engine version.
+ * @type string $environment
+ * App Engine execution environment for a version.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of an App Engine version.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Name of an App Engine version.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of an App Engine version.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * URI of an App Engine version.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Runtime of the App Engine version.
+ *
+ * Generated from protobuf field string runtime = 3;
+ * @return string
+ */
+ public function getRuntime()
+ {
+ return $this->runtime;
+ }
+
+ /**
+ * Runtime of the App Engine version.
+ *
+ * Generated from protobuf field string runtime = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setRuntime($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->runtime = $var;
+
+ return $this;
+ }
+
+ /**
+ * App Engine execution environment for a version.
+ *
+ * Generated from protobuf field string environment = 4;
+ * @return string
+ */
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+
+ /**
+ * App Engine execution environment for a version.
+ *
+ * Generated from protobuf field string environment = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setEnvironment($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->environment = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/NetworkManagement/src/V1/CloudFunctionInfo.php b/NetworkManagement/src/V1/CloudFunctionInfo.php
new file mode 100644
index 000000000000..9613577f5ad8
--- /dev/null
+++ b/NetworkManagement/src/V1/CloudFunctionInfo.php
@@ -0,0 +1,169 @@
+google.cloud.networkmanagement.v1.CloudFunctionInfo
+ */
+class CloudFunctionInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of a Cloud Function.
+ *
+ * Generated from protobuf field string display_name = 1;
+ */
+ private $display_name = '';
+ /**
+ * URI of a Cloud Function.
+ *
+ * Generated from protobuf field string uri = 2;
+ */
+ private $uri = '';
+ /**
+ * Location in which the Cloud Function is deployed.
+ *
+ * Generated from protobuf field string location = 3;
+ */
+ private $location = '';
+ /**
+ * Latest successfully deployed version id of the Cloud Function.
+ *
+ * Generated from protobuf field int64 version_id = 4;
+ */
+ private $version_id = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $display_name
+ * Name of a Cloud Function.
+ * @type string $uri
+ * URI of a Cloud Function.
+ * @type string $location
+ * Location in which the Cloud Function is deployed.
+ * @type int|string $version_id
+ * Latest successfully deployed version id of the Cloud Function.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of a Cloud Function.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Name of a Cloud Function.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of a Cloud Function.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * URI of a Cloud Function.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Location in which the Cloud Function is deployed.
+ *
+ * Generated from protobuf field string location = 3;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * Location in which the Cloud Function is deployed.
+ *
+ * Generated from protobuf field string location = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setLocation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->location = $var;
+
+ return $this;
+ }
+
+ /**
+ * Latest successfully deployed version id of the Cloud Function.
+ *
+ * Generated from protobuf field int64 version_id = 4;
+ * @return int|string
+ */
+ public function getVersionId()
+ {
+ return $this->version_id;
+ }
+
+ /**
+ * Latest successfully deployed version id of the Cloud Function.
+ *
+ * Generated from protobuf field int64 version_id = 4;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setVersionId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->version_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/NetworkManagement/src/V1/CloudRunRevisionInfo.php b/NetworkManagement/src/V1/CloudRunRevisionInfo.php
new file mode 100644
index 000000000000..342ad18caaf1
--- /dev/null
+++ b/NetworkManagement/src/V1/CloudRunRevisionInfo.php
@@ -0,0 +1,169 @@
+google.cloud.networkmanagement.v1.CloudRunRevisionInfo
+ */
+class CloudRunRevisionInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of a Cloud Run revision.
+ *
+ * Generated from protobuf field string display_name = 1;
+ */
+ private $display_name = '';
+ /**
+ * URI of a Cloud Run revision.
+ *
+ * Generated from protobuf field string uri = 2;
+ */
+ private $uri = '';
+ /**
+ * Location in which this revision is deployed.
+ *
+ * Generated from protobuf field string location = 4;
+ */
+ private $location = '';
+ /**
+ * URI of Cloud Run service this revision belongs to.
+ *
+ * Generated from protobuf field string service_uri = 5;
+ */
+ private $service_uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $display_name
+ * Name of a Cloud Run revision.
+ * @type string $uri
+ * URI of a Cloud Run revision.
+ * @type string $location
+ * Location in which this revision is deployed.
+ * @type string $service_uri
+ * URI of Cloud Run service this revision belongs to.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of a Cloud Run revision.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Name of a Cloud Run revision.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of a Cloud Run revision.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * URI of a Cloud Run revision.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Location in which this revision is deployed.
+ *
+ * Generated from protobuf field string location = 4;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * Location in which this revision is deployed.
+ *
+ * Generated from protobuf field string location = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setLocation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->location = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of Cloud Run service this revision belongs to.
+ *
+ * Generated from protobuf field string service_uri = 5;
+ * @return string
+ */
+ public function getServiceUri()
+ {
+ return $this->service_uri;
+ }
+
+ /**
+ * URI of Cloud Run service this revision belongs to.
+ *
+ * Generated from protobuf field string service_uri = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_uri = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/NetworkManagement/src/V1/ConnectivityTest.php b/NetworkManagement/src/V1/ConnectivityTest.php
index c90626d2d739..099919eb49e3 100644
--- a/NetworkManagement/src/V1/ConnectivityTest.php
+++ b/NetworkManagement/src/V1/ConnectivityTest.php
@@ -17,7 +17,7 @@ class ConnectivityTest extends \Google\Protobuf\Internal\Message
{
/**
* Required. Unique name of the resource using the form:
- * `projects/{project_id}/locations/global/connectivityTests/{test_id}`
+ * `projects/{project_id}/locations/global/connectivityTests/{test}`
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -115,6 +115,15 @@ class ConnectivityTest extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.networkmanagement.v1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $reachability_details = null;
+ /**
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $probing_details = null;
/**
* Constructor.
@@ -124,7 +133,7 @@ class ConnectivityTest extends \Google\Protobuf\Internal\Message
*
* @type string $name
* Required. Unique name of the resource using the form:
- * `projects/{project_id}/locations/global/connectivityTests/{test_id}`
+ * `projects/{project_id}/locations/global/connectivityTests/{test}`
* @type string $description
* The user-supplied description of the Connectivity Test.
* Maximum of 512 characters.
@@ -178,6 +187,11 @@ class ConnectivityTest extends \Google\Protobuf\Internal\Message
* Output only. The reachability details of this test from the latest run.
* The details are updated when creating a new test, updating an
* existing test, or triggering a one-time rerun of an existing test.
+ * @type \Google\Cloud\NetworkManagement\V1\ProbingDetails $probing_details
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
* }
*/
public function __construct($data = NULL) {
@@ -187,7 +201,7 @@ public function __construct($data = NULL) {
/**
* Required. Unique name of the resource using the form:
- * `projects/{project_id}/locations/global/connectivityTests/{test_id}`
+ * `projects/{project_id}/locations/global/connectivityTests/{test}`
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -199,7 +213,7 @@ public function getName()
/**
* Required. Unique name of the resource using the form:
- * `projects/{project_id}/locations/global/connectivityTests/{test_id}`
+ * `projects/{project_id}/locations/global/connectivityTests/{test}`
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
@@ -589,5 +603,47 @@ public function setReachabilityDetails($var)
return $this;
}
+ /**
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\NetworkManagement\V1\ProbingDetails|null
+ */
+ public function getProbingDetails()
+ {
+ return $this->probing_details;
+ }
+
+ public function hasProbingDetails()
+ {
+ return isset($this->probing_details);
+ }
+
+ public function clearProbingDetails()
+ {
+ unset($this->probing_details);
+ }
+
+ /**
+ * Output only. The probing details of this test from the latest run, present
+ * for applicable tests only. The details are updated when creating a new
+ * test, updating an existing test, or triggering a one-time rerun of an
+ * existing test.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\NetworkManagement\V1\ProbingDetails $var
+ * @return $this
+ */
+ public function setProbingDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\ProbingDetails::class);
+ $this->probing_details = $var;
+
+ return $this;
+ }
+
}
diff --git a/NetworkManagement/src/V1/DeliverInfo/Target.php b/NetworkManagement/src/V1/DeliverInfo/Target.php
index e5ebfbd97b38..ac0266dcc0b9 100644
--- a/NetworkManagement/src/V1/DeliverInfo/Target.php
+++ b/NetworkManagement/src/V1/DeliverInfo/Target.php
@@ -49,6 +49,33 @@ class Target
* Generated from protobuf enum CLOUD_SQL_INSTANCE = 5;
*/
const CLOUD_SQL_INSTANCE = 5;
+ /**
+ * Target is a published service that uses [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
+ *
+ * Generated from protobuf enum PSC_PUBLISHED_SERVICE = 6;
+ */
+ const PSC_PUBLISHED_SERVICE = 6;
+ /**
+ * Target is all Google APIs that use [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ *
+ * Generated from protobuf enum PSC_GOOGLE_API = 7;
+ */
+ const PSC_GOOGLE_API = 7;
+ /**
+ * Target is a VPC-SC that uses [Private Service
+ * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).
+ *
+ * Generated from protobuf enum PSC_VPC_SC = 8;
+ */
+ const PSC_VPC_SC = 8;
+ /**
+ * Target is a serverless network endpoint group.
+ *
+ * Generated from protobuf enum SERVERLESS_NEG = 9;
+ */
+ const SERVERLESS_NEG = 9;
private static $valueToName = [
self::TARGET_UNSPECIFIED => 'TARGET_UNSPECIFIED',
@@ -57,6 +84,10 @@ class Target
self::GOOGLE_API => 'GOOGLE_API',
self::GKE_MASTER => 'GKE_MASTER',
self::CLOUD_SQL_INSTANCE => 'CLOUD_SQL_INSTANCE',
+ self::PSC_PUBLISHED_SERVICE => 'PSC_PUBLISHED_SERVICE',
+ self::PSC_GOOGLE_API => 'PSC_GOOGLE_API',
+ self::PSC_VPC_SC => 'PSC_VPC_SC',
+ self::SERVERLESS_NEG => 'SERVERLESS_NEG',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/DropInfo/Cause.php b/NetworkManagement/src/V1/DropInfo/Cause.php
index 02db2ebcb8da..bd07f7b1f235 100644
--- a/NetworkManagement/src/V1/DropInfo/Cause.php
+++ b/NetworkManagement/src/V1/DropInfo/Cause.php
@@ -97,6 +97,13 @@ class Cause
* Generated from protobuf enum FORWARDING_RULE_MISMATCH = 11;
*/
const FORWARDING_RULE_MISMATCH = 11;
+ /**
+ * Packet could be dropped because it was sent from a different region
+ * to a regional forwarding without global access.
+ *
+ * Generated from protobuf enum FORWARDING_RULE_REGION_MISMATCH = 25;
+ */
+ const FORWARDING_RULE_REGION_MISMATCH = 25;
/**
* Forwarding rule does not have backends configured.
*
@@ -119,6 +126,18 @@ class Cause
* Generated from protobuf enum INSTANCE_NOT_RUNNING = 14;
*/
const INSTANCE_NOT_RUNNING = 14;
+ /**
+ * Packet sent from or to a GKE cluster that is not in running state.
+ *
+ * Generated from protobuf enum GKE_CLUSTER_NOT_RUNNING = 27;
+ */
+ const GKE_CLUSTER_NOT_RUNNING = 27;
+ /**
+ * Packet sent from or to a Cloud SQL instance that is not in running state.
+ *
+ * Generated from protobuf enum CLOUD_SQL_INSTANCE_NOT_RUNNING = 28;
+ */
+ const CLOUD_SQL_INSTANCE_NOT_RUNNING = 28;
/**
* The type of traffic is blocked and the user cannot configure a firewall
* rule to enable it. See [Always blocked
@@ -165,6 +184,20 @@ class Cause
* Generated from protobuf enum GOOGLE_MANAGED_SERVICE_NO_PEERING = 20;
*/
const GOOGLE_MANAGED_SERVICE_NO_PEERING = 20;
+ /**
+ * Packet was dropped because the Google-managed service uses Private
+ * Service Connect (PSC), but the PSC endpoint is not found in the project.
+ *
+ * Generated from protobuf enum GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38;
+ */
+ const GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38;
+ /**
+ * Packet was dropped because the GKE cluster uses Private Service Connect
+ * (PSC), but the PSC endpoint is not found in the project.
+ *
+ * Generated from protobuf enum GKE_PSC_ENDPOINT_MISSING = 36;
+ */
+ const GKE_PSC_ENDPOINT_MISSING = 36;
/**
* Packet was dropped because the Cloud SQL instance has neither a private
* nor a public IP address.
@@ -172,6 +205,95 @@ class Cause
* Generated from protobuf enum CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;
*/
const CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;
+ /**
+ * Packet was dropped because a GKE cluster private endpoint is
+ * unreachable from a region different from the cluster's region.
+ *
+ * Generated from protobuf enum GKE_CONTROL_PLANE_REGION_MISMATCH = 30;
+ */
+ const GKE_CONTROL_PLANE_REGION_MISMATCH = 30;
+ /**
+ * Packet sent from a public GKE cluster control plane to a private
+ * IP address.
+ *
+ * Generated from protobuf enum PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31;
+ */
+ const PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31;
+ /**
+ * Packet was dropped because there is no route from a GKE cluster
+ * control plane to a destination network.
+ *
+ * Generated from protobuf enum GKE_CONTROL_PLANE_NO_ROUTE = 32;
+ */
+ const GKE_CONTROL_PLANE_NO_ROUTE = 32;
+ /**
+ * Packet sent from a Cloud SQL instance to an external IP address is not
+ * allowed. The Cloud SQL instance is not configured to send packets to
+ * external IP addresses.
+ *
+ * Generated from protobuf enum CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33;
+ */
+ const CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33;
+ /**
+ * Packet sent from a Cloud SQL instance with only a public IP address to a
+ * private IP address.
+ *
+ * Generated from protobuf enum PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34;
+ */
+ const PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34;
+ /**
+ * Packet was dropped because there is no route from a Cloud SQL
+ * instance to a destination network.
+ *
+ * Generated from protobuf enum CLOUD_SQL_INSTANCE_NO_ROUTE = 35;
+ */
+ const CLOUD_SQL_INSTANCE_NO_ROUTE = 35;
+ /**
+ * Packet could be dropped because the Cloud Function is not in an active
+ * status.
+ *
+ * Generated from protobuf enum CLOUD_FUNCTION_NOT_ACTIVE = 22;
+ */
+ const CLOUD_FUNCTION_NOT_ACTIVE = 22;
+ /**
+ * Packet could be dropped because no VPC connector is set.
+ *
+ * Generated from protobuf enum VPC_CONNECTOR_NOT_SET = 23;
+ */
+ const VPC_CONNECTOR_NOT_SET = 23;
+ /**
+ * Packet could be dropped because the VPC connector is not in a running
+ * state.
+ *
+ * Generated from protobuf enum VPC_CONNECTOR_NOT_RUNNING = 24;
+ */
+ const VPC_CONNECTOR_NOT_RUNNING = 24;
+ /**
+ * The Private Service Connect endpoint is in a project that is not approved
+ * to connect to the service.
+ *
+ * Generated from protobuf enum PSC_CONNECTION_NOT_ACCEPTED = 26;
+ */
+ const PSC_CONNECTION_NOT_ACCEPTED = 26;
+ /**
+ * Packet sent from a Cloud Run revision that is not ready.
+ *
+ * Generated from protobuf enum CLOUD_RUN_REVISION_NOT_READY = 29;
+ */
+ const CLOUD_RUN_REVISION_NOT_READY = 29;
+ /**
+ * Packet was dropped inside Private Service Connect service producer.
+ *
+ * Generated from protobuf enum DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37;
+ */
+ const DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37;
+ /**
+ * Packet sent to a load balancer, which requires a proxy-only subnet and
+ * the subnet is not found.
+ *
+ * Generated from protobuf enum LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39;
+ */
+ const LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39;
private static $valueToName = [
self::CAUSE_UNSPECIFIED => 'CAUSE_UNSPECIFIED',
@@ -186,16 +308,34 @@ class Cause
self::NO_EXTERNAL_ADDRESS => 'NO_EXTERNAL_ADDRESS',
self::UNKNOWN_INTERNAL_ADDRESS => 'UNKNOWN_INTERNAL_ADDRESS',
self::FORWARDING_RULE_MISMATCH => 'FORWARDING_RULE_MISMATCH',
+ self::FORWARDING_RULE_REGION_MISMATCH => 'FORWARDING_RULE_REGION_MISMATCH',
self::FORWARDING_RULE_NO_INSTANCES => 'FORWARDING_RULE_NO_INSTANCES',
self::FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK => 'FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK',
self::INSTANCE_NOT_RUNNING => 'INSTANCE_NOT_RUNNING',
+ self::GKE_CLUSTER_NOT_RUNNING => 'GKE_CLUSTER_NOT_RUNNING',
+ self::CLOUD_SQL_INSTANCE_NOT_RUNNING => 'CLOUD_SQL_INSTANCE_NOT_RUNNING',
self::TRAFFIC_TYPE_BLOCKED => 'TRAFFIC_TYPE_BLOCKED',
self::GKE_MASTER_UNAUTHORIZED_ACCESS => 'GKE_MASTER_UNAUTHORIZED_ACCESS',
self::CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS => 'CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS',
self::DROPPED_INSIDE_GKE_SERVICE => 'DROPPED_INSIDE_GKE_SERVICE',
self::DROPPED_INSIDE_CLOUD_SQL_SERVICE => 'DROPPED_INSIDE_CLOUD_SQL_SERVICE',
self::GOOGLE_MANAGED_SERVICE_NO_PEERING => 'GOOGLE_MANAGED_SERVICE_NO_PEERING',
+ self::GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT => 'GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT',
+ self::GKE_PSC_ENDPOINT_MISSING => 'GKE_PSC_ENDPOINT_MISSING',
self::CLOUD_SQL_INSTANCE_NO_IP_ADDRESS => 'CLOUD_SQL_INSTANCE_NO_IP_ADDRESS',
+ self::GKE_CONTROL_PLANE_REGION_MISMATCH => 'GKE_CONTROL_PLANE_REGION_MISMATCH',
+ self::PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION => 'PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION',
+ self::GKE_CONTROL_PLANE_NO_ROUTE => 'GKE_CONTROL_PLANE_NO_ROUTE',
+ self::CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC => 'CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC',
+ self::PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION => 'PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION',
+ self::CLOUD_SQL_INSTANCE_NO_ROUTE => 'CLOUD_SQL_INSTANCE_NO_ROUTE',
+ self::CLOUD_FUNCTION_NOT_ACTIVE => 'CLOUD_FUNCTION_NOT_ACTIVE',
+ self::VPC_CONNECTOR_NOT_SET => 'VPC_CONNECTOR_NOT_SET',
+ self::VPC_CONNECTOR_NOT_RUNNING => 'VPC_CONNECTOR_NOT_RUNNING',
+ self::PSC_CONNECTION_NOT_ACCEPTED => 'PSC_CONNECTION_NOT_ACCEPTED',
+ self::CLOUD_RUN_REVISION_NOT_READY => 'CLOUD_RUN_REVISION_NOT_READY',
+ self::DROPPED_INSIDE_PSC_SERVICE_PRODUCER => 'DROPPED_INSIDE_PSC_SERVICE_PRODUCER',
+ self::LOAD_BALANCER_HAS_NO_PROXY_SUBNET => 'LOAD_BALANCER_HAS_NO_PROXY_SUBNET',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/Endpoint.php b/NetworkManagement/src/V1/Endpoint.php
index 7ba76f33b7f2..4b1566524ae0 100644
--- a/NetworkManagement/src/V1/Endpoint.php
+++ b/NetworkManagement/src/V1/Endpoint.php
@@ -18,7 +18,8 @@ class Endpoint extends \Google\Protobuf\Internal\Message
/**
* The IP address of the endpoint, which can be an external or internal IP.
* An IPv6 address is only allowed when the test's destination is a
- * [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
+ * [global load balancer
+ * VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
*
* Generated from protobuf field string ip_address = 1;
*/
@@ -47,6 +48,25 @@ class Endpoint extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string forwarding_rule = 13;
*/
private $forwarding_rule = '';
+ /**
+ * Output only. Specifies the type of the target of the forwarding rule.
+ *
+ * Generated from protobuf field optional .google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $forwarding_rule_target = null;
+ /**
+ * Output only. ID of the load balancer the forwarding rule points to. Empty
+ * for forwarding rules not related to load balancers.
+ *
+ * Generated from protobuf field optional string load_balancer_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $load_balancer_id = null;
+ /**
+ * Output only. Type of the load balancer the forwarding rule points to.
+ *
+ * Generated from protobuf field optional .google.cloud.networkmanagement.v1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $load_balancer_type = null;
/**
* A cluster URI for [Google Kubernetes Engine
* master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
@@ -60,6 +80,26 @@ class Endpoint extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string cloud_sql_instance = 8;
*/
private $cloud_sql_instance = '';
+ /**
+ * A [Cloud Function](https://cloud.google.com/functions).
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ */
+ private $cloud_function = null;
+ /**
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
+ */
+ private $app_engine_version = null;
+ /**
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
+ */
+ private $cloud_run_revision = null;
/**
* A Compute Engine network URI.
*
@@ -98,7 +138,8 @@ class Endpoint extends \Google\Protobuf\Internal\Message
* @type string $ip_address
* The IP address of the endpoint, which can be an external or internal IP.
* An IPv6 address is only allowed when the test's destination is a
- * [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
+ * [global load balancer
+ * VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
* @type int $port
* The IP protocol port of the endpoint.
* Only applicable when protocol is TCP or UDP.
@@ -111,11 +152,26 @@ class Endpoint extends \Google\Protobuf\Internal\Message
* services to provide forwarding information in the control plane. Format:
* projects/{project}/global/forwardingRules/{id} or
* projects/{project}/regions/{region}/forwardingRules/{id}
+ * @type int $forwarding_rule_target
+ * Output only. Specifies the type of the target of the forwarding rule.
+ * @type string $load_balancer_id
+ * Output only. ID of the load balancer the forwarding rule points to. Empty
+ * for forwarding rules not related to load balancers.
+ * @type int $load_balancer_type
+ * Output only. Type of the load balancer the forwarding rule points to.
* @type string $gke_master_cluster
* A cluster URI for [Google Kubernetes Engine
* master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
* @type string $cloud_sql_instance
* A [Cloud SQL](https://cloud.google.com/sql) instance URI.
+ * @type \Google\Cloud\NetworkManagement\V1\Endpoint\CloudFunctionEndpoint $cloud_function
+ * A [Cloud Function](https://cloud.google.com/functions).
+ * @type \Google\Cloud\NetworkManagement\V1\Endpoint\AppEngineVersionEndpoint $app_engine_version
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
+ * @type \Google\Cloud\NetworkManagement\V1\Endpoint\CloudRunRevisionEndpoint $cloud_run_revision
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
* @type string $network
* A Compute Engine network URI.
* @type int $network_type
@@ -142,7 +198,8 @@ public function __construct($data = NULL) {
/**
* The IP address of the endpoint, which can be an external or internal IP.
* An IPv6 address is only allowed when the test's destination is a
- * [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
+ * [global load balancer
+ * VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
*
* Generated from protobuf field string ip_address = 1;
* @return string
@@ -155,7 +212,8 @@ public function getIpAddress()
/**
* The IP address of the endpoint, which can be an external or internal IP.
* An IPv6 address is only allowed when the test's destination is a
- * [global load balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
+ * [global load balancer
+ * VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
*
* Generated from protobuf field string ip_address = 1;
* @param string $var
@@ -259,6 +317,116 @@ public function setForwardingRule($var)
return $this;
}
+ /**
+ * Output only. Specifies the type of the target of the forwarding rule.
+ *
+ * Generated from protobuf field optional .google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getForwardingRuleTarget()
+ {
+ return isset($this->forwarding_rule_target) ? $this->forwarding_rule_target : 0;
+ }
+
+ public function hasForwardingRuleTarget()
+ {
+ return isset($this->forwarding_rule_target);
+ }
+
+ public function clearForwardingRuleTarget()
+ {
+ unset($this->forwarding_rule_target);
+ }
+
+ /**
+ * Output only. Specifies the type of the target of the forwarding rule.
+ *
+ * Generated from protobuf field optional .google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget forwarding_rule_target = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setForwardingRuleTarget($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\NetworkManagement\V1\Endpoint\ForwardingRuleTarget::class);
+ $this->forwarding_rule_target = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. ID of the load balancer the forwarding rule points to. Empty
+ * for forwarding rules not related to load balancers.
+ *
+ * Generated from protobuf field optional string load_balancer_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLoadBalancerId()
+ {
+ return isset($this->load_balancer_id) ? $this->load_balancer_id : '';
+ }
+
+ public function hasLoadBalancerId()
+ {
+ return isset($this->load_balancer_id);
+ }
+
+ public function clearLoadBalancerId()
+ {
+ unset($this->load_balancer_id);
+ }
+
+ /**
+ * Output only. ID of the load balancer the forwarding rule points to. Empty
+ * for forwarding rules not related to load balancers.
+ *
+ * Generated from protobuf field optional string load_balancer_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLoadBalancerId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->load_balancer_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Type of the load balancer the forwarding rule points to.
+ *
+ * Generated from protobuf field optional .google.cloud.networkmanagement.v1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getLoadBalancerType()
+ {
+ return isset($this->load_balancer_type) ? $this->load_balancer_type : 0;
+ }
+
+ public function hasLoadBalancerType()
+ {
+ return isset($this->load_balancer_type);
+ }
+
+ public function clearLoadBalancerType()
+ {
+ unset($this->load_balancer_type);
+ }
+
+ /**
+ * Output only. Type of the load balancer the forwarding rule points to.
+ *
+ * Generated from protobuf field optional .google.cloud.networkmanagement.v1.LoadBalancerType load_balancer_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setLoadBalancerType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\NetworkManagement\V1\LoadBalancerType::class);
+ $this->load_balancer_type = $var;
+
+ return $this;
+ }
+
/**
* A cluster URI for [Google Kubernetes Engine
* master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
@@ -313,6 +481,118 @@ public function setCloudSqlInstance($var)
return $this;
}
+ /**
+ * A [Cloud Function](https://cloud.google.com/functions).
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ * @return \Google\Cloud\NetworkManagement\V1\Endpoint\CloudFunctionEndpoint|null
+ */
+ public function getCloudFunction()
+ {
+ return $this->cloud_function;
+ }
+
+ public function hasCloudFunction()
+ {
+ return isset($this->cloud_function);
+ }
+
+ public function clearCloudFunction()
+ {
+ unset($this->cloud_function);
+ }
+
+ /**
+ * A [Cloud Function](https://cloud.google.com/functions).
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint cloud_function = 10;
+ * @param \Google\Cloud\NetworkManagement\V1\Endpoint\CloudFunctionEndpoint $var
+ * @return $this
+ */
+ public function setCloudFunction($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\Endpoint\CloudFunctionEndpoint::class);
+ $this->cloud_function = $var;
+
+ return $this;
+ }
+
+ /**
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
+ * @return \Google\Cloud\NetworkManagement\V1\Endpoint\AppEngineVersionEndpoint|null
+ */
+ public function getAppEngineVersion()
+ {
+ return $this->app_engine_version;
+ }
+
+ public function hasAppEngineVersion()
+ {
+ return isset($this->app_engine_version);
+ }
+
+ public function clearAppEngineVersion()
+ {
+ unset($this->app_engine_version);
+ }
+
+ /**
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint app_engine_version = 11;
+ * @param \Google\Cloud\NetworkManagement\V1\Endpoint\AppEngineVersionEndpoint $var
+ * @return $this
+ */
+ public function setAppEngineVersion($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\Endpoint\AppEngineVersionEndpoint::class);
+ $this->app_engine_version = $var;
+
+ return $this;
+ }
+
+ /**
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
+ * @return \Google\Cloud\NetworkManagement\V1\Endpoint\CloudRunRevisionEndpoint|null
+ */
+ public function getCloudRunRevision()
+ {
+ return $this->cloud_run_revision;
+ }
+
+ public function hasCloudRunRevision()
+ {
+ return isset($this->cloud_run_revision);
+ }
+
+ public function clearCloudRunRevision()
+ {
+ unset($this->cloud_run_revision);
+ }
+
+ /**
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint cloud_run_revision = 12;
+ * @param \Google\Cloud\NetworkManagement\V1\Endpoint\CloudRunRevisionEndpoint $var
+ * @return $this
+ */
+ public function setCloudRunRevision($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\Endpoint\CloudRunRevisionEndpoint::class);
+ $this->cloud_run_revision = $var;
+
+ return $this;
+ }
+
/**
* A Compute Engine network URI.
*
diff --git a/NetworkManagement/src/V1/Endpoint/AppEngineVersionEndpoint.php b/NetworkManagement/src/V1/Endpoint/AppEngineVersionEndpoint.php
new file mode 100644
index 000000000000..558dbd45a865
--- /dev/null
+++ b/NetworkManagement/src/V1/Endpoint/AppEngineVersionEndpoint.php
@@ -0,0 +1,76 @@
+google.cloud.networkmanagement.v1.Endpoint.AppEngineVersionEndpoint
+ */
+class AppEngineVersionEndpoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
+ * name.
+ *
+ * Generated from protobuf field string uri = 1;
+ */
+ private $uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $uri
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
+ * name.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
+ * name.
+ *
+ * Generated from protobuf field string uri = 1;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * An [App Engine](https://cloud.google.com/appengine) [service
+ * version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions)
+ * name.
+ *
+ * Generated from protobuf field string uri = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+}
+
+
diff --git a/NetworkManagement/src/V1/Endpoint/CloudFunctionEndpoint.php b/NetworkManagement/src/V1/Endpoint/CloudFunctionEndpoint.php
new file mode 100644
index 000000000000..fd78e156970f
--- /dev/null
+++ b/NetworkManagement/src/V1/Endpoint/CloudFunctionEndpoint.php
@@ -0,0 +1,68 @@
+google.cloud.networkmanagement.v1.Endpoint.CloudFunctionEndpoint
+ */
+class CloudFunctionEndpoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A [Cloud Function](https://cloud.google.com/functions) name.
+ *
+ * Generated from protobuf field string uri = 1;
+ */
+ private $uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $uri
+ * A [Cloud Function](https://cloud.google.com/functions) name.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A [Cloud Function](https://cloud.google.com/functions) name.
+ *
+ * Generated from protobuf field string uri = 1;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * A [Cloud Function](https://cloud.google.com/functions) name.
+ *
+ * Generated from protobuf field string uri = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+}
+
+
diff --git a/NetworkManagement/src/V1/Endpoint/CloudRunRevisionEndpoint.php b/NetworkManagement/src/V1/Endpoint/CloudRunRevisionEndpoint.php
new file mode 100644
index 000000000000..679c41dbf334
--- /dev/null
+++ b/NetworkManagement/src/V1/Endpoint/CloudRunRevisionEndpoint.php
@@ -0,0 +1,80 @@
+google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint
+ */
+class CloudRunRevisionEndpoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ * URI. The format is:
+ * projects/{project}/locations/{location}/revisions/{revision}
+ *
+ * Generated from protobuf field string uri = 1;
+ */
+ private $uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $uri
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ * URI. The format is:
+ * projects/{project}/locations/{location}/revisions/{revision}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ * URI. The format is:
+ * projects/{project}/locations/{location}/revisions/{revision}
+ *
+ * Generated from protobuf field string uri = 1;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * A [Cloud Run](https://cloud.google.com/run)
+ * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
+ * URI. The format is:
+ * projects/{project}/locations/{location}/revisions/{revision}
+ *
+ * Generated from protobuf field string uri = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+}
+
+
diff --git a/NetworkManagement/src/V1/Endpoint/ForwardingRuleTarget.php b/NetworkManagement/src/V1/Endpoint/ForwardingRuleTarget.php
new file mode 100644
index 000000000000..7e298535af33
--- /dev/null
+++ b/NetworkManagement/src/V1/Endpoint/ForwardingRuleTarget.php
@@ -0,0 +1,77 @@
+google.cloud.networkmanagement.v1.Endpoint.ForwardingRuleTarget
+ */
+class ForwardingRuleTarget
+{
+ /**
+ * Forwarding rule target is unknown.
+ *
+ * Generated from protobuf enum FORWARDING_RULE_TARGET_UNSPECIFIED = 0;
+ */
+ const FORWARDING_RULE_TARGET_UNSPECIFIED = 0;
+ /**
+ * Compute Engine instance for protocol forwarding.
+ *
+ * Generated from protobuf enum INSTANCE = 1;
+ */
+ const INSTANCE = 1;
+ /**
+ * Load Balancer. The specific type can be found from [load_balancer_type]
+ * [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type].
+ *
+ * Generated from protobuf enum LOAD_BALANCER = 2;
+ */
+ const LOAD_BALANCER = 2;
+ /**
+ * Classic Cloud VPN Gateway.
+ *
+ * Generated from protobuf enum VPN_GATEWAY = 3;
+ */
+ const VPN_GATEWAY = 3;
+ /**
+ * Forwarding Rule is a Private Service Connect endpoint.
+ *
+ * Generated from protobuf enum PSC = 4;
+ */
+ const PSC = 4;
+
+ private static $valueToName = [
+ self::FORWARDING_RULE_TARGET_UNSPECIFIED => 'FORWARDING_RULE_TARGET_UNSPECIFIED',
+ self::INSTANCE => 'INSTANCE',
+ self::LOAD_BALANCER => 'LOAD_BALANCER',
+ self::VPN_GATEWAY => 'VPN_GATEWAY',
+ self::PSC => 'PSC',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+
diff --git a/NetworkManagement/src/V1/EndpointInfo.php b/NetworkManagement/src/V1/EndpointInfo.php
index 8c448cf33b09..2add6dc1f2a0 100644
--- a/NetworkManagement/src/V1/EndpointInfo.php
+++ b/NetworkManagement/src/V1/EndpointInfo.php
@@ -59,6 +59,12 @@ class EndpointInfo extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string destination_network_uri = 7;
*/
private $destination_network_uri = '';
+ /**
+ * URI of the source telemetry agent this packet originates from.
+ *
+ * Generated from protobuf field string source_agent_uri = 8;
+ */
+ private $source_agent_uri = '';
/**
* Constructor.
@@ -80,6 +86,8 @@ class EndpointInfo extends \Google\Protobuf\Internal\Message
* URI of the network where this packet originates from.
* @type string $destination_network_uri
* URI of the network where this packet is sent to.
+ * @type string $source_agent_uri
+ * URI of the source telemetry agent this packet originates from.
* }
*/
public function __construct($data = NULL) {
@@ -269,5 +277,31 @@ public function setDestinationNetworkUri($var)
return $this;
}
+ /**
+ * URI of the source telemetry agent this packet originates from.
+ *
+ * Generated from protobuf field string source_agent_uri = 8;
+ * @return string
+ */
+ public function getSourceAgentUri()
+ {
+ return $this->source_agent_uri;
+ }
+
+ /**
+ * URI of the source telemetry agent this packet originates from.
+ *
+ * Generated from protobuf field string source_agent_uri = 8;
+ * @param string $var
+ * @return $this
+ */
+ public function setSourceAgentUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source_agent_uri = $var;
+
+ return $this;
+ }
+
}
diff --git a/NetworkManagement/src/V1/FirewallInfo/FirewallRuleType.php b/NetworkManagement/src/V1/FirewallInfo/FirewallRuleType.php
index c101d2c3e580..b84f404ffaaa 100644
--- a/NetworkManagement/src/V1/FirewallInfo/FirewallRuleType.php
+++ b/NetworkManagement/src/V1/FirewallInfo/FirewallRuleType.php
@@ -43,12 +43,22 @@ class FirewallRuleType
* Generated from protobuf enum IMPLIED_VPC_FIREWALL_RULE = 3;
*/
const IMPLIED_VPC_FIREWALL_RULE = 3;
+ /**
+ * Implicit firewall rules that are managed by serverless VPC access to
+ * allow ingress access. They are not visible in the Google Cloud console.
+ * For details, see [VPC connector's implicit
+ * rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
+ *
+ * Generated from protobuf enum SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4;
+ */
+ const SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4;
private static $valueToName = [
self::FIREWALL_RULE_TYPE_UNSPECIFIED => 'FIREWALL_RULE_TYPE_UNSPECIFIED',
self::HIERARCHICAL_FIREWALL_POLICY_RULE => 'HIERARCHICAL_FIREWALL_POLICY_RULE',
self::VPC_FIREWALL_RULE => 'VPC_FIREWALL_RULE',
self::IMPLIED_VPC_FIREWALL_RULE => 'IMPLIED_VPC_FIREWALL_RULE',
+ self::SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE => 'SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/ForwardInfo/Target.php b/NetworkManagement/src/V1/ForwardInfo/Target.php
index 0b9410924eb3..fd7f27fd004b 100644
--- a/NetworkManagement/src/V1/ForwardInfo/Target.php
+++ b/NetworkManagement/src/V1/ForwardInfo/Target.php
@@ -55,6 +55,18 @@ class Target
* Generated from protobuf enum CLOUD_SQL_INSTANCE = 6;
*/
const CLOUD_SQL_INSTANCE = 6;
+ /**
+ * Forwarded to a VPC network in another project.
+ *
+ * Generated from protobuf enum ANOTHER_PROJECT = 7;
+ */
+ const ANOTHER_PROJECT = 7;
+ /**
+ * Forwarded to an NCC Hub.
+ *
+ * Generated from protobuf enum NCC_HUB = 8;
+ */
+ const NCC_HUB = 8;
private static $valueToName = [
self::TARGET_UNSPECIFIED => 'TARGET_UNSPECIFIED',
@@ -64,6 +76,8 @@ class Target
self::GKE_MASTER => 'GKE_MASTER',
self::IMPORTED_CUSTOM_ROUTE_NEXT_HOP => 'IMPORTED_CUSTOM_ROUTE_NEXT_HOP',
self::CLOUD_SQL_INSTANCE => 'CLOUD_SQL_INSTANCE',
+ self::ANOTHER_PROJECT => 'ANOTHER_PROJECT',
+ self::NCC_HUB => 'NCC_HUB',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/LatencyDistribution.php b/NetworkManagement/src/V1/LatencyDistribution.php
new file mode 100644
index 000000000000..0c62df4ba113
--- /dev/null
+++ b/NetworkManagement/src/V1/LatencyDistribution.php
@@ -0,0 +1,67 @@
+google.cloud.networkmanagement.v1.LatencyDistribution
+ */
+class LatencyDistribution extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Representative latency percentiles.
+ *
+ * Generated from protobuf field repeated .google.cloud.networkmanagement.v1.LatencyPercentile latency_percentiles = 1;
+ */
+ private $latency_percentiles;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\NetworkManagement\V1\LatencyPercentile>|\Google\Protobuf\Internal\RepeatedField $latency_percentiles
+ * Representative latency percentiles.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Representative latency percentiles.
+ *
+ * Generated from protobuf field repeated .google.cloud.networkmanagement.v1.LatencyPercentile latency_percentiles = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLatencyPercentiles()
+ {
+ return $this->latency_percentiles;
+ }
+
+ /**
+ * Representative latency percentiles.
+ *
+ * Generated from protobuf field repeated .google.cloud.networkmanagement.v1.LatencyPercentile latency_percentiles = 1;
+ * @param array<\Google\Cloud\NetworkManagement\V1\LatencyPercentile>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLatencyPercentiles($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\NetworkManagement\V1\LatencyPercentile::class);
+ $this->latency_percentiles = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/NetworkManagement/src/V1/LatencyPercentile.php b/NetworkManagement/src/V1/LatencyPercentile.php
new file mode 100644
index 000000000000..4e2fd48e530d
--- /dev/null
+++ b/NetworkManagement/src/V1/LatencyPercentile.php
@@ -0,0 +1,109 @@
+google.cloud.networkmanagement.v1.LatencyPercentile
+ */
+class LatencyPercentile extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Percentage of samples this data point applies to.
+ *
+ * Generated from protobuf field int32 percent = 1;
+ */
+ private $percent = 0;
+ /**
+ * percent-th percentile of latency observed, in microseconds.
+ * Fraction of percent/100 of samples have latency lower or
+ * equal to the value of this field.
+ *
+ * Generated from protobuf field int64 latency_micros = 2;
+ */
+ private $latency_micros = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $percent
+ * Percentage of samples this data point applies to.
+ * @type int|string $latency_micros
+ * percent-th percentile of latency observed, in microseconds.
+ * Fraction of percent/100 of samples have latency lower or
+ * equal to the value of this field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Percentage of samples this data point applies to.
+ *
+ * Generated from protobuf field int32 percent = 1;
+ * @return int
+ */
+ public function getPercent()
+ {
+ return $this->percent;
+ }
+
+ /**
+ * Percentage of samples this data point applies to.
+ *
+ * Generated from protobuf field int32 percent = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setPercent($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->percent = $var;
+
+ return $this;
+ }
+
+ /**
+ * percent-th percentile of latency observed, in microseconds.
+ * Fraction of percent/100 of samples have latency lower or
+ * equal to the value of this field.
+ *
+ * Generated from protobuf field int64 latency_micros = 2;
+ * @return int|string
+ */
+ public function getLatencyMicros()
+ {
+ return $this->latency_micros;
+ }
+
+ /**
+ * percent-th percentile of latency observed, in microseconds.
+ * Fraction of percent/100 of samples have latency lower or
+ * equal to the value of this field.
+ *
+ * Generated from protobuf field int64 latency_micros = 2;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setLatencyMicros($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->latency_micros = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/NetworkManagement/src/V1/LoadBalancerInfo/BackendType.php b/NetworkManagement/src/V1/LoadBalancerInfo/BackendType.php
index 94f5645357ea..b8df871ba059 100644
--- a/NetworkManagement/src/V1/LoadBalancerInfo/BackendType.php
+++ b/NetworkManagement/src/V1/LoadBalancerInfo/BackendType.php
@@ -31,11 +31,18 @@ class BackendType
* Generated from protobuf enum TARGET_POOL = 2;
*/
const TARGET_POOL = 2;
+ /**
+ * Target Instance as the load balancer's backend.
+ *
+ * Generated from protobuf enum TARGET_INSTANCE = 3;
+ */
+ const TARGET_INSTANCE = 3;
private static $valueToName = [
self::BACKEND_TYPE_UNSPECIFIED => 'BACKEND_TYPE_UNSPECIFIED',
self::BACKEND_SERVICE => 'BACKEND_SERVICE',
self::TARGET_POOL => 'TARGET_POOL',
+ self::TARGET_INSTANCE => 'TARGET_INSTANCE',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/LoadBalancerType.php b/NetworkManagement/src/V1/LoadBalancerType.php
new file mode 100644
index 000000000000..12dcb4c5e14b
--- /dev/null
+++ b/NetworkManagement/src/V1/LoadBalancerType.php
@@ -0,0 +1,120 @@
+google.cloud.networkmanagement.v1.LoadBalancerType
+ */
+class LoadBalancerType
+{
+ /**
+ * Forwarding rule points to a different target than a load balancer or a
+ * load balancer type is unknown.
+ *
+ * Generated from protobuf enum LOAD_BALANCER_TYPE_UNSPECIFIED = 0;
+ */
+ const LOAD_BALANCER_TYPE_UNSPECIFIED = 0;
+ /**
+ * Global external HTTP(S) load balancer.
+ *
+ * Generated from protobuf enum HTTPS_ADVANCED_LOAD_BALANCER = 1;
+ */
+ const HTTPS_ADVANCED_LOAD_BALANCER = 1;
+ /**
+ * Global external HTTP(S) load balancer (classic)
+ *
+ * Generated from protobuf enum HTTPS_LOAD_BALANCER = 2;
+ */
+ const HTTPS_LOAD_BALANCER = 2;
+ /**
+ * Regional external HTTP(S) load balancer.
+ *
+ * Generated from protobuf enum REGIONAL_HTTPS_LOAD_BALANCER = 3;
+ */
+ const REGIONAL_HTTPS_LOAD_BALANCER = 3;
+ /**
+ * Internal HTTP(S) load balancer.
+ *
+ * Generated from protobuf enum INTERNAL_HTTPS_LOAD_BALANCER = 4;
+ */
+ const INTERNAL_HTTPS_LOAD_BALANCER = 4;
+ /**
+ * External SSL proxy load balancer.
+ *
+ * Generated from protobuf enum SSL_PROXY_LOAD_BALANCER = 5;
+ */
+ const SSL_PROXY_LOAD_BALANCER = 5;
+ /**
+ * External TCP proxy load balancer.
+ *
+ * Generated from protobuf enum TCP_PROXY_LOAD_BALANCER = 6;
+ */
+ const TCP_PROXY_LOAD_BALANCER = 6;
+ /**
+ * Internal regional TCP proxy load balancer.
+ *
+ * Generated from protobuf enum INTERNAL_TCP_PROXY_LOAD_BALANCER = 7;
+ */
+ const INTERNAL_TCP_PROXY_LOAD_BALANCER = 7;
+ /**
+ * External TCP/UDP Network load balancer.
+ *
+ * Generated from protobuf enum NETWORK_LOAD_BALANCER = 8;
+ */
+ const NETWORK_LOAD_BALANCER = 8;
+ /**
+ * Target-pool based external TCP/UDP Network load balancer.
+ *
+ * Generated from protobuf enum LEGACY_NETWORK_LOAD_BALANCER = 9;
+ */
+ const LEGACY_NETWORK_LOAD_BALANCER = 9;
+ /**
+ * Internal TCP/UDP load balancer.
+ *
+ * Generated from protobuf enum TCP_UDP_INTERNAL_LOAD_BALANCER = 10;
+ */
+ const TCP_UDP_INTERNAL_LOAD_BALANCER = 10;
+
+ private static $valueToName = [
+ self::LOAD_BALANCER_TYPE_UNSPECIFIED => 'LOAD_BALANCER_TYPE_UNSPECIFIED',
+ self::HTTPS_ADVANCED_LOAD_BALANCER => 'HTTPS_ADVANCED_LOAD_BALANCER',
+ self::HTTPS_LOAD_BALANCER => 'HTTPS_LOAD_BALANCER',
+ self::REGIONAL_HTTPS_LOAD_BALANCER => 'REGIONAL_HTTPS_LOAD_BALANCER',
+ self::INTERNAL_HTTPS_LOAD_BALANCER => 'INTERNAL_HTTPS_LOAD_BALANCER',
+ self::SSL_PROXY_LOAD_BALANCER => 'SSL_PROXY_LOAD_BALANCER',
+ self::TCP_PROXY_LOAD_BALANCER => 'TCP_PROXY_LOAD_BALANCER',
+ self::INTERNAL_TCP_PROXY_LOAD_BALANCER => 'INTERNAL_TCP_PROXY_LOAD_BALANCER',
+ self::NETWORK_LOAD_BALANCER => 'NETWORK_LOAD_BALANCER',
+ self::LEGACY_NETWORK_LOAD_BALANCER => 'LEGACY_NETWORK_LOAD_BALANCER',
+ self::TCP_UDP_INTERNAL_LOAD_BALANCER => 'TCP_UDP_INTERNAL_LOAD_BALANCER',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/NetworkManagement/src/V1/ProbingDetails.php b/NetworkManagement/src/V1/ProbingDetails.php
new file mode 100644
index 000000000000..b68b14636883
--- /dev/null
+++ b/NetworkManagement/src/V1/ProbingDetails.php
@@ -0,0 +1,417 @@
+google.cloud.networkmanagement.v1.ProbingDetails
+ */
+class ProbingDetails extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The overall result of active probing.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.ProbingResult result = 1;
+ */
+ private $result = 0;
+ /**
+ * The time that reachability was assessed through active probing.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp verify_time = 2;
+ */
+ private $verify_time = null;
+ /**
+ * Details about an internal failure or the cancellation of active probing.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ */
+ private $error = null;
+ /**
+ * The reason probing was aborted.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;
+ */
+ private $abort_cause = 0;
+ /**
+ * Number of probes sent.
+ *
+ * Generated from protobuf field int32 sent_probe_count = 5;
+ */
+ private $sent_probe_count = 0;
+ /**
+ * Number of probes that reached the destination.
+ *
+ * Generated from protobuf field int32 successful_probe_count = 6;
+ */
+ private $successful_probe_count = 0;
+ /**
+ * The source and destination endpoints derived from the test input and used
+ * for active probing.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;
+ */
+ private $endpoint_info = null;
+ /**
+ * Latency as measured by active probing in one direction:
+ * from the source to the destination endpoint.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;
+ */
+ private $probing_latency = null;
+ /**
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ */
+ private $destination_egress_location = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $result
+ * The overall result of active probing.
+ * @type \Google\Protobuf\Timestamp $verify_time
+ * The time that reachability was assessed through active probing.
+ * @type \Google\Rpc\Status $error
+ * Details about an internal failure or the cancellation of active probing.
+ * @type int $abort_cause
+ * The reason probing was aborted.
+ * @type int $sent_probe_count
+ * Number of probes sent.
+ * @type int $successful_probe_count
+ * Number of probes that reached the destination.
+ * @type \Google\Cloud\NetworkManagement\V1\EndpointInfo $endpoint_info
+ * The source and destination endpoints derived from the test input and used
+ * for active probing.
+ * @type \Google\Cloud\NetworkManagement\V1\LatencyDistribution $probing_latency
+ * Latency as measured by active probing in one direction:
+ * from the source to the destination endpoint.
+ * @type \Google\Cloud\NetworkManagement\V1\ProbingDetails\EdgeLocation $destination_egress_location
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The overall result of active probing.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.ProbingResult result = 1;
+ * @return int
+ */
+ public function getResult()
+ {
+ return $this->result;
+ }
+
+ /**
+ * The overall result of active probing.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.ProbingResult result = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setResult($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\NetworkManagement\V1\ProbingDetails\ProbingResult::class);
+ $this->result = $var;
+
+ return $this;
+ }
+
+ /**
+ * The time that reachability was assessed through active probing.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp verify_time = 2;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getVerifyTime()
+ {
+ return $this->verify_time;
+ }
+
+ public function hasVerifyTime()
+ {
+ return isset($this->verify_time);
+ }
+
+ public function clearVerifyTime()
+ {
+ unset($this->verify_time);
+ }
+
+ /**
+ * The time that reachability was assessed through active probing.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp verify_time = 2;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setVerifyTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->verify_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Details about an internal failure or the cancellation of active probing.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ * @return \Google\Rpc\Status|null
+ */
+ public function getError()
+ {
+ return $this->error;
+ }
+
+ public function hasError()
+ {
+ return isset($this->error);
+ }
+
+ public function clearError()
+ {
+ unset($this->error);
+ }
+
+ /**
+ * Details about an internal failure or the cancellation of active probing.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ * @param \Google\Rpc\Status $var
+ * @return $this
+ */
+ public function setError($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Rpc\Status::class);
+ $this->error = $var;
+
+ return $this;
+ }
+
+ /**
+ * The reason probing was aborted.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;
+ * @return int
+ */
+ public function getAbortCause()
+ {
+ return $this->abort_cause;
+ }
+
+ /**
+ * The reason probing was aborted.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause abort_cause = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setAbortCause($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\NetworkManagement\V1\ProbingDetails\ProbingAbortCause::class);
+ $this->abort_cause = $var;
+
+ return $this;
+ }
+
+ /**
+ * Number of probes sent.
+ *
+ * Generated from protobuf field int32 sent_probe_count = 5;
+ * @return int
+ */
+ public function getSentProbeCount()
+ {
+ return $this->sent_probe_count;
+ }
+
+ /**
+ * Number of probes sent.
+ *
+ * Generated from protobuf field int32 sent_probe_count = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setSentProbeCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->sent_probe_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Number of probes that reached the destination.
+ *
+ * Generated from protobuf field int32 successful_probe_count = 6;
+ * @return int
+ */
+ public function getSuccessfulProbeCount()
+ {
+ return $this->successful_probe_count;
+ }
+
+ /**
+ * Number of probes that reached the destination.
+ *
+ * Generated from protobuf field int32 successful_probe_count = 6;
+ * @param int $var
+ * @return $this
+ */
+ public function setSuccessfulProbeCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->successful_probe_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * The source and destination endpoints derived from the test input and used
+ * for active probing.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;
+ * @return \Google\Cloud\NetworkManagement\V1\EndpointInfo|null
+ */
+ public function getEndpointInfo()
+ {
+ return $this->endpoint_info;
+ }
+
+ public function hasEndpointInfo()
+ {
+ return isset($this->endpoint_info);
+ }
+
+ public function clearEndpointInfo()
+ {
+ unset($this->endpoint_info);
+ }
+
+ /**
+ * The source and destination endpoints derived from the test input and used
+ * for active probing.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 7;
+ * @param \Google\Cloud\NetworkManagement\V1\EndpointInfo $var
+ * @return $this
+ */
+ public function setEndpointInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\EndpointInfo::class);
+ $this->endpoint_info = $var;
+
+ return $this;
+ }
+
+ /**
+ * Latency as measured by active probing in one direction:
+ * from the source to the destination endpoint.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;
+ * @return \Google\Cloud\NetworkManagement\V1\LatencyDistribution|null
+ */
+ public function getProbingLatency()
+ {
+ return $this->probing_latency;
+ }
+
+ public function hasProbingLatency()
+ {
+ return isset($this->probing_latency);
+ }
+
+ public function clearProbingLatency()
+ {
+ unset($this->probing_latency);
+ }
+
+ /**
+ * Latency as measured by active probing in one direction:
+ * from the source to the destination endpoint.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.LatencyDistribution probing_latency = 8;
+ * @param \Google\Cloud\NetworkManagement\V1\LatencyDistribution $var
+ * @return $this
+ */
+ public function setProbingLatency($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\LatencyDistribution::class);
+ $this->probing_latency = $var;
+
+ return $this;
+ }
+
+ /**
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ * @return \Google\Cloud\NetworkManagement\V1\ProbingDetails\EdgeLocation|null
+ */
+ public function getDestinationEgressLocation()
+ {
+ return $this->destination_egress_location;
+ }
+
+ public function hasDestinationEgressLocation()
+ {
+ return isset($this->destination_egress_location);
+ }
+
+ public function clearDestinationEgressLocation()
+ {
+ unset($this->destination_egress_location);
+ }
+
+ /**
+ * The EdgeLocation from which a packet destined for/originating from the
+ * internet will egress/ingress the Google network.
+ * This will only be populated for a connectivity test which has an internet
+ * destination/source address.
+ * The absence of this field *must not* be used as an indication that the
+ * destination/source is part of the Google network.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation destination_egress_location = 9;
+ * @param \Google\Cloud\NetworkManagement\V1\ProbingDetails\EdgeLocation $var
+ * @return $this
+ */
+ public function setDestinationEgressLocation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\ProbingDetails\EdgeLocation::class);
+ $this->destination_egress_location = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/NetworkManagement/src/V1/ProbingDetails/EdgeLocation.php b/NetworkManagement/src/V1/ProbingDetails/EdgeLocation.php
new file mode 100644
index 000000000000..0308a318b40c
--- /dev/null
+++ b/NetworkManagement/src/V1/ProbingDetails/EdgeLocation.php
@@ -0,0 +1,69 @@
+google.cloud.networkmanagement.v1.ProbingDetails.EdgeLocation
+ */
+class EdgeLocation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of the metropolitan area.
+ *
+ * Generated from protobuf field string metropolitan_area = 1;
+ */
+ private $metropolitan_area = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $metropolitan_area
+ * Name of the metropolitan area.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\ConnectivityTest::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of the metropolitan area.
+ *
+ * Generated from protobuf field string metropolitan_area = 1;
+ * @return string
+ */
+ public function getMetropolitanArea()
+ {
+ return $this->metropolitan_area;
+ }
+
+ /**
+ * Name of the metropolitan area.
+ *
+ * Generated from protobuf field string metropolitan_area = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setMetropolitanArea($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->metropolitan_area = $var;
+
+ return $this;
+ }
+
+}
+
+
diff --git a/NetworkManagement/src/V1/ProbingDetails/ProbingAbortCause.php b/NetworkManagement/src/V1/ProbingDetails/ProbingAbortCause.php
new file mode 100644
index 000000000000..e276e95c12ea
--- /dev/null
+++ b/NetworkManagement/src/V1/ProbingDetails/ProbingAbortCause.php
@@ -0,0 +1,63 @@
+google.cloud.networkmanagement.v1.ProbingDetails.ProbingAbortCause
+ */
+class ProbingAbortCause
+{
+ /**
+ * No reason was specified.
+ *
+ * Generated from protobuf enum PROBING_ABORT_CAUSE_UNSPECIFIED = 0;
+ */
+ const PROBING_ABORT_CAUSE_UNSPECIFIED = 0;
+ /**
+ * The user lacks permission to access some of the
+ * network resources required to run the test.
+ *
+ * Generated from protobuf enum PERMISSION_DENIED = 1;
+ */
+ const PERMISSION_DENIED = 1;
+ /**
+ * No valid source endpoint could be derived from the request.
+ *
+ * Generated from protobuf enum NO_SOURCE_LOCATION = 2;
+ */
+ const NO_SOURCE_LOCATION = 2;
+
+ private static $valueToName = [
+ self::PROBING_ABORT_CAUSE_UNSPECIFIED => 'PROBING_ABORT_CAUSE_UNSPECIFIED',
+ self::PERMISSION_DENIED => 'PERMISSION_DENIED',
+ self::NO_SOURCE_LOCATION => 'NO_SOURCE_LOCATION',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+
diff --git a/NetworkManagement/src/V1/ProbingDetails/ProbingResult.php b/NetworkManagement/src/V1/ProbingDetails/ProbingResult.php
new file mode 100644
index 000000000000..f7151202c8ee
--- /dev/null
+++ b/NetworkManagement/src/V1/ProbingDetails/ProbingResult.php
@@ -0,0 +1,80 @@
+google.cloud.networkmanagement.v1.ProbingDetails.ProbingResult
+ */
+class ProbingResult
+{
+ /**
+ * No result was specified.
+ *
+ * Generated from protobuf enum PROBING_RESULT_UNSPECIFIED = 0;
+ */
+ const PROBING_RESULT_UNSPECIFIED = 0;
+ /**
+ * At least 95% of packets reached the destination.
+ *
+ * Generated from protobuf enum REACHABLE = 1;
+ */
+ const REACHABLE = 1;
+ /**
+ * No packets reached the destination.
+ *
+ * Generated from protobuf enum UNREACHABLE = 2;
+ */
+ const UNREACHABLE = 2;
+ /**
+ * Less than 95% of packets reached the destination.
+ *
+ * Generated from protobuf enum REACHABILITY_INCONSISTENT = 3;
+ */
+ const REACHABILITY_INCONSISTENT = 3;
+ /**
+ * Reachability could not be determined. Possible reasons are:
+ * * The user lacks permission to access some of the network resources
+ * required to run the test.
+ * * No valid source endpoint could be derived from the request.
+ * * An internal error occurred.
+ *
+ * Generated from protobuf enum UNDETERMINED = 4;
+ */
+ const UNDETERMINED = 4;
+
+ private static $valueToName = [
+ self::PROBING_RESULT_UNSPECIFIED => 'PROBING_RESULT_UNSPECIFIED',
+ self::REACHABLE => 'REACHABLE',
+ self::UNREACHABLE => 'UNREACHABLE',
+ self::REACHABILITY_INCONSISTENT => 'REACHABILITY_INCONSISTENT',
+ self::UNDETERMINED => 'UNDETERMINED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+
diff --git a/NetworkManagement/src/V1/RouteInfo.php b/NetworkManagement/src/V1/RouteInfo.php
index f5b768f852a2..7fea7ff7cfea 100644
--- a/NetworkManagement/src/V1/RouteInfo.php
+++ b/NetworkManagement/src/V1/RouteInfo.php
@@ -28,16 +28,22 @@ class RouteInfo extends \Google\Protobuf\Internal\Message
*/
private $next_hop_type = 0;
/**
- * Name of a Compute Engine route.
+ * Indicates where route is applicable.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;
+ */
+ private $route_scope = 0;
+ /**
+ * Name of a route.
*
* Generated from protobuf field string display_name = 1;
*/
private $display_name = '';
/**
- * URI of a Compute Engine route.
- * Dynamic route from cloud router does not have a URI.
+ * URI of a route.
+ * Dynamic, peering static and peering dynamic routes do not have an URI.
* Advertised route from Google Cloud VPC to on-premises network also does
- * not have a URI.
+ * not have an URI.
*
* Generated from protobuf field string uri = 2;
*/
@@ -55,7 +61,7 @@ class RouteInfo extends \Google\Protobuf\Internal\Message
*/
private $next_hop = '';
/**
- * URI of a Compute Engine network.
+ * URI of a Compute Engine network. NETWORK routes only.
*
* Generated from protobuf field string network_uri = 5;
*/
@@ -72,6 +78,42 @@ class RouteInfo extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated string instance_tags = 7;
*/
private $instance_tags;
+ /**
+ * Source IP address range of the route. Policy based routes only.
+ *
+ * Generated from protobuf field string src_ip_range = 10;
+ */
+ private $src_ip_range = '';
+ /**
+ * Destination port ranges of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string dest_port_ranges = 11;
+ */
+ private $dest_port_ranges;
+ /**
+ * Source port ranges of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string src_port_ranges = 12;
+ */
+ private $src_port_ranges;
+ /**
+ * Protocols of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string protocols = 13;
+ */
+ private $protocols;
+ /**
+ * URI of a NCC Hub. NCC_HUB routes only.
+ *
+ * Generated from protobuf field optional string ncc_hub_uri = 15;
+ */
+ private $ncc_hub_uri = null;
+ /**
+ * URI of a NCC Spoke. NCC_HUB routes only.
+ *
+ * Generated from protobuf field optional string ncc_spoke_uri = 16;
+ */
+ private $ncc_spoke_uri = null;
/**
* Constructor.
@@ -83,23 +125,37 @@ class RouteInfo extends \Google\Protobuf\Internal\Message
* Type of route.
* @type int $next_hop_type
* Type of next hop.
+ * @type int $route_scope
+ * Indicates where route is applicable.
* @type string $display_name
- * Name of a Compute Engine route.
+ * Name of a route.
* @type string $uri
- * URI of a Compute Engine route.
- * Dynamic route from cloud router does not have a URI.
+ * URI of a route.
+ * Dynamic, peering static and peering dynamic routes do not have an URI.
* Advertised route from Google Cloud VPC to on-premises network also does
- * not have a URI.
+ * not have an URI.
* @type string $dest_ip_range
* Destination IP range of the route.
* @type string $next_hop
* Next hop of the route.
* @type string $network_uri
- * URI of a Compute Engine network.
+ * URI of a Compute Engine network. NETWORK routes only.
* @type int $priority
* Priority of the route.
* @type array|\Google\Protobuf\Internal\RepeatedField $instance_tags
* Instance tags of the route.
+ * @type string $src_ip_range
+ * Source IP address range of the route. Policy based routes only.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $dest_port_ranges
+ * Destination port ranges of the route. Policy based routes only.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $src_port_ranges
+ * Source port ranges of the route. Policy based routes only.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $protocols
+ * Protocols of the route. Policy based routes only.
+ * @type string $ncc_hub_uri
+ * URI of a NCC Hub. NCC_HUB routes only.
+ * @type string $ncc_spoke_uri
+ * URI of a NCC Spoke. NCC_HUB routes only.
* }
*/
public function __construct($data = NULL) {
@@ -160,7 +216,33 @@ public function setNextHopType($var)
}
/**
- * Name of a Compute Engine route.
+ * Indicates where route is applicable.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;
+ * @return int
+ */
+ public function getRouteScope()
+ {
+ return $this->route_scope;
+ }
+
+ /**
+ * Indicates where route is applicable.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;
+ * @param int $var
+ * @return $this
+ */
+ public function setRouteScope($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\NetworkManagement\V1\RouteInfo\RouteScope::class);
+ $this->route_scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Name of a route.
*
* Generated from protobuf field string display_name = 1;
* @return string
@@ -171,7 +253,7 @@ public function getDisplayName()
}
/**
- * Name of a Compute Engine route.
+ * Name of a route.
*
* Generated from protobuf field string display_name = 1;
* @param string $var
@@ -186,10 +268,10 @@ public function setDisplayName($var)
}
/**
- * URI of a Compute Engine route.
- * Dynamic route from cloud router does not have a URI.
+ * URI of a route.
+ * Dynamic, peering static and peering dynamic routes do not have an URI.
* Advertised route from Google Cloud VPC to on-premises network also does
- * not have a URI.
+ * not have an URI.
*
* Generated from protobuf field string uri = 2;
* @return string
@@ -200,10 +282,10 @@ public function getUri()
}
/**
- * URI of a Compute Engine route.
- * Dynamic route from cloud router does not have a URI.
+ * URI of a route.
+ * Dynamic, peering static and peering dynamic routes do not have an URI.
* Advertised route from Google Cloud VPC to on-premises network also does
- * not have a URI.
+ * not have an URI.
*
* Generated from protobuf field string uri = 2;
* @param string $var
@@ -270,7 +352,7 @@ public function setNextHop($var)
}
/**
- * URI of a Compute Engine network.
+ * URI of a Compute Engine network. NETWORK routes only.
*
* Generated from protobuf field string network_uri = 5;
* @return string
@@ -281,7 +363,7 @@ public function getNetworkUri()
}
/**
- * URI of a Compute Engine network.
+ * URI of a Compute Engine network. NETWORK routes only.
*
* Generated from protobuf field string network_uri = 5;
* @param string $var
@@ -347,5 +429,181 @@ public function setInstanceTags($var)
return $this;
}
+ /**
+ * Source IP address range of the route. Policy based routes only.
+ *
+ * Generated from protobuf field string src_ip_range = 10;
+ * @return string
+ */
+ public function getSrcIpRange()
+ {
+ return $this->src_ip_range;
+ }
+
+ /**
+ * Source IP address range of the route. Policy based routes only.
+ *
+ * Generated from protobuf field string src_ip_range = 10;
+ * @param string $var
+ * @return $this
+ */
+ public function setSrcIpRange($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->src_ip_range = $var;
+
+ return $this;
+ }
+
+ /**
+ * Destination port ranges of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string dest_port_ranges = 11;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDestPortRanges()
+ {
+ return $this->dest_port_ranges;
+ }
+
+ /**
+ * Destination port ranges of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string dest_port_ranges = 11;
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDestPortRanges($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->dest_port_ranges = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Source port ranges of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string src_port_ranges = 12;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSrcPortRanges()
+ {
+ return $this->src_port_ranges;
+ }
+
+ /**
+ * Source port ranges of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string src_port_ranges = 12;
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setSrcPortRanges($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->src_port_ranges = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Protocols of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string protocols = 13;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getProtocols()
+ {
+ return $this->protocols;
+ }
+
+ /**
+ * Protocols of the route. Policy based routes only.
+ *
+ * Generated from protobuf field repeated string protocols = 13;
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setProtocols($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->protocols = $arr;
+
+ return $this;
+ }
+
+ /**
+ * URI of a NCC Hub. NCC_HUB routes only.
+ *
+ * Generated from protobuf field optional string ncc_hub_uri = 15;
+ * @return string
+ */
+ public function getNccHubUri()
+ {
+ return isset($this->ncc_hub_uri) ? $this->ncc_hub_uri : '';
+ }
+
+ public function hasNccHubUri()
+ {
+ return isset($this->ncc_hub_uri);
+ }
+
+ public function clearNccHubUri()
+ {
+ unset($this->ncc_hub_uri);
+ }
+
+ /**
+ * URI of a NCC Hub. NCC_HUB routes only.
+ *
+ * Generated from protobuf field optional string ncc_hub_uri = 15;
+ * @param string $var
+ * @return $this
+ */
+ public function setNccHubUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->ncc_hub_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of a NCC Spoke. NCC_HUB routes only.
+ *
+ * Generated from protobuf field optional string ncc_spoke_uri = 16;
+ * @return string
+ */
+ public function getNccSpokeUri()
+ {
+ return isset($this->ncc_spoke_uri) ? $this->ncc_spoke_uri : '';
+ }
+
+ public function hasNccSpokeUri()
+ {
+ return isset($this->ncc_spoke_uri);
+ }
+
+ public function clearNccSpokeUri()
+ {
+ unset($this->ncc_spoke_uri);
+ }
+
+ /**
+ * URI of a NCC Spoke. NCC_HUB routes only.
+ *
+ * Generated from protobuf field optional string ncc_spoke_uri = 16;
+ * @param string $var
+ * @return $this
+ */
+ public function setNccSpokeUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->ncc_spoke_uri = $var;
+
+ return $this;
+ }
+
}
diff --git a/NetworkManagement/src/V1/RouteInfo/NextHopType.php b/NetworkManagement/src/V1/RouteInfo/NextHopType.php
index 33bda6b803b1..e6c47717753c 100644
--- a/NetworkManagement/src/V1/RouteInfo/NextHopType.php
+++ b/NetworkManagement/src/V1/RouteInfo/NextHopType.php
@@ -91,6 +91,12 @@ class NextHopType
* Generated from protobuf enum NEXT_HOP_ROUTER_APPLIANCE = 11;
*/
const NEXT_HOP_ROUTER_APPLIANCE = 11;
+ /**
+ * Next hop is an NCC hub.
+ *
+ * Generated from protobuf enum NEXT_HOP_NCC_HUB = 12;
+ */
+ const NEXT_HOP_NCC_HUB = 12;
private static $valueToName = [
self::NEXT_HOP_TYPE_UNSPECIFIED => 'NEXT_HOP_TYPE_UNSPECIFIED',
@@ -105,6 +111,7 @@ class NextHopType
self::NEXT_HOP_BLACKHOLE => 'NEXT_HOP_BLACKHOLE',
self::NEXT_HOP_ILB => 'NEXT_HOP_ILB',
self::NEXT_HOP_ROUTER_APPLIANCE => 'NEXT_HOP_ROUTER_APPLIANCE',
+ self::NEXT_HOP_NCC_HUB => 'NEXT_HOP_NCC_HUB',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/RouteInfo/RouteScope.php b/NetworkManagement/src/V1/RouteInfo/RouteScope.php
new file mode 100644
index 000000000000..8362d1f8e0b3
--- /dev/null
+++ b/NetworkManagement/src/V1/RouteInfo/RouteScope.php
@@ -0,0 +1,62 @@
+google.cloud.networkmanagement.v1.RouteInfo.RouteScope
+ */
+class RouteScope
+{
+ /**
+ * Unspecified scope. Default value.
+ *
+ * Generated from protobuf enum ROUTE_SCOPE_UNSPECIFIED = 0;
+ */
+ const ROUTE_SCOPE_UNSPECIFIED = 0;
+ /**
+ * Route is applicable to packets in Network.
+ *
+ * Generated from protobuf enum NETWORK = 1;
+ */
+ const NETWORK = 1;
+ /**
+ * Route is applicable to packets using NCC Hub's routing table.
+ *
+ * Generated from protobuf enum NCC_HUB = 2;
+ */
+ const NCC_HUB = 2;
+
+ private static $valueToName = [
+ self::ROUTE_SCOPE_UNSPECIFIED => 'ROUTE_SCOPE_UNSPECIFIED',
+ self::NETWORK => 'NETWORK',
+ self::NCC_HUB => 'NCC_HUB',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+
diff --git a/NetworkManagement/src/V1/RouteInfo/RouteType.php b/NetworkManagement/src/V1/RouteInfo/RouteType.php
index dda7c18f6b96..985c5887280a 100644
--- a/NetworkManagement/src/V1/RouteInfo/RouteType.php
+++ b/NetworkManagement/src/V1/RouteInfo/RouteType.php
@@ -56,6 +56,12 @@ class RouteType
* Generated from protobuf enum PEERING_DYNAMIC = 6;
*/
const PEERING_DYNAMIC = 6;
+ /**
+ * Policy based route.
+ *
+ * Generated from protobuf enum POLICY_BASED = 7;
+ */
+ const POLICY_BASED = 7;
private static $valueToName = [
self::ROUTE_TYPE_UNSPECIFIED => 'ROUTE_TYPE_UNSPECIFIED',
@@ -65,6 +71,7 @@ class RouteType
self::PEERING_SUBNET => 'PEERING_SUBNET',
self::PEERING_STATIC => 'PEERING_STATIC',
self::PEERING_DYNAMIC => 'PEERING_DYNAMIC',
+ self::POLICY_BASED => 'POLICY_BASED',
];
public static function name($value)
diff --git a/NetworkManagement/src/V1/Step.php b/NetworkManagement/src/V1/Step.php
index 7023c1483663..b974b0d32f44 100644
--- a/NetworkManagement/src/V1/Step.php
+++ b/NetworkManagement/src/V1/Step.php
@@ -73,6 +73,8 @@ class Step extends \Google\Protobuf\Internal\Message
* Display information of a Compute Engine VPN gateway.
* @type \Google\Cloud\NetworkManagement\V1\VpnTunnelInfo $vpn_tunnel
* Display information of a Compute Engine VPN tunnel.
+ * @type \Google\Cloud\NetworkManagement\V1\VpcConnectorInfo $vpc_connector
+ * Display information of a VPC connector.
* @type \Google\Cloud\NetworkManagement\V1\DeliverInfo $deliver
* Display information of the final state "deliver" and reason.
* @type \Google\Cloud\NetworkManagement\V1\ForwardInfo $forward
@@ -89,6 +91,12 @@ class Step extends \Google\Protobuf\Internal\Message
* Display information of a Google Kubernetes Engine cluster master.
* @type \Google\Cloud\NetworkManagement\V1\CloudSQLInstanceInfo $cloud_sql_instance
* Display information of a Cloud SQL instance.
+ * @type \Google\Cloud\NetworkManagement\V1\CloudFunctionInfo $cloud_function
+ * Display information of a Cloud Function.
+ * @type \Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo $app_engine_version
+ * Display information of an App Engine service version.
+ * @type \Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo $cloud_run_revision
+ * Display information of a Cloud Run revision.
* }
*/
public function __construct($data = NULL) {
@@ -423,6 +431,37 @@ public function setVpnTunnel($var)
return $this;
}
+ /**
+ * Display information of a VPC connector.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.VpcConnectorInfo vpc_connector = 21;
+ * @return \Google\Cloud\NetworkManagement\V1\VpcConnectorInfo|null
+ */
+ public function getVpcConnector()
+ {
+ return $this->readOneof(21);
+ }
+
+ public function hasVpcConnector()
+ {
+ return $this->hasOneof(21);
+ }
+
+ /**
+ * Display information of a VPC connector.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.VpcConnectorInfo vpc_connector = 21;
+ * @param \Google\Cloud\NetworkManagement\V1\VpcConnectorInfo $var
+ * @return $this
+ */
+ public function setVpcConnector($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\VpcConnectorInfo::class);
+ $this->writeOneof(21, $var);
+
+ return $this;
+ }
+
/**
* Display information of the final state "deliver" and reason.
*
@@ -671,6 +710,99 @@ public function setCloudSqlInstance($var)
return $this;
}
+ /**
+ * Display information of a Cloud Function.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.CloudFunctionInfo cloud_function = 20;
+ * @return \Google\Cloud\NetworkManagement\V1\CloudFunctionInfo|null
+ */
+ public function getCloudFunction()
+ {
+ return $this->readOneof(20);
+ }
+
+ public function hasCloudFunction()
+ {
+ return $this->hasOneof(20);
+ }
+
+ /**
+ * Display information of a Cloud Function.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.CloudFunctionInfo cloud_function = 20;
+ * @param \Google\Cloud\NetworkManagement\V1\CloudFunctionInfo $var
+ * @return $this
+ */
+ public function setCloudFunction($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\CloudFunctionInfo::class);
+ $this->writeOneof(20, $var);
+
+ return $this;
+ }
+
+ /**
+ * Display information of an App Engine service version.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.AppEngineVersionInfo app_engine_version = 22;
+ * @return \Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo|null
+ */
+ public function getAppEngineVersion()
+ {
+ return $this->readOneof(22);
+ }
+
+ public function hasAppEngineVersion()
+ {
+ return $this->hasOneof(22);
+ }
+
+ /**
+ * Display information of an App Engine service version.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.AppEngineVersionInfo app_engine_version = 22;
+ * @param \Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo $var
+ * @return $this
+ */
+ public function setAppEngineVersion($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo::class);
+ $this->writeOneof(22, $var);
+
+ return $this;
+ }
+
+ /**
+ * Display information of a Cloud Run revision.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.CloudRunRevisionInfo cloud_run_revision = 23;
+ * @return \Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo|null
+ */
+ public function getCloudRunRevision()
+ {
+ return $this->readOneof(23);
+ }
+
+ public function hasCloudRunRevision()
+ {
+ return $this->hasOneof(23);
+ }
+
+ /**
+ * Display information of a Cloud Run revision.
+ *
+ * Generated from protobuf field .google.cloud.networkmanagement.v1.CloudRunRevisionInfo cloud_run_revision = 23;
+ * @param \Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo $var
+ * @return $this
+ */
+ public function setCloudRunRevision($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo::class);
+ $this->writeOneof(23, $var);
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/NetworkManagement/src/V1/Step/State.php b/NetworkManagement/src/V1/Step/State.php
index b9b66fe06cd7..4fbfa8232557 100644
--- a/NetworkManagement/src/V1/Step/State.php
+++ b/NetworkManagement/src/V1/Step/State.php
@@ -57,6 +57,27 @@ class State
* Generated from protobuf enum START_FROM_CLOUD_SQL_INSTANCE = 22;
*/
const START_FROM_CLOUD_SQL_INSTANCE = 22;
+ /**
+ * Initial state: packet originating from a Cloud Function.
+ * A CloudFunctionInfo is populated with starting function information.
+ *
+ * Generated from protobuf enum START_FROM_CLOUD_FUNCTION = 23;
+ */
+ const START_FROM_CLOUD_FUNCTION = 23;
+ /**
+ * Initial state: packet originating from an App Engine service version.
+ * An AppEngineVersionInfo is populated with starting version information.
+ *
+ * Generated from protobuf enum START_FROM_APP_ENGINE_VERSION = 25;
+ */
+ const START_FROM_APP_ENGINE_VERSION = 25;
+ /**
+ * Initial state: packet originating from a Cloud Run revision.
+ * A CloudRunRevisionInfo is populated with starting revision information.
+ *
+ * Generated from protobuf enum START_FROM_CLOUD_RUN_REVISION = 26;
+ */
+ const START_FROM_CLOUD_RUN_REVISION = 26;
/**
* Config checking state: verify ingress firewall rule.
*
@@ -118,6 +139,12 @@ class State
* Generated from protobuf enum ARRIVE_AT_VPN_TUNNEL = 13;
*/
const ARRIVE_AT_VPN_TUNNEL = 13;
+ /**
+ * Forwarding state: arriving at a VPC connector.
+ *
+ * Generated from protobuf enum ARRIVE_AT_VPC_CONNECTOR = 24;
+ */
+ const ARRIVE_AT_VPC_CONNECTOR = 24;
/**
* Transition state: packet header translated.
*
@@ -171,6 +198,9 @@ class State
self::START_FROM_PRIVATE_NETWORK => 'START_FROM_PRIVATE_NETWORK',
self::START_FROM_GKE_MASTER => 'START_FROM_GKE_MASTER',
self::START_FROM_CLOUD_SQL_INSTANCE => 'START_FROM_CLOUD_SQL_INSTANCE',
+ self::START_FROM_CLOUD_FUNCTION => 'START_FROM_CLOUD_FUNCTION',
+ self::START_FROM_APP_ENGINE_VERSION => 'START_FROM_APP_ENGINE_VERSION',
+ self::START_FROM_CLOUD_RUN_REVISION => 'START_FROM_CLOUD_RUN_REVISION',
self::APPLY_INGRESS_FIREWALL_RULE => 'APPLY_INGRESS_FIREWALL_RULE',
self::APPLY_EGRESS_FIREWALL_RULE => 'APPLY_EGRESS_FIREWALL_RULE',
self::APPLY_ROUTE => 'APPLY_ROUTE',
@@ -181,6 +211,7 @@ class State
self::ARRIVE_AT_EXTERNAL_LOAD_BALANCER => 'ARRIVE_AT_EXTERNAL_LOAD_BALANCER',
self::ARRIVE_AT_VPN_GATEWAY => 'ARRIVE_AT_VPN_GATEWAY',
self::ARRIVE_AT_VPN_TUNNEL => 'ARRIVE_AT_VPN_TUNNEL',
+ self::ARRIVE_AT_VPC_CONNECTOR => 'ARRIVE_AT_VPC_CONNECTOR',
self::NAT => 'NAT',
self::PROXY_CONNECTION => 'PROXY_CONNECTION',
self::DELIVER => 'DELIVER',
diff --git a/NetworkManagement/src/V1/VpcConnectorInfo.php b/NetworkManagement/src/V1/VpcConnectorInfo.php
new file mode 100644
index 000000000000..84f272f1d10d
--- /dev/null
+++ b/NetworkManagement/src/V1/VpcConnectorInfo.php
@@ -0,0 +1,135 @@
+google.cloud.networkmanagement.v1.VpcConnectorInfo
+ */
+class VpcConnectorInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of a VPC connector.
+ *
+ * Generated from protobuf field string display_name = 1;
+ */
+ private $display_name = '';
+ /**
+ * URI of a VPC connector.
+ *
+ * Generated from protobuf field string uri = 2;
+ */
+ private $uri = '';
+ /**
+ * Location in which the VPC connector is deployed.
+ *
+ * Generated from protobuf field string location = 3;
+ */
+ private $location = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $display_name
+ * Name of a VPC connector.
+ * @type string $uri
+ * URI of a VPC connector.
+ * @type string $location
+ * Location in which the VPC connector is deployed.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Networkmanagement\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of a VPC connector.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Name of a VPC connector.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of a VPC connector.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * URI of a VPC connector.
+ *
+ * Generated from protobuf field string uri = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Location in which the VPC connector is deployed.
+ *
+ * Generated from protobuf field string location = 3;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * Location in which the VPC connector is deployed.
+ *
+ * Generated from protobuf field string location = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setLocation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->location = $var;
+
+ return $this;
+ }
+
+}
+