Skip to content

Commit

Permalink
fix(compute): replace missing REQUIRED for parent_id (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz committed Apr 12, 2022
1 parent 1e470c1 commit 4bb6fd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion google/cloud/compute/v1/compute.proto
Expand Up @@ -9946,7 +9946,10 @@ message InsertFirewallPolicyRequest {
FirewallPolicy firewall_policy_resource = 495049532 [(google.api.field_behavior) = REQUIRED];

// Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization.
optional string parent_id = 459714768 [(google.cloud.operation_request_field) = "parent_id"];
optional string parent_id = 459714768 [
(google.cloud.operation_request_field) = "parent_id",
(google.api.field_behavior) = REQUIRED
];

// 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).
optional string request_id = 37109963;
Expand Down

0 comments on commit 4bb6fd6

Please sign in to comment.