diff --git a/EdgeNetwork/metadata/V1/Resources.php b/EdgeNetwork/metadata/V1/Resources.php index 9a75133697c..1348bfd8448 100644 Binary files a/EdgeNetwork/metadata/V1/Resources.php and b/EdgeNetwork/metadata/V1/Resources.php differ diff --git a/EdgeNetwork/metadata/V1/Service.php b/EdgeNetwork/metadata/V1/Service.php index 88b276d5f74..7576c88b58e 100644 Binary files a/EdgeNetwork/metadata/V1/Service.php and b/EdgeNetwork/metadata/V1/Service.php differ diff --git a/EdgeNetwork/samples/V1/EdgeNetworkClient/get_zone.php b/EdgeNetwork/samples/V1/EdgeNetworkClient/get_zone.php index 748d1cda6e1..3c6d517c45e 100644 --- a/EdgeNetwork/samples/V1/EdgeNetworkClient/get_zone.php +++ b/EdgeNetwork/samples/V1/EdgeNetworkClient/get_zone.php @@ -29,6 +29,7 @@ use Google\Cloud\EdgeNetwork\V1\Zone; /** + * Deprecated: not implemented. * Gets details of a single Zone. * * @param string $formattedName Name of the resource diff --git a/EdgeNetwork/samples/V1/EdgeNetworkClient/list_zones.php b/EdgeNetwork/samples/V1/EdgeNetworkClient/list_zones.php index 4ee226cd9ec..762ff2fc1a7 100644 --- a/EdgeNetwork/samples/V1/EdgeNetworkClient/list_zones.php +++ b/EdgeNetwork/samples/V1/EdgeNetworkClient/list_zones.php @@ -30,6 +30,7 @@ use Google\Cloud\EdgeNetwork\V1\Zone; /** + * Deprecated: not implemented. * Lists Zones in a given project and location. * * @param string $formattedParent Parent value for ListZonesRequest diff --git a/EdgeNetwork/src/V1/Client/EdgeNetworkClient.php b/EdgeNetwork/src/V1/Client/EdgeNetworkClient.php index a9f3097adde..6e68131e6af 100644 --- a/EdgeNetwork/src/V1/Client/EdgeNetworkClient.php +++ b/EdgeNetwork/src/V1/Client/EdgeNetworkClient.php @@ -878,6 +878,7 @@ public function getSubnet(GetSubnetRequest $request, array $callOptions = []): S } /** + * Deprecated: not implemented. * Gets details of a single Zone. * * The async variant is {@see EdgeNetworkClient::getZoneAsync()} . @@ -897,6 +898,8 @@ public function getSubnet(GetSubnetRequest $request, array $callOptions = []): S * @return Zone * * @throws ApiException Thrown if the API call fails. + * + * @deprecated This method will be removed in the next major version update. */ public function getZone(GetZoneRequest $request, array $callOptions = []): Zone { @@ -1063,6 +1066,7 @@ public function listSubnets(ListSubnetsRequest $request, array $callOptions = [] } /** + * Deprecated: not implemented. * Lists Zones in a given project and location. * * The async variant is {@see EdgeNetworkClient::listZonesAsync()} . @@ -1082,6 +1086,8 @@ public function listSubnets(ListSubnetsRequest $request, array $callOptions = [] * @return PagedListResponse * * @throws ApiException Thrown if the API call fails. + * + * @deprecated This method will be removed in the next major version update. */ public function listZones(ListZonesRequest $request, array $callOptions = []): PagedListResponse { diff --git a/EdgeNetwork/src/V1/GetZoneRequest.php b/EdgeNetwork/src/V1/GetZoneRequest.php index 98b10469b90..226d2f545f4 100644 --- a/EdgeNetwork/src/V1/GetZoneRequest.php +++ b/EdgeNetwork/src/V1/GetZoneRequest.php @@ -9,8 +9,10 @@ use Google\Protobuf\Internal\GPBUtil; /** + * Deprecated: not implemented. * Message for getting a Zone * + * @deprecated * Generated from protobuf message google.cloud.edgenetwork.v1.GetZoneRequest */ class GetZoneRequest extends \Google\Protobuf\Internal\Message diff --git a/EdgeNetwork/src/V1/ListZonesRequest.php b/EdgeNetwork/src/V1/ListZonesRequest.php index bbde93d7da3..b4075f810f3 100644 --- a/EdgeNetwork/src/V1/ListZonesRequest.php +++ b/EdgeNetwork/src/V1/ListZonesRequest.php @@ -9,8 +9,10 @@ use Google\Protobuf\Internal\GPBUtil; /** + * Deprecated: not implemented. * Message for requesting list of Zones * + * @deprecated * Generated from protobuf message google.cloud.edgenetwork.v1.ListZonesRequest */ class ListZonesRequest extends \Google\Protobuf\Internal\Message diff --git a/EdgeNetwork/src/V1/ListZonesResponse.php b/EdgeNetwork/src/V1/ListZonesResponse.php index 95b8c7d1515..448303fcea0 100644 --- a/EdgeNetwork/src/V1/ListZonesResponse.php +++ b/EdgeNetwork/src/V1/ListZonesResponse.php @@ -9,8 +9,10 @@ use Google\Protobuf\Internal\GPBUtil; /** + * Deprecated: not implemented. * Message for response to listing Zones * + * @deprecated * Generated from protobuf message google.cloud.edgenetwork.v1.ListZonesResponse */ class ListZonesResponse extends \Google\Protobuf\Internal\Message diff --git a/EdgeNetwork/src/V1/Zone.php b/EdgeNetwork/src/V1/Zone.php index ce3a2c4cf25..d63636482fc 100644 --- a/EdgeNetwork/src/V1/Zone.php +++ b/EdgeNetwork/src/V1/Zone.php @@ -34,15 +34,19 @@ class Zone extends \Google\Protobuf\Internal\Message */ protected $update_time = null; /** - * Labels as key value pairs + * Deprecated: not implemented. + * Labels as key value pairs. * - * Generated from protobuf field map labels = 4; + * Generated from protobuf field map labels = 4 [deprecated = true]; + * @deprecated */ private $labels; /** + * Deprecated: not implemented. * The deployment layout type. * - * Generated from protobuf field string layout_name = 5; + * Generated from protobuf field string layout_name = 5 [deprecated = true]; + * @deprecated */ protected $layout_name = ''; @@ -59,8 +63,10 @@ class Zone extends \Google\Protobuf\Internal\Message * @type \Google\Protobuf\Timestamp $update_time * Output only. The time when the zone was last updated. * @type array|\Google\Protobuf\Internal\MapField $labels - * Labels as key value pairs + * Deprecated: not implemented. + * Labels as key value pairs. * @type string $layout_name + * Deprecated: not implemented. * The deployment layout type. * } */ @@ -168,25 +174,31 @@ public function setUpdateTime($var) } /** - * Labels as key value pairs + * Deprecated: not implemented. + * Labels as key value pairs. * - * Generated from protobuf field map labels = 4; + * Generated from protobuf field map labels = 4 [deprecated = true]; * @return \Google\Protobuf\Internal\MapField + * @deprecated */ public function getLabels() { + @trigger_error('labels is deprecated.', E_USER_DEPRECATED); return $this->labels; } /** - * Labels as key value pairs + * Deprecated: not implemented. + * Labels as key value pairs. * - * Generated from protobuf field map labels = 4; + * Generated from protobuf field map labels = 4 [deprecated = true]; * @param array|\Google\Protobuf\Internal\MapField $var * @return $this + * @deprecated */ public function setLabels($var) { + @trigger_error('labels is deprecated.', E_USER_DEPRECATED); $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; @@ -194,25 +206,31 @@ public function setLabels($var) } /** + * Deprecated: not implemented. * The deployment layout type. * - * Generated from protobuf field string layout_name = 5; + * Generated from protobuf field string layout_name = 5 [deprecated = true]; * @return string + * @deprecated */ public function getLayoutName() { + @trigger_error('layout_name is deprecated.', E_USER_DEPRECATED); return $this->layout_name; } /** + * Deprecated: not implemented. * The deployment layout type. * - * Generated from protobuf field string layout_name = 5; + * Generated from protobuf field string layout_name = 5 [deprecated = true]; * @param string $var * @return $this + * @deprecated */ public function setLayoutName($var) { + @trigger_error('layout_name is deprecated.', E_USER_DEPRECATED); GPBUtil::checkString($var, True); $this->layout_name = $var;