Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b3fdce

Browse files
authored
fix(compute): revert proto3_optional, required removal on parent_id (#714)
1 parent 775267e commit 6b3fdce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

google/cloud/compute/v1/compute.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16439,7 +16439,10 @@ message MoveFirewallPolicyRequest {
1643916439
string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED];
1644016440

1644116441
// The new parent of the firewall policy.
16442-
optional string parent_id = 459714768 [(google.cloud.operation_request_field) = "parent_id"];
16442+
string parent_id = 459714768 [
16443+
(google.api.field_behavior) = REQUIRED,
16444+
(google.cloud.operation_request_field) = "parent_id"
16445+
];
1644316446

1644416447
// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1644516448
optional string request_id = 37109963;

0 commit comments

Comments
 (0)