Skip to content

Commit

Permalink
fix: deprecate unimplemented Zone fields and methods (#7162)
Browse files Browse the repository at this point in the history
---
chore: update go_package and Go importpath
PiperOrigin-RevId: 616910383
Source-Link: googleapis/googleapis@d1c64eb
Source-Link: googleapis/googleapis-gen@f2e8233
Copy-Tag: eyJwIjoiRWRnZU5ldHdvcmsvLk93bEJvdC55YW1sIiwiaCI6ImYyZTgyMzNjY2VjNDJiNzdiYzg1NmQ4NjZmMTQ1OTdkZWQ2NGJkNDAifQ==
  • Loading branch information
gcf-owl-bot[bot] committed Mar 22, 2024
1 parent ebf0875 commit a7f8970
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 10 deletions.
Binary file modified EdgeNetwork/metadata/V1/Resources.php
Binary file not shown.
Binary file modified EdgeNetwork/metadata/V1/Service.php
Binary file not shown.
1 change: 1 addition & 0 deletions EdgeNetwork/samples/V1/EdgeNetworkClient/get_zone.php
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions EdgeNetwork/samples/V1/EdgeNetworkClient/list_zones.php
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions EdgeNetwork/src/V1/Client/EdgeNetworkClient.php
Expand Up @@ -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()} .
Expand All @@ -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
{
Expand Down Expand Up @@ -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()} .
Expand All @@ -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
{
Expand Down
2 changes: 2 additions & 0 deletions EdgeNetwork/src/V1/GetZoneRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions EdgeNetwork/src/V1/ListZonesRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions EdgeNetwork/src/V1/ListZonesResponse.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 28 additions & 10 deletions EdgeNetwork/src/V1/Zone.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7f8970

Please sign in to comment.