# frozen_string_literal: true # 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. # Auto-generated by gapic-generator-ruby. DO NOT EDIT! module Google module Cloud module BareMetalSolution module V2 # Represents the metadata from a long-running operation. # @!attribute [r] create_time # @return [::Google::Protobuf::Timestamp] # Output only. The time the operation was created. # @!attribute [r] end_time # @return [::Google::Protobuf::Timestamp] # Output only. The time the operation finished running. # @!attribute [r] target # @return [::String] # Output only. Server-defined resource path for the target of the operation. # @!attribute [r] verb # @return [::String] # Output only. Name of the action executed by the operation. # @!attribute [r] status_message # @return [::String] # Output only. Human-readable status of the operation, if any. # @!attribute [r] requested_cancellation # @return [::Boolean] # 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`. # @!attribute [r] api_version # @return [::String] # Output only. API version used with the operation. class OperationMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Performance tier of the Volume. module 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 end # The possible values for a workload profile. module 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 end end end end end