Skip to content

Commit

Permalink
feat: Update Compute Engine API to revision 20221224 (#760) (#381)
Browse files Browse the repository at this point in the history
* docs: Add documentation for enums

fix: Add context manager return types

chore: Update gapic-generator-python to v1.8.1
PiperOrigin-RevId: 503210727

Source-Link: googleapis/googleapis@a391fd1

Source-Link: googleapis/googleapis-gen@0080f83
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: Update Compute Engine API to revision 20221224 (#760)

Source-Link: googleapis/googleapis@17d5613

Source-Link: googleapis/googleapis-gen@42cd552
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjZDU1MmZhNWJlOTViZTVjZTUxMzZiYTkzZTgzMzg4Yjc1OTFkOCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* work around docs issue

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people authored Jan 20, 2023
1 parent f0a5129 commit 03c9f20
Show file tree
Hide file tree
Showing 99 changed files with 5,029 additions and 167 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@
AggregatedListVpnGatewaysRequest,
AggregatedListVpnTunnelsRequest,
AliasIpRange,
AllocationResourceStatus,
AllocationResourceStatusSpecificSKUAllocation,
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk,
AllocationSpecificSKUAllocationReservedInstanceProperties,
AllocationSpecificSKUReservation,
Expand Down Expand Up @@ -1689,6 +1691,8 @@
"AggregatedListVpnGatewaysRequest",
"AggregatedListVpnTunnelsRequest",
"AliasIpRange",
"AllocationResourceStatus",
"AllocationResourceStatusSpecificSKUAllocation",
"AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk",
"AllocationSpecificSKUAllocationReservedInstanceProperties",
"AllocationSpecificSKUReservation",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@
AggregatedListVpnGatewaysRequest,
AggregatedListVpnTunnelsRequest,
AliasIpRange,
AllocationResourceStatus,
AllocationResourceStatusSpecificSKUAllocation,
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk,
AllocationSpecificSKUAllocationReservedInstanceProperties,
AllocationSpecificSKUReservation,
Expand Down Expand Up @@ -1501,6 +1503,8 @@
"AggregatedListVpnGatewaysRequest",
"AggregatedListVpnTunnelsRequest",
"AliasIpRange",
"AllocationResourceStatus",
"AllocationResourceStatusSpecificSKUAllocation",
"AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk",
"AllocationSpecificSKUAllocationReservedInstanceProperties",
"AllocationSpecificSKUReservation",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def list(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "AcceleratorTypesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "AddressesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "AutoscalersClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "BackendBucketsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2885,7 +2885,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "BackendServicesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def list(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "DiskTypesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2839,7 +2839,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "DisksClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "ExternalVpnGatewaysClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3040,7 +3040,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "FirewallPoliciesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "FirewallsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "ForwardingRulesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "GlobalAddressesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "GlobalForwardingRulesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ def list_network_endpoints(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "GlobalNetworkEndpointGroupsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ def wait(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "GlobalOperationsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def list(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "GlobalOrganizationOperationsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "GlobalPublicDelegatedPrefixesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "HealthChecksClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def get(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "ImageFamilyViewsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "ImagesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5067,7 +5067,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InstanceGroupManagersClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InstanceGroupsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InstanceTemplatesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9918,7 +9918,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InstancesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InterconnectAttachmentsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def list(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InterconnectLocationsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "InterconnectsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "LicenseCodesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "LicensesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "MachineImagesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def list(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "MachineTypesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NetworkAttachmentsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NetworkEdgeSecurityServicesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NetworkEndpointGroupsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3120,7 +3120,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NetworkFirewallPoliciesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ def error_code(self):
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NetworksClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NodeGroupsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NodeTemplatesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def list(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "NodeTypesClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ def test_iam_permissions(
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "PacketMirroringsClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Loading

0 comments on commit 03c9f20

Please sign in to comment.