Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
fix: handle GCP enum name start with uppercase IPProtocol (#691) (#166)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Source-Link: googleapis/googleapis@ae8950f

Source-Link: googleapis/googleapis-gen@5f4daa0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWY0ZGFhMDhmYjQ4NjM0OTc3MDAwZDY3MDZiZjdkMWY3NWQxZjVkZCJ9
  • Loading branch information
gcf-owl-bot[bot] committed Dec 5, 2021
1 parent b59360c commit 3d0fe75
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions google/cloud/compute_v1/types/compute.py
Expand Up @@ -7217,8 +7217,7 @@ class AutoscalingPolicyScalingSchedule(proto.Message):
The time zone to use when interpreting the schedule. The
value of this field must be a time zone name from the tz
database: http://en.wikipedia.org/wiki/Tz_database. This
field is assigned a default value of ���UTC��� if left
empty.
field is assigned a default value of “UTC” if left empty.

This field is a member of `oneof`_ ``_time_zone``.
"""
Expand Down Expand Up @@ -15082,7 +15081,8 @@ class ForwardingRule(proto.Message):
different load balancing products as described in `Load
balancing
features <https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends>`__.
Check the IPProtocol enum for the list of possible values.
Check the IPProtocolEnum enum for the list of possible
values.

This field is a member of `oneof`_ ``_I_p_protocol``.
all_ports (bool):
Expand Down Expand Up @@ -15340,14 +15340,14 @@ class ForwardingRule(proto.Message):
This field is a member of `oneof`_ ``_target``.
"""

class IPProtocol(proto.Enum):
class IPProtocolEnum(proto.Enum):
r"""The IP protocol to which this rule applies. For protocol forwarding,
valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The
valid IP protocols are different for different load balancing
products as described in `Load balancing
features <https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends>`__.
"""
UNDEFINED_I_P_PROTOCOL = 0
UNDEFINED_I_P_PROTOCOL_ENUM = 0
AH = 2087
ESP = 68962
ICMP = 2241597
Expand Down Expand Up @@ -23840,8 +23840,8 @@ class InstanceGroupManagersApplyUpdatesRequest(proto.Message):
Attributes:
all_instances (bool):
Flag to update all instances instead of
specified list of ���instances���. If the flag
is set to true then the instances may not be
specified list of instances. If the flag is
set to true then the instances may not be
specified in the request.

This field is a member of `oneof`_ ``_all_instances``.
Expand Down Expand Up @@ -41602,8 +41602,8 @@ class RegionInstanceGroupManagersApplyUpdatesRequest(proto.Message):
Attributes:
all_instances (bool):
Flag to update all instances instead of
specified list of ���instances���. If the flag
is set to true then the instances may not be
specified list of instances. If the flag is
set to true then the instances may not be
specified in the request.

This field is a member of `oneof`_ ``_all_instances``.
Expand Down

0 comments on commit 3d0fe75

Please sign in to comment.