// 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;

message RegionDisksAddResourcePoliciesRequest {
  // Resource policies to be added to this disk.
  repeated string resource_policies = 1 [json_name = "resourcePolicies"];
}

message RegionDisksRemoveResourcePoliciesRequest {
  // Resource policies to be removed from this disk.
  repeated string resource_policies = 1 [json_name = "resourcePolicies"];
}

message RegionDisksResizeRequest {
  // The new size of the regional persistent disk, which is specified in GB.
  optional string size_gb = 1 [json_name = "sizeGb"];
}

message RegionDisksStartAsyncReplicationRequest {
  // The secondary disk to start asynchronous replication to. You can provide
  // this as a partial or full URL to the resource. For example, the following
  // are valid values: -
  // https://www.googleapis.com/compute/v1/projects/project/zones/zone
  // /disks/disk -
  // https://www.googleapis.com/compute/v1/projects/project/regions/region
  // /disks/disk - projects/project/zones/zone/disks/disk -
  // projects/project/regions/region/disks/disk - zones/zone/disks/disk -
  // regions/region/disks/disk
  optional string async_secondary_disk = 1 [json_name = "asyncSecondaryDisk"];
}
