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

Commit 3d0fe75

Browse files
fix: handle GCP enum name start with uppercase IPProtocol (#691) (#166)
- [ ] Regenerate this pull request now. Source-Link: googleapis/googleapis@ae8950f Source-Link: https://github.com/googleapis/googleapis-gen/commit/5f4daa08fb48634977000d6706bf7d1f75d1f5dd Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWY0ZGFhMDhmYjQ4NjM0OTc3MDAwZDY3MDZiZjdkMWY3NWQxZjVkZCJ9
1 parent b59360c commit 3d0fe75

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

google/cloud/compute_v1/types/compute.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7217,8 +7217,7 @@ class AutoscalingPolicyScalingSchedule(proto.Message):
72177217
The time zone to use when interpreting the schedule. The
72187218
value of this field must be a time zone name from the tz
72197219
database: http://en.wikipedia.org/wiki/Tz_database. This
7220-
field is assigned a default value of ���UTC��� if left
7221-
empty.
7220+
field is assigned a default value of “UTC” if left empty.
72227221

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

1508715087
This field is a member of `oneof`_ ``_I_p_protocol``.
1508815088
all_ports (bool):
@@ -15340,14 +15340,14 @@ class ForwardingRule(proto.Message):
1534015340
This field is a member of `oneof`_ ``_target``.
1534115341
"""
1534215342

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

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

4160941609
This field is a member of `oneof`_ ``_all_instances``.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy