// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Generated by the C++ microgenerator.
// If you make any local changes, they will be lost.
// file:///workspace/generator/discovery/compute_public_google_rest_v1.json
// revision: 20231110

syntax = "proto3";

package google.cloud.cpp.compute.v1;

import "google/cloud/compute/v1/internal/common_007.proto";

message ZoneSetPolicyRequest {
  // Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use
  // 'policy' to specify bindings.
  repeated Binding bindings = 1 [json_name = "bindings"];

  // Flatten Policy to create a backward compatible wire-format. Deprecated. Use
  // 'policy' to specify the etag.
  optional string etag = 2 [json_name = "etag"];

  // REQUIRED: The complete policy to be applied to the 'resource'. The size of
  // the policy is limited to a few 10s of KB. An empty policy is in general a
  // valid policy but certain services (like Projects) might reject them.
  optional Policy policy = 3 [json_name = "policy"];
}
