1261
1261
"ResourcePolicyWeeklyCycleDayOfWeek",
1262
1262
"ResourcePolicyWorkloadPolicy",
1263
1263
"ResourceStatus",
1264
+ "ResourceStatusEffectiveInstanceMetadata",
1264
1265
"ResourceStatusPhysicalHostTopology",
1265
1266
"ResourceStatusScheduling",
1266
1267
"ResumeInstanceRequest",
@@ -16040,6 +16041,13 @@ class LocalityLbPolicy(proto.Enum):
16040
16041
This is a simple policy in which each healthy
16041
16042
backend is selected in round robin order. This
16042
16043
is the default.
16044
+ WEIGHTED_GCP_RENDEZVOUS (82501640):
16045
+ Per-instance weighted Load Balancing via
16046
+ health check reported weights. In internal
16047
+ passthrough network load balancing, it is
16048
+ weighted rendezvous hashing. This option is only
16049
+ supported in internal passthrough network load
16050
+ balancing.
16043
16051
WEIGHTED_MAGLEV (254930962):
16044
16052
Per-instance weighted Load Balancing via health check
16045
16053
reported weights. If set, the Backend Service must configure
@@ -16070,6 +16078,7 @@ class LocalityLbPolicy(proto.Enum):
16070
16078
RANDOM = 262527171
16071
16079
RING_HASH = 432795069
16072
16080
ROUND_ROBIN = 153895801
16081
+ WEIGHTED_GCP_RENDEZVOUS = 82501640
16073
16082
WEIGHTED_MAGLEV = 254930962
16074
16083
WEIGHTED_ROUND_ROBIN = 5584977
16075
16084
@@ -17778,6 +17787,13 @@ class Name(proto.Enum):
17778
17787
This is a simple policy in which each healthy
17779
17788
backend is selected in round robin order. This
17780
17789
is the default.
17790
+ WEIGHTED_GCP_RENDEZVOUS (82501640):
17791
+ Per-instance weighted Load Balancing via
17792
+ health check reported weights. In internal
17793
+ passthrough network load balancing, it is
17794
+ weighted rendezvous hashing. This option is only
17795
+ supported in internal passthrough network load
17796
+ balancing.
17781
17797
WEIGHTED_MAGLEV (254930962):
17782
17798
Per-instance weighted Load Balancing via health check
17783
17799
reported weights. If set, the Backend Service must configure
@@ -17808,6 +17824,7 @@ class Name(proto.Enum):
17808
17824
RANDOM = 262527171
17809
17825
RING_HASH = 432795069
17810
17826
ROUND_ROBIN = 153895801
17827
+ WEIGHTED_GCP_RENDEZVOUS = 82501640
17811
17828
WEIGHTED_MAGLEV = 254930962
17812
17829
WEIGHTED_ROUND_ROBIN = 5584977
17813
17830
@@ -95298,6 +95315,14 @@ class ResourceStatus(proto.Message):
95298
95315
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
95299
95316
95300
95317
Attributes:
95318
+ effective_instance_metadata (google.cloud.compute_v1.types.ResourceStatusEffectiveInstanceMetadata):
95319
+ [Output Only] Effective metadata is a field that
95320
+ consolidates project, zonal instance settings, and
95321
+ instance-level predefined metadata keys to provide the
95322
+ overridden value for those metadata keys at the instance
95323
+ level.
95324
+
95325
+ This field is a member of `oneof`_ ``_effective_instance_metadata``.
95301
95326
physical_host (str):
95302
95327
[Output Only] The precise location of your instance within
95303
95328
the zone's data center, including the block, sub-block, and
@@ -95320,6 +95345,14 @@ class ResourceStatus(proto.Message):
95320
95345
This field is a member of `oneof`_ ``_upcoming_maintenance``.
95321
95346
"""
95322
95347
95348
+ effective_instance_metadata: "ResourceStatusEffectiveInstanceMetadata" = (
95349
+ proto.Field(
95350
+ proto.MESSAGE,
95351
+ number=55052033,
95352
+ optional=True,
95353
+ message="ResourceStatusEffectiveInstanceMetadata",
95354
+ )
95355
+ )
95323
95356
physical_host: str = proto.Field(
95324
95357
proto.STRING,
95325
95358
number=464370704,
@@ -95345,6 +95378,95 @@ class ResourceStatus(proto.Message):
95345
95378
)
95346
95379
95347
95380
95381
+ class ResourceStatusEffectiveInstanceMetadata(proto.Message):
95382
+ r"""Effective values of predefined metadata keys for an instance.
95383
+
95384
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
95385
+
95386
+ Attributes:
95387
+ block_project_ssh_keys_metadata_value (bool):
95388
+ Effective block-project-ssh-keys value at
95389
+ Instance level.
95390
+
95391
+ This field is a member of `oneof`_ ``_block_project_ssh_keys_metadata_value``.
95392
+ enable_guest_attributes_metadata_value (bool):
95393
+ Effective enable-guest-attributes value at
95394
+ Instance level.
95395
+
95396
+ This field is a member of `oneof`_ ``_enable_guest_attributes_metadata_value``.
95397
+ enable_os_inventory_metadata_value (bool):
95398
+ Effective enable-os-inventory value at
95399
+ Instance level.
95400
+
95401
+ This field is a member of `oneof`_ ``_enable_os_inventory_metadata_value``.
95402
+ enable_osconfig_metadata_value (bool):
95403
+ Effective enable-osconfig value at Instance
95404
+ level.
95405
+
95406
+ This field is a member of `oneof`_ ``_enable_osconfig_metadata_value``.
95407
+ enable_oslogin_metadata_value (bool):
95408
+ Effective enable-oslogin value at Instance
95409
+ level.
95410
+
95411
+ This field is a member of `oneof`_ ``_enable_oslogin_metadata_value``.
95412
+ serial_port_enable_metadata_value (bool):
95413
+ Effective serial-port-enable value at
95414
+ Instance level.
95415
+
95416
+ This field is a member of `oneof`_ ``_serial_port_enable_metadata_value``.
95417
+ serial_port_logging_enable_metadata_value (bool):
95418
+ Effective serial-port-logging-enable value at
95419
+ Instance level.
95420
+
95421
+ This field is a member of `oneof`_ ``_serial_port_logging_enable_metadata_value``.
95422
+ vm_dns_setting_metadata_value (str):
95423
+ Effective VM DNS setting at Instance level.
95424
+
95425
+ This field is a member of `oneof`_ ``_vm_dns_setting_metadata_value``.
95426
+ """
95427
+
95428
+ block_project_ssh_keys_metadata_value: bool = proto.Field(
95429
+ proto.BOOL,
95430
+ number=338623101,
95431
+ optional=True,
95432
+ )
95433
+ enable_guest_attributes_metadata_value: bool = proto.Field(
95434
+ proto.BOOL,
95435
+ number=420155878,
95436
+ optional=True,
95437
+ )
95438
+ enable_os_inventory_metadata_value: bool = proto.Field(
95439
+ proto.BOOL,
95440
+ number=371752675,
95441
+ optional=True,
95442
+ )
95443
+ enable_osconfig_metadata_value: bool = proto.Field(
95444
+ proto.BOOL,
95445
+ number=502966494,
95446
+ optional=True,
95447
+ )
95448
+ enable_oslogin_metadata_value: bool = proto.Field(
95449
+ proto.BOOL,
95450
+ number=216603159,
95451
+ optional=True,
95452
+ )
95453
+ serial_port_enable_metadata_value: bool = proto.Field(
95454
+ proto.BOOL,
95455
+ number=430536330,
95456
+ optional=True,
95457
+ )
95458
+ serial_port_logging_enable_metadata_value: bool = proto.Field(
95459
+ proto.BOOL,
95460
+ number=311813290,
95461
+ optional=True,
95462
+ )
95463
+ vm_dns_setting_metadata_value: str = proto.Field(
95464
+ proto.STRING,
95465
+ number=411127950,
95466
+ optional=True,
95467
+ )
95468
+
95469
+
95348
95470
class ResourceStatusPhysicalHostTopology(proto.Message):
95349
95471
r"""Represents the physical host topology of the host on which
95350
95472
the VM is running.
@@ -100117,18 +100239,18 @@ class SecurityPolicy(proto.Message):
100117
100239
requests targeting backend services (including Cloud
100118
100240
CDN-enabled) as well as backend buckets (Cloud Storage).
100119
100241
They filter requests before the request is served from
100120
- Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor
100121
- internal service policies can be configured to filter HTTP
100122
- requests targeting services managed by Traffic Director in a
100123
- service mesh. They filter requests before the request is
100124
- served from the application. - CLOUD_ARMOR_NETWORK: Cloud
100125
- Armor network policies can be configured to filter packets
100126
- targeting network load balancing resources such as backend
100127
- services, target pools, target instances, and instances with
100128
- external IPs. They filter requests before the request is
100129
- served from the application. This field can be set only at
100130
- resource creation time. Check the Type enum for the list of
100131
- possible values.
100242
+ Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE (preview
100243
+ only): Cloud Armor internal service policies can be
100244
+ configured to filter HTTP requests targeting services
100245
+ managed by Traffic Director in a service mesh. They filter
100246
+ requests before the request is served from the application.
100247
+ - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be
100248
+ configured to filter packets targeting network load
100249
+ balancing resources such as backend services, target pools,
100250
+ target instances, and instances with external IPs. They
100251
+ filter requests before the request is served from the
100252
+ application. This field can be set only at resource creation
100253
+ time. Check the Type enum for the list of possible values.
100132
100254
100133
100255
This field is a member of `oneof`_ ``_type``.
100134
100256
user_defined_fields (MutableSequence[google.cloud.compute_v1.types.SecurityPolicyUserDefinedField]):
@@ -100151,12 +100273,12 @@ class Type(proto.Enum):
100151
100273
configured to filter incoming HTTP requests targeting backend
100152
100274
services (including Cloud CDN-enabled) as well as backend buckets
100153
100275
(Cloud Storage). They filter requests before the request is served
100154
- from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor
100155
- internal service policies can be configured to filter HTTP requests
100156
- targeting services managed by Traffic Director in a service mesh.
100157
- They filter requests before the request is served from the
100158
- application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can
100159
- be configured to filter packets targeting network load balancing
100276
+ from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE (preview only):
100277
+ Cloud Armor internal service policies can be configured to filter
100278
+ HTTP requests targeting services managed by Traffic Director in a
100279
+ service mesh. They filter requests before the request is served from
100280
+ the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies
100281
+ can be configured to filter packets targeting network load balancing
100160
100282
resources such as backend services, target pools, target instances,
100161
100283
and instances with external IPs. They filter requests before the
100162
100284
request is served from the application. This field can be set only
@@ -100792,7 +100914,11 @@ class SecurityPolicyRule(proto.Message):
100792
100914
CLOUD_ARMOR. - throttle: limit client traffic to the
100793
100915
configured threshold. Configure parameters for this action
100794
100916
in rateLimitOptions. Requires rate_limit_options to be set
100795
- for this.
100917
+ for this. - fairshare (preview only): when traffic reaches
100918
+ the threshold limit, requests from the clients matching this
100919
+ rule begin to be rate-limited using the Fair Share
100920
+ algorithm. This action is only allowed in security policies
100921
+ of type ``CLOUD_ARMOR_INTERNAL_SERVICE``.
100796
100922
100797
100923
This field is a member of `oneof`_ ``_action``.
100798
100924
description (str):
@@ -100872,7 +100998,8 @@ class SecurityPolicyRule(proto.Message):
100872
100998
This field is a member of `oneof`_ ``_priority``.
100873
100999
rate_limit_options (google.cloud.compute_v1.types.SecurityPolicyRuleRateLimitOptions):
100874
101000
Must be specified if the action is "rate_based_ban" or
100875
- "throttle". Cannot be specified for any other actions.
101001
+ "throttle" or "fairshare". Cannot be specified for any other
101002
+ actions.
100876
101003
100877
101004
This field is a member of `oneof`_ ``_rate_limit_options``.
100878
101005
redirect_options (google.cloud.compute_v1.types.SecurityPolicyRuleRedirectOptions):
@@ -101466,8 +101593,10 @@ class SecurityPolicyRuleRateLimitOptions(proto.Message):
101466
101593
the key type defaults to IP. - TLS_JA4_FINGERPRINT: JA4
101467
101594
TLS/SSL fingerprint if the client connects using HTTPS,
101468
101595
HTTP/2 or HTTP/3. If not available, the key type defaults to
101469
- ALL. Check the EnforceOnKey enum for the list of possible
101470
- values.
101596
+ ALL. For "fairshare" action, this value is limited to ALL
101597
+ i.e. a single rate limit threshold is enforced for all the
101598
+ requests matching the rule. Check the EnforceOnKey enum for
101599
+ the list of possible values.
101471
101600
101472
101601
This field is a member of `oneof`_ ``_enforce_on_key``.
101473
101602
enforce_on_key_configs (MutableSequence[google.cloud.compute_v1.types.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]):
@@ -101540,7 +101669,9 @@ class EnforceOnKey(proto.Enum):
101540
101669
configuration or an IP address cannot be resolved from it, the key
101541
101670
type defaults to IP. - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint
101542
101671
if the client connects using HTTPS, HTTP/2 or HTTP/3. If not
101543
- available, the key type defaults to ALL.
101672
+ available, the key type defaults to ALL. For "fairshare" action,
101673
+ this value is limited to ALL i.e. a single rate limit threshold is
101674
+ enforced for all the requests matching the rule.
101544
101675
101545
101676
Values:
101546
101677
UNDEFINED_ENFORCE_ON_KEY (0):
0 commit comments