Skip to content

Commit 7d30915

Browse files
feat: Update Compute Engine API to revision 20221011 (#736) (#355)
* feat: Update Compute Engine API to revision 20221011 (#736) Source-Link: googleapis/googleapis@cb8c914 Source-Link: googleapis/googleapis-gen@1174767 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTE3NDc2NzQ0NmM2NTAyNzFmMzk3ZWM2ZWY1NDEwMWJlNDRjZGNiNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 71d7b9b commit 7d30915

File tree

15 files changed

+885
-205
lines changed

15 files changed

+885
-205
lines changed

packages/google-cloud-compute/google/cloud/compute/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,7 @@
11711171
from google.cloud.compute_v1.types.compute import NetworkEndpointGroupCloudFunction
11721172
from google.cloud.compute_v1.types.compute import NetworkEndpointGroupCloudRun
11731173
from google.cloud.compute_v1.types.compute import NetworkEndpointGroupList
1174+
from google.cloud.compute_v1.types.compute import NetworkEndpointGroupPscData
11741175
from google.cloud.compute_v1.types.compute import (
11751176
NetworkEndpointGroupsAttachEndpointsRequest,
11761177
)
@@ -1322,6 +1323,7 @@
13221323
PublicDelegatedPrefixPublicDelegatedSubPrefix,
13231324
)
13241325
from google.cloud.compute_v1.types.compute import Quota
1326+
from google.cloud.compute_v1.types.compute import QuotaExceededInfo
13251327
from google.cloud.compute_v1.types.compute import RawDisk
13261328
from google.cloud.compute_v1.types.compute import (
13271329
RecreateInstancesInstanceGroupManagerRequest,
@@ -1465,6 +1467,7 @@
14651467
)
14661468
from google.cloud.compute_v1.types.compute import ResourcePolicyWeeklyCycle
14671469
from google.cloud.compute_v1.types.compute import ResourcePolicyWeeklyCycleDayOfWeek
1470+
from google.cloud.compute_v1.types.compute import ResourceStatus
14681471
from google.cloud.compute_v1.types.compute import ResumeInstanceRequest
14691472
from google.cloud.compute_v1.types.compute import Route
14701473
from google.cloud.compute_v1.types.compute import RouteAsPath
@@ -1477,6 +1480,7 @@
14771480
from google.cloud.compute_v1.types.compute import RouterBgpPeerBfd
14781481
from google.cloud.compute_v1.types.compute import RouterInterface
14791482
from google.cloud.compute_v1.types.compute import RouterList
1483+
from google.cloud.compute_v1.types.compute import RouterMd5AuthenticationKey
14801484
from google.cloud.compute_v1.types.compute import RouterNat
14811485
from google.cloud.compute_v1.types.compute import RouterNatLogConfig
14821486
from google.cloud.compute_v1.types.compute import RouterNatRule
@@ -2740,6 +2744,7 @@
27402744
"NetworkEndpointGroupCloudFunction",
27412745
"NetworkEndpointGroupCloudRun",
27422746
"NetworkEndpointGroupList",
2747+
"NetworkEndpointGroupPscData",
27432748
"NetworkEndpointGroupsAttachEndpointsRequest",
27442749
"NetworkEndpointGroupsDetachEndpointsRequest",
27452750
"NetworkEndpointGroupsListEndpointsRequest",
@@ -2863,6 +2868,7 @@
28632868
"PublicDelegatedPrefixList",
28642869
"PublicDelegatedPrefixPublicDelegatedSubPrefix",
28652870
"Quota",
2871+
"QuotaExceededInfo",
28662872
"RawDisk",
28672873
"RecreateInstancesInstanceGroupManagerRequest",
28682874
"RecreateInstancesRegionInstanceGroupManagerRequest",
@@ -2944,6 +2950,7 @@
29442950
"ResourcePolicySnapshotSchedulePolicySnapshotProperties",
29452951
"ResourcePolicyWeeklyCycle",
29462952
"ResourcePolicyWeeklyCycleDayOfWeek",
2953+
"ResourceStatus",
29472954
"ResumeInstanceRequest",
29482955
"Route",
29492956
"RouteAsPath",
@@ -2956,6 +2963,7 @@
29562963
"RouterBgpPeerBfd",
29572964
"RouterInterface",
29582965
"RouterList",
2966+
"RouterMd5AuthenticationKey",
29592967
"RouterNat",
29602968
"RouterNatLogConfig",
29612969
"RouterNatRule",

packages/google-cloud-compute/google/cloud/compute_v1/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@
871871
from .types.compute import NetworkEndpointGroupCloudFunction
872872
from .types.compute import NetworkEndpointGroupCloudRun
873873
from .types.compute import NetworkEndpointGroupList
874+
from .types.compute import NetworkEndpointGroupPscData
874875
from .types.compute import NetworkEndpointGroupsAttachEndpointsRequest
875876
from .types.compute import NetworkEndpointGroupsDetachEndpointsRequest
876877
from .types.compute import NetworkEndpointGroupsListEndpointsRequest
@@ -994,6 +995,7 @@
994995
from .types.compute import PublicDelegatedPrefixList
995996
from .types.compute import PublicDelegatedPrefixPublicDelegatedSubPrefix
996997
from .types.compute import Quota
998+
from .types.compute import QuotaExceededInfo
997999
from .types.compute import RawDisk
9981000
from .types.compute import RecreateInstancesInstanceGroupManagerRequest
9991001
from .types.compute import RecreateInstancesRegionInstanceGroupManagerRequest
@@ -1077,6 +1079,7 @@
10771079
from .types.compute import ResourcePolicySnapshotSchedulePolicySnapshotProperties
10781080
from .types.compute import ResourcePolicyWeeklyCycle
10791081
from .types.compute import ResourcePolicyWeeklyCycleDayOfWeek
1082+
from .types.compute import ResourceStatus
10801083
from .types.compute import ResumeInstanceRequest
10811084
from .types.compute import Route
10821085
from .types.compute import RouteAsPath
@@ -1089,6 +1092,7 @@
10891092
from .types.compute import RouterBgpPeerBfd
10901093
from .types.compute import RouterInterface
10911094
from .types.compute import RouterList
1095+
from .types.compute import RouterMd5AuthenticationKey
10921096
from .types.compute import RouterNat
10931097
from .types.compute import RouterNatLogConfig
10941098
from .types.compute import RouterNatRule
@@ -2199,6 +2203,7 @@
21992203
"NetworkEndpointGroupCloudFunction",
22002204
"NetworkEndpointGroupCloudRun",
22012205
"NetworkEndpointGroupList",
2206+
"NetworkEndpointGroupPscData",
22022207
"NetworkEndpointGroupsAttachEndpointsRequest",
22032208
"NetworkEndpointGroupsClient",
22042209
"NetworkEndpointGroupsDetachEndpointsRequest",
@@ -2332,6 +2337,7 @@
23322337
"PublicDelegatedPrefixesClient",
23332338
"PublicDelegatedPrefixesScopedList",
23342339
"Quota",
2340+
"QuotaExceededInfo",
23352341
"RawDisk",
23362342
"RecreateInstancesInstanceGroupManagerRequest",
23372343
"RecreateInstancesRegionInstanceGroupManagerRequest",
@@ -2437,6 +2443,7 @@
24372443
"ResourcePolicySnapshotSchedulePolicySnapshotProperties",
24382444
"ResourcePolicyWeeklyCycle",
24392445
"ResourcePolicyWeeklyCycleDayOfWeek",
2446+
"ResourceStatus",
24402447
"ResumeInstanceRequest",
24412448
"Route",
24422449
"RouteAsPath",
@@ -2449,6 +2456,7 @@
24492456
"RouterBgpPeerBfd",
24502457
"RouterInterface",
24512458
"RouterList",
2459+
"RouterMd5AuthenticationKey",
24522460
"RouterNat",
24532461
"RouterNatLogConfig",
24542462
"RouterNatRule",

packages/google-cloud-compute/google/cloud/compute_v1/services/region_security_policies/client.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,11 @@ def patch_unary(
10771077
metadata: Sequence[Tuple[str, str]] = (),
10781078
) -> compute.Operation:
10791079
r"""Patches the specified policy with the data included
1080-
in the request.
1080+
in the request. To clear fields in the rule, leave the
1081+
fields empty and specify them in the updateMask. This
1082+
cannot be used to be update the rules in the policy.
1083+
Please use the per rule methods like addRule, patchRule,
1084+
and removeRule instead.
10811085
10821086
Args:
10831087
request (Union[google.cloud.compute_v1.types.PatchRegionSecurityPolicyRequest, dict]):
@@ -1189,7 +1193,11 @@ def patch(
11891193
metadata: Sequence[Tuple[str, str]] = (),
11901194
) -> extended_operation.ExtendedOperation:
11911195
r"""Patches the specified policy with the data included
1192-
in the request.
1196+
in the request. To clear fields in the rule, leave the
1197+
fields empty and specify them in the updateMask. This
1198+
cannot be used to be update the rules in the policy.
1199+
Please use the per rule methods like addRule, patchRule,
1200+
and removeRule instead.
11931201
11941202
Args:
11951203
request (Union[google.cloud.compute_v1.types.PatchRegionSecurityPolicyRequest, dict]):

packages/google-cloud-compute/google/cloud/compute_v1/services/security_policies/client.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,9 +1482,11 @@ def patch_unary(
14821482
metadata: Sequence[Tuple[str, str]] = (),
14831483
) -> compute.Operation:
14841484
r"""Patches the specified policy with the data included
1485-
in the request. This cannot be used to be update the
1486-
rules in the policy. Please use the per rule methods
1487-
like addRule, patchRule, and removeRule instead.
1485+
in the request. To clear fields in the rule, leave the
1486+
fields empty and specify them in the updateMask. This
1487+
cannot be used to be update the rules in the policy.
1488+
Please use the per rule methods like addRule, patchRule,
1489+
and removeRule instead.
14881490
14891491
Args:
14901492
request (Union[google.cloud.compute_v1.types.PatchSecurityPolicyRequest, dict]):
@@ -1583,9 +1585,11 @@ def patch(
15831585
metadata: Sequence[Tuple[str, str]] = (),
15841586
) -> extended_operation.ExtendedOperation:
15851587
r"""Patches the specified policy with the data included
1586-
in the request. This cannot be used to be update the
1587-
rules in the policy. Please use the per rule methods
1588-
like addRule, patchRule, and removeRule instead.
1588+
in the request. To clear fields in the rule, leave the
1589+
fields empty and specify them in the updateMask. This
1590+
cannot be used to be update the rules in the policy.
1591+
Please use the per rule methods like addRule, patchRule,
1592+
and removeRule instead.
15891593
15901594
Args:
15911595
request (Union[google.cloud.compute_v1.types.PatchSecurityPolicyRequest, dict]):

packages/google-cloud-compute/google/cloud/compute_v1/types/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@
777777
NetworkEndpointGroupCloudFunction,
778778
NetworkEndpointGroupCloudRun,
779779
NetworkEndpointGroupList,
780+
NetworkEndpointGroupPscData,
780781
NetworkEndpointGroupsAttachEndpointsRequest,
781782
NetworkEndpointGroupsDetachEndpointsRequest,
782783
NetworkEndpointGroupsListEndpointsRequest,
@@ -900,6 +901,7 @@
900901
PublicDelegatedPrefixList,
901902
PublicDelegatedPrefixPublicDelegatedSubPrefix,
902903
Quota,
904+
QuotaExceededInfo,
903905
RawDisk,
904906
RecreateInstancesInstanceGroupManagerRequest,
905907
RecreateInstancesRegionInstanceGroupManagerRequest,
@@ -981,6 +983,7 @@
981983
ResourcePolicySnapshotSchedulePolicySnapshotProperties,
982984
ResourcePolicyWeeklyCycle,
983985
ResourcePolicyWeeklyCycleDayOfWeek,
986+
ResourceStatus,
984987
ResumeInstanceRequest,
985988
Route,
986989
RouteAsPath,
@@ -993,6 +996,7 @@
993996
RouterBgpPeerBfd,
994997
RouterInterface,
995998
RouterList,
999+
RouterMd5AuthenticationKey,
9961000
RouterNat,
9971001
RouterNatLogConfig,
9981002
RouterNatRule,
@@ -2072,6 +2076,7 @@
20722076
"NetworkEndpointGroupCloudFunction",
20732077
"NetworkEndpointGroupCloudRun",
20742078
"NetworkEndpointGroupList",
2079+
"NetworkEndpointGroupPscData",
20752080
"NetworkEndpointGroupsAttachEndpointsRequest",
20762081
"NetworkEndpointGroupsDetachEndpointsRequest",
20772082
"NetworkEndpointGroupsListEndpointsRequest",
@@ -2195,6 +2200,7 @@
21952200
"PublicDelegatedPrefixList",
21962201
"PublicDelegatedPrefixPublicDelegatedSubPrefix",
21972202
"Quota",
2203+
"QuotaExceededInfo",
21982204
"RawDisk",
21992205
"RecreateInstancesInstanceGroupManagerRequest",
22002206
"RecreateInstancesRegionInstanceGroupManagerRequest",
@@ -2276,6 +2282,7 @@
22762282
"ResourcePolicySnapshotSchedulePolicySnapshotProperties",
22772283
"ResourcePolicyWeeklyCycle",
22782284
"ResourcePolicyWeeklyCycleDayOfWeek",
2285+
"ResourceStatus",
22792286
"ResumeInstanceRequest",
22802287
"Route",
22812288
"RouteAsPath",
@@ -2288,6 +2295,7 @@
22882295
"RouterBgpPeerBfd",
22892296
"RouterInterface",
22902297
"RouterList",
2298+
"RouterMd5AuthenticationKey",
22912299
"RouterNat",
22922300
"RouterNatLogConfig",
22932301
"RouterNatRule",

0 commit comments

Comments
 (0)