Skip to content

Commit ae8950f

Browse files
fix!: handle GCP enum name start with uppercase IPProtocol (#691)
1 parent 6230f6e commit ae8950f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

google/cloud/compute/v1/compute.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ message Address {
615615
// VM internal/alias IP, Internal LB service IP, etc.
616616
GCE_ENDPOINT = 230515243;
617617

618-
// A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
618+
// A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachments IP address range.
619619
IPSEC_INTERCONNECT = 340437251;
620620

621621
// External IP automatically reserved for Cloud NAT.
@@ -2402,7 +2402,7 @@ message AutoscalingPolicyScalingSchedule {
24022402
// The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.
24032403
optional string schedule = 375820951;
24042404

2405-
// 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.
2405+
// 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.
24062406
optional string time_zone = 36848094;
24072407

24082408
}
@@ -6133,9 +6133,9 @@ message FixedOrPercent {
61336133
// Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.
61346134
message ForwardingRule {
61356135
// 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).
6136-
enum IPProtocol {
6136+
enum IPProtocolEnum {
61376137
// A value indicating that the enum field is not set.
6138-
UNDEFINED_I_P_PROTOCOL = 0;
6138+
UNDEFINED_I_P_PROTOCOL_ENUM = 0;
61396139

61406140
AH = 2087;
61416141

@@ -6219,7 +6219,7 @@ message ForwardingRule {
62196219
optional string I_p_address = 42976943;
62206220

62216221
// 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).
6222-
// Check the IPProtocol enum for the list of possible values.
6222+
// Check the IPProtocolEnum enum for the list of possible values.
62236223
optional string I_p_protocol = 488094525;
62246224

62256225
// This field is used along with the backend_service field for Internal TCP/UDP Load Balancing or Network Load Balancing, or with the target field for internal and external TargetInstance. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and SCTP traffic, packets addressed to any ports will be forwarded to the target or backendService.
@@ -10613,7 +10613,7 @@ message InstanceGroupManagersAbandonInstancesRequest {
1061310613

1061410614
// InstanceGroupManagers.applyUpdatesToInstances
1061510615
message InstanceGroupManagersApplyUpdatesRequest {
10616-
// 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 in the request.
10616+
// 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 in the request.
1061710617
optional bool all_instances = 403676512;
1061810618

1061910619
// The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
@@ -18465,7 +18465,7 @@ message RegionInstanceGroupManagersAbandonInstancesRequest {
1846518465

1846618466
// RegionInstanceGroupManagers.applyUpdatesToInstances
1846718467
message RegionInstanceGroupManagersApplyUpdatesRequest {
18468-
// 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 in the request.
18468+
// 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 in the request.
1846918469
optional bool all_instances = 403676512;
1847018470

1847118471
// The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

0 commit comments

Comments
 (0)