12611261 "ResourcePolicyWeeklyCycleDayOfWeek",
12621262 "ResourcePolicyWorkloadPolicy",
12631263 "ResourceStatus",
1264+ "ResourceStatusEffectiveInstanceMetadata",
12641265 "ResourceStatusPhysicalHostTopology",
12651266 "ResourceStatusScheduling",
12661267 "ResumeInstanceRequest",
@@ -16040,6 +16041,13 @@ class LocalityLbPolicy(proto.Enum):
1604016041 This is a simple policy in which each healthy
1604116042 backend is selected in round robin order. This
1604216043 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.
1604316051 WEIGHTED_MAGLEV (254930962):
1604416052 Per-instance weighted Load Balancing via health check
1604516053 reported weights. If set, the Backend Service must configure
@@ -16070,6 +16078,7 @@ class LocalityLbPolicy(proto.Enum):
1607016078 RANDOM = 262527171
1607116079 RING_HASH = 432795069
1607216080 ROUND_ROBIN = 153895801
16081+ WEIGHTED_GCP_RENDEZVOUS = 82501640
1607316082 WEIGHTED_MAGLEV = 254930962
1607416083 WEIGHTED_ROUND_ROBIN = 5584977
1607516084
@@ -17778,6 +17787,13 @@ class Name(proto.Enum):
1777817787 This is a simple policy in which each healthy
1777917788 backend is selected in round robin order. This
1778017789 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.
1778117797 WEIGHTED_MAGLEV (254930962):
1778217798 Per-instance weighted Load Balancing via health check
1778317799 reported weights. If set, the Backend Service must configure
@@ -17808,6 +17824,7 @@ class Name(proto.Enum):
1780817824 RANDOM = 262527171
1780917825 RING_HASH = 432795069
1781017826 ROUND_ROBIN = 153895801
17827+ WEIGHTED_GCP_RENDEZVOUS = 82501640
1781117828 WEIGHTED_MAGLEV = 254930962
1781217829 WEIGHTED_ROUND_ROBIN = 5584977
1781317830
@@ -95298,6 +95315,14 @@ class ResourceStatus(proto.Message):
9529895315 .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
9529995316
9530095317 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``.
9530195326 physical_host (str):
9530295327 [Output Only] The precise location of your instance within
9530395328 the zone's data center, including the block, sub-block, and
@@ -95320,6 +95345,14 @@ class ResourceStatus(proto.Message):
9532095345 This field is a member of `oneof`_ ``_upcoming_maintenance``.
9532195346 """
9532295347
95348+ effective_instance_metadata: "ResourceStatusEffectiveInstanceMetadata" = (
95349+ proto.Field(
95350+ proto.MESSAGE,
95351+ number=55052033,
95352+ optional=True,
95353+ message="ResourceStatusEffectiveInstanceMetadata",
95354+ )
95355+ )
9532395356 physical_host: str = proto.Field(
9532495357 proto.STRING,
9532595358 number=464370704,
@@ -95345,6 +95378,95 @@ class ResourceStatus(proto.Message):
9534595378 )
9534695379
9534795380
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+
9534895470class ResourceStatusPhysicalHostTopology(proto.Message):
9534995471 r"""Represents the physical host topology of the host on which
9535095472 the VM is running.
@@ -100117,18 +100239,18 @@ class SecurityPolicy(proto.Message):
100117100239 requests targeting backend services (including Cloud
100118100240 CDN-enabled) as well as backend buckets (Cloud Storage).
100119100241 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.
100132100254
100133100255 This field is a member of `oneof`_ ``_type``.
100134100256 user_defined_fields (MutableSequence[google.cloud.compute_v1.types.SecurityPolicyUserDefinedField]):
@@ -100151,12 +100273,12 @@ class Type(proto.Enum):
100151100273 configured to filter incoming HTTP requests targeting backend
100152100274 services (including Cloud CDN-enabled) as well as backend buckets
100153100275 (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
100160100282 resources such as backend services, target pools, target instances,
100161100283 and instances with external IPs. They filter requests before the
100162100284 request is served from the application. This field can be set only
@@ -100792,7 +100914,11 @@ class SecurityPolicyRule(proto.Message):
100792100914 CLOUD_ARMOR. - throttle: limit client traffic to the
100793100915 configured threshold. Configure parameters for this action
100794100916 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``.
100796100922
100797100923 This field is a member of `oneof`_ ``_action``.
100798100924 description (str):
@@ -100872,7 +100998,8 @@ class SecurityPolicyRule(proto.Message):
100872100998 This field is a member of `oneof`_ ``_priority``.
100873100999 rate_limit_options (google.cloud.compute_v1.types.SecurityPolicyRuleRateLimitOptions):
100874101000 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.
100876101003
100877101004 This field is a member of `oneof`_ ``_rate_limit_options``.
100878101005 redirect_options (google.cloud.compute_v1.types.SecurityPolicyRuleRedirectOptions):
@@ -101466,8 +101593,10 @@ class SecurityPolicyRuleRateLimitOptions(proto.Message):
101466101593 the key type defaults to IP. - TLS_JA4_FINGERPRINT: JA4
101467101594 TLS/SSL fingerprint if the client connects using HTTPS,
101468101595 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.
101471101600
101472101601 This field is a member of `oneof`_ ``_enforce_on_key``.
101473101602 enforce_on_key_configs (MutableSequence[google.cloud.compute_v1.types.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]):
@@ -101540,7 +101669,9 @@ class EnforceOnKey(proto.Enum):
101540101669 configuration or an IP address cannot be resolved from it, the key
101541101670 type defaults to IP. - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint
101542101671 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.
101544101675
101545101676 Values:
101546101677 UNDEFINED_ENFORCE_ON_KEY (0):
0 commit comments