# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/devtools/artifactregistry/v1/version.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/devtools/artifactregistry/v1/tag_pb' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/devtools/artifactregistry/v1/version.proto", :syntax => :proto3) do add_message "google.devtools.artifactregistry.v1.Version" do optional :name, :string, 1 optional :description, :string, 3 optional :create_time, :message, 5, "google.protobuf.Timestamp" optional :update_time, :message, 6, "google.protobuf.Timestamp" repeated :related_tags, :message, 7, "google.devtools.artifactregistry.v1.Tag" optional :metadata, :message, 8, "google.protobuf.Struct" end add_message "google.devtools.artifactregistry.v1.ListVersionsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :view, :enum, 4, "google.devtools.artifactregistry.v1.VersionView" optional :order_by, :string, 5 end add_message "google.devtools.artifactregistry.v1.ListVersionsResponse" do repeated :versions, :message, 1, "google.devtools.artifactregistry.v1.Version" optional :next_page_token, :string, 2 end add_message "google.devtools.artifactregistry.v1.GetVersionRequest" do optional :name, :string, 1 optional :view, :enum, 2, "google.devtools.artifactregistry.v1.VersionView" end add_message "google.devtools.artifactregistry.v1.DeleteVersionRequest" do optional :name, :string, 1 optional :force, :bool, 2 end add_enum "google.devtools.artifactregistry.v1.VersionView" do value :VERSION_VIEW_UNSPECIFIED, 0 value :BASIC, 1 value :FULL, 2 end end end module Google module Cloud module ArtifactRegistry module V1 Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Version").msgclass ListVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListVersionsRequest").msgclass ListVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListVersionsResponse").msgclass GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetVersionRequest").msgclass DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteVersionRequest").msgclass VersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VersionView").enummodule end end end end