diff --git a/NetworkManagement/metadata/V1/ConnectivityTest.php b/NetworkManagement/metadata/V1/ConnectivityTest.php index 840c90b792b3..51444daa1d34 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 58bcbc14658a..ee6ae38809db 100644 Binary files a/NetworkManagement/metadata/V1/Trace.php and b/NetworkManagement/metadata/V1/Trace.php differ diff --git a/NetworkManagement/src/V1/DropInfo/Cause.php b/NetworkManagement/src/V1/DropInfo/Cause.php index 226a8444f9d8..670b4a73f6b8 100644 --- a/NetworkManagement/src/V1/DropInfo/Cause.php +++ b/NetworkManagement/src/V1/DropInfo/Cause.php @@ -590,6 +590,13 @@ class Cause * Generated from protobuf enum NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION = 82; */ const NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION = 82; + /** + * Sending packets processed by the Private NAT Gateways to the Private + * Service Connect endpoints is not supported. + * + * Generated from protobuf enum PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED = 83; + */ + const PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED = 83; private static $valueToName = [ self::CAUSE_UNSPECIFIED => 'CAUSE_UNSPECIFIED', @@ -675,6 +682,7 @@ class Cause self::NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION => 'NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION', self::NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION => 'NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION', self::NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION => 'NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION', + self::PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED => 'PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED', ]; public static function name($value) diff --git a/NetworkManagement/src/V1/Endpoint.php b/NetworkManagement/src/V1/Endpoint.php index 1ea2ffa0a266..eea02063830d 100644 --- a/NetworkManagement/src/V1/Endpoint.php +++ b/NetworkManagement/src/V1/Endpoint.php @@ -65,12 +65,21 @@ class Endpoint extends \Google\Protobuf\Internal\Message */ protected $load_balancer_type = null; /** - * A cluster URI for [Google Kubernetes Engine - * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * A cluster URI for [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). * * Generated from protobuf field string gke_master_cluster = 7; */ protected $gke_master_cluster = ''; + /** + * DNS endpoint of [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * Requires gke_master_cluster to be set, can't be used simultaneoulsly with + * ip_address or network. Applicable only to destination endpoint. + * + * Generated from protobuf field string fqdn = 19; + */ + protected $fqdn = ''; /** * A [Cloud SQL](https://cloud.google.com/sql) instance URI. * @@ -168,8 +177,13 @@ class Endpoint extends \Google\Protobuf\Internal\Message * @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). + * A cluster URI for [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * @type string $fqdn + * DNS endpoint of [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * Requires gke_master_cluster to be set, can't be used simultaneoulsly with + * ip_address or network. Applicable only to destination endpoint. * @type string $cloud_sql_instance * A [Cloud SQL](https://cloud.google.com/sql) instance URI. * @type string $redis_instance @@ -436,8 +450,8 @@ public function setLoadBalancerType($var) } /** - * A cluster URI for [Google Kubernetes Engine - * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * A cluster URI for [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). * * Generated from protobuf field string gke_master_cluster = 7; * @return string @@ -448,8 +462,8 @@ public function getGkeMasterCluster() } /** - * A cluster URI for [Google Kubernetes Engine - * master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * A cluster URI for [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). * * Generated from protobuf field string gke_master_cluster = 7; * @param string $var @@ -463,6 +477,38 @@ public function setGkeMasterCluster($var) return $this; } + /** + * DNS endpoint of [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * Requires gke_master_cluster to be set, can't be used simultaneoulsly with + * ip_address or network. Applicable only to destination endpoint. + * + * Generated from protobuf field string fqdn = 19; + * @return string + */ + public function getFqdn() + { + return $this->fqdn; + } + + /** + * DNS endpoint of [Google Kubernetes Engine cluster control + * plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). + * Requires gke_master_cluster to be set, can't be used simultaneoulsly with + * ip_address or network. Applicable only to destination endpoint. + * + * Generated from protobuf field string fqdn = 19; + * @param string $var + * @return $this + */ + public function setFqdn($var) + { + GPBUtil::checkString($var, True); + $this->fqdn = $var; + + return $this; + } + /** * A [Cloud SQL](https://cloud.google.com/sql) instance URI. * diff --git a/NetworkManagement/src/V1/GKEMasterInfo.php b/NetworkManagement/src/V1/GKEMasterInfo.php index f5973a802e12..d3b1ea0afb97 100644 --- a/NetworkManagement/src/V1/GKEMasterInfo.php +++ b/NetworkManagement/src/V1/GKEMasterInfo.php @@ -29,17 +29,23 @@ class GKEMasterInfo extends \Google\Protobuf\Internal\Message */ protected $cluster_network_uri = ''; /** - * Internal IP address of a GKE cluster master. + * Internal IP address of a GKE cluster control plane. * * Generated from protobuf field string internal_ip = 5; */ protected $internal_ip = ''; /** - * External IP address of a GKE cluster master. + * External IP address of a GKE cluster control plane. * * Generated from protobuf field string external_ip = 6; */ protected $external_ip = ''; + /** + * DNS endpoint of a GKE cluster control plane. + * + * Generated from protobuf field string dns_endpoint = 7; + */ + protected $dns_endpoint = ''; /** * Constructor. @@ -52,9 +58,11 @@ class GKEMasterInfo extends \Google\Protobuf\Internal\Message * @type string $cluster_network_uri * URI of a GKE cluster network. * @type string $internal_ip - * Internal IP address of a GKE cluster master. + * Internal IP address of a GKE cluster control plane. * @type string $external_ip - * External IP address of a GKE cluster master. + * External IP address of a GKE cluster control plane. + * @type string $dns_endpoint + * DNS endpoint of a GKE cluster control plane. * } */ public function __construct($data = NULL) { @@ -115,7 +123,7 @@ public function setClusterNetworkUri($var) } /** - * Internal IP address of a GKE cluster master. + * Internal IP address of a GKE cluster control plane. * * Generated from protobuf field string internal_ip = 5; * @return string @@ -126,7 +134,7 @@ public function getInternalIp() } /** - * Internal IP address of a GKE cluster master. + * Internal IP address of a GKE cluster control plane. * * Generated from protobuf field string internal_ip = 5; * @param string $var @@ -141,7 +149,7 @@ public function setInternalIp($var) } /** - * External IP address of a GKE cluster master. + * External IP address of a GKE cluster control plane. * * Generated from protobuf field string external_ip = 6; * @return string @@ -152,7 +160,7 @@ public function getExternalIp() } /** - * External IP address of a GKE cluster master. + * External IP address of a GKE cluster control plane. * * Generated from protobuf field string external_ip = 6; * @param string $var @@ -166,5 +174,31 @@ public function setExternalIp($var) return $this; } + /** + * DNS endpoint of a GKE cluster control plane. + * + * Generated from protobuf field string dns_endpoint = 7; + * @return string + */ + public function getDnsEndpoint() + { + return $this->dns_endpoint; + } + + /** + * DNS endpoint of a GKE cluster control plane. + * + * Generated from protobuf field string dns_endpoint = 7; + * @param string $var + * @return $this + */ + public function setDnsEndpoint($var) + { + GPBUtil::checkString($var, True); + $this->dns_endpoint = $var; + + return $this; + } + }