googleapis/google/cloud/baremetalsolution/v2/common.proto
Google APIs 7245f35ae1 feat(baremetalsolution): several new resources and RPCs
feat: add RPCs Enable/Disable InteractiveSerialConsole
feat: add RPCs Rename/Evict Volume
feat: add RPC EvictLune
feat: add SSHKey resource and methods
feat: add VolumeSnapshot resource and methods
feat: add NFSShare resource and methods
feat: add ProvisioningConfig resource and methods
feat: add OsImage resource and methods
feat: add new Instance state values

PiperOrigin-RevId: 554849453
2023-08-08 09:30:23 -07:00

85 lines
3 KiB
Protocol Buffer

// 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
//
// http://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.
syntax = "proto3";
package google.cloud.baremetalsolution.v2;
import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.BareMetalSolution.V2";
option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb";
option java_multiple_files = true;
option java_outer_classname = "CommonProto";
option java_package = "com.google.cloud.baremetalsolution.v2";
option php_namespace = "Google\\Cloud\\BareMetalSolution\\V2";
option ruby_package = "Google::Cloud::BareMetalSolution::V2";
// Represents the metadata from a long-running operation.
message OperationMetadata {
// Output only. The time the operation was created.
google.protobuf.Timestamp create_time = 1
[(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The time the operation finished running.
google.protobuf.Timestamp end_time = 2
[(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Server-defined resource path for the target of the operation.
string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Name of the action executed by the operation.
string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Human-readable status of the operation, if any.
string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Identifies whether the user requested the cancellation
// of the operation. Operations that have been successfully cancelled
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. API version used with the operation.
string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Performance tier of the Volume.
enum VolumePerformanceTier {
// Value is not specified.
VOLUME_PERFORMANCE_TIER_UNSPECIFIED = 0;
// Regular volumes, shared aggregates.
VOLUME_PERFORMANCE_TIER_SHARED = 1;
// Assigned aggregates.
VOLUME_PERFORMANCE_TIER_ASSIGNED = 2;
// High throughput aggregates.
VOLUME_PERFORMANCE_TIER_HT = 3;
}
// The possible values for a workload profile.
enum WorkloadProfile {
// The workload profile is in an unknown state.
WORKLOAD_PROFILE_UNSPECIFIED = 0;
// The workload profile is generic.
WORKLOAD_PROFILE_GENERIC = 1;
// The workload profile is hana.
WORKLOAD_PROFILE_HANA = 2;
}