lib/google/devtools/artifactregistry/v1/repository_pb.rb in google-cloud-artifact_registry-v1-0.2.2 vs lib/google/devtools/artifactregistry/v1/repository_pb.rb in google-cloud-artifact_registry-v1-0.3.0
- old
+ new
@@ -1,12 +1,12 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/devtools/artifactregistry/v1/repository.proto
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
+require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'
-require 'google/api/annotations_pb'
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("google/devtools/artifactregistry/v1/repository.proto", :syntax => :proto3) do
add_message "google.devtools.artifactregistry.v1.Repository" do
@@ -15,11 +15,23 @@
optional :description, :string, 3
map :labels, :string, :string, 4
optional :create_time, :message, 5, "google.protobuf.Timestamp"
optional :update_time, :message, 6, "google.protobuf.Timestamp"
optional :kms_key_name, :string, 8
+ oneof :format_config do
+ optional :maven_config, :message, 9, "google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig"
+ end
end
+ add_message "google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig" do
+ optional :allow_snapshot_overwrites, :bool, 1
+ optional :version_policy, :enum, 2, "google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy"
+ end
+ add_enum "google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy" do
+ value :VERSION_POLICY_UNSPECIFIED, 0
+ value :RELEASE, 1
+ value :SNAPSHOT, 2
+ end
add_enum "google.devtools.artifactregistry.v1.Repository.Format" do
value :FORMAT_UNSPECIFIED, 0
value :DOCKER, 1
value :MAVEN, 2
value :NPM, 3
@@ -37,21 +49,38 @@
optional :next_page_token, :string, 2
end
add_message "google.devtools.artifactregistry.v1.GetRepositoryRequest" do
optional :name, :string, 1
end
+ add_message "google.devtools.artifactregistry.v1.CreateRepositoryRequest" do
+ optional :parent, :string, 1
+ optional :repository_id, :string, 2
+ optional :repository, :message, 3, "google.devtools.artifactregistry.v1.Repository"
+ end
+ add_message "google.devtools.artifactregistry.v1.UpdateRepositoryRequest" do
+ optional :repository, :message, 1, "google.devtools.artifactregistry.v1.Repository"
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
+ end
+ add_message "google.devtools.artifactregistry.v1.DeleteRepositoryRequest" do
+ optional :name, :string, 1
+ end
end
end
module Google
module Cloud
module ArtifactRegistry
module V1
Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository").msgclass
+ Repository::MavenRepositoryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig").msgclass
+ Repository::MavenRepositoryConfig::VersionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy").enummodule
Repository::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.Format").enummodule
ListRepositoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListRepositoriesRequest").msgclass
ListRepositoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListRepositoriesResponse").msgclass
GetRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetRepositoryRequest").msgclass
+ CreateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.CreateRepositoryRequest").msgclass
+ UpdateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdateRepositoryRequest").msgclass
+ DeleteRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteRepositoryRequest").msgclass
end
end
end
end