# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/secrets/v1beta1/resources.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/secrets/v1beta1/resources.proto", :syntax => :proto3) do add_message "google.cloud.secrets.v1beta1.Secret" do optional :name, :string, 1 optional :replication, :message, 2, "google.cloud.secrets.v1beta1.Replication" optional :create_time, :message, 3, "google.protobuf.Timestamp" map :labels, :string, :string, 4 end add_message "google.cloud.secrets.v1beta1.SecretVersion" do optional :name, :string, 1 optional :create_time, :message, 2, "google.protobuf.Timestamp" optional :destroy_time, :message, 3, "google.protobuf.Timestamp" optional :state, :enum, 4, "google.cloud.secrets.v1beta1.SecretVersion.State" end add_enum "google.cloud.secrets.v1beta1.SecretVersion.State" do value :STATE_UNSPECIFIED, 0 value :ENABLED, 1 value :DISABLED, 2 value :DESTROYED, 3 end add_message "google.cloud.secrets.v1beta1.Replication" do oneof :replication do optional :automatic, :message, 1, "google.cloud.secrets.v1beta1.Replication.Automatic" optional :user_managed, :message, 2, "google.cloud.secrets.v1beta1.Replication.UserManaged" end end add_message "google.cloud.secrets.v1beta1.Replication.Automatic" do end add_message "google.cloud.secrets.v1beta1.Replication.UserManaged" do repeated :replicas, :message, 1, "google.cloud.secrets.v1beta1.Replication.UserManaged.Replica" end add_message "google.cloud.secrets.v1beta1.Replication.UserManaged.Replica" do optional :location, :string, 1 end add_message "google.cloud.secrets.v1beta1.SecretPayload" do optional :data, :bytes, 1 end end end module Google module Cloud module SecretManager module V1beta1 Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Secret").msgclass SecretVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretVersion").msgclass SecretVersion::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretVersion.State").enummodule Replication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication").msgclass Replication::Automatic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.Automatic").msgclass Replication::UserManaged = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.UserManaged").msgclass Replication::UserManaged::Replica = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.UserManaged.Replica").msgclass SecretPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretPayload").msgclass end end end end