google-cloud-artifact_registry-v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,15 +57,19 @@ module Google
57
57
  # @!attribute [rw] hashes
58
58
  # @return [::Array<::Google::Cloud::ArtifactRegistry::V1::Hash>]
59
59
  # The hashes of the file content.
60
- # @!attribute [rw] create_time
60
+ # @!attribute [r] create_time
61
61
  # @return [::Google::Protobuf::Timestamp]
62
- # The time when the File was created.
63
- # @!attribute [rw] update_time
62
+ # Output only. The time when the File was created.
63
+ # @!attribute [r] update_time
64
64
  # @return [::Google::Protobuf::Timestamp]
65
- # The time when the File was last updated.
65
+ # Output only. The time when the File was last updated.
66
66
  # @!attribute [rw] owner
67
67
  # @return [::String]
68
68
  # The name of the Package or Version that owns this file, if any.
69
+ # @!attribute [r] fetch_time
70
+ # @return [::Google::Protobuf::Timestamp]
71
+ # Output only. The time when the last attempt to refresh the file's data was
72
+ # made. Only set when the repository is remote.
69
73
  class File
70
74
  include ::Google::Protobuf::MessageExts
71
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -74,8 +78,8 @@ module Google
74
78
  # The request to list files.
75
79
  # @!attribute [rw] parent
76
80
  # @return [::String]
77
- # The name of the repository whose files will be listed. For example:
78
- # "projects/p1/locations/us-central1/repositories/repo1
81
+ # Required. The name of the repository whose files will be listed. For
82
+ # example: "projects/p1/locations/us-central1/repositories/repo1
79
83
  # @!attribute [rw] filter
80
84
  # @return [::String]
81
85
  # An expression for filtering the results of the request. Filter rules are
@@ -120,7 +124,7 @@ module Google
120
124
  # The request to retrieve a file.
121
125
  # @!attribute [rw] name
122
126
  # @return [::String]
123
- # The name of the file to retrieve.
127
+ # Required. The name of the file to retrieve.
124
128
  class GetFileRequest
125
129
  include ::Google::Protobuf::MessageExts
126
130
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -47,8 +47,9 @@ module Google
47
47
  # @return [::Google::Protobuf::Struct]
48
48
  # Output only. Repository-specific Metadata stored against this version.
49
49
  # The fields returned are defined by the underlying repository-specific
50
- # resource. Currently, the only resource in use is
50
+ # resource. Currently, the resources could be:
51
51
  # {::Google::Cloud::ArtifactRegistry::V1::DockerImage DockerImage}
52
+ # {::Google::Cloud::ArtifactRegistry::V1::MavenArtifact MavenArtifact}
52
53
  class Version
53
54
  include ::Google::Protobuf::MessageExts
54
55
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -113,6 +114,15 @@ module Google
113
114
  extend ::Google::Protobuf::MessageExts::ClassMethods
114
115
  end
115
116
 
117
+ # The metadata of an LRO from deleting multiple versions.
118
+ # @!attribute [rw] failed_versions
119
+ # @return [::Array<::String>]
120
+ # The versions the operation failed to delete.
121
+ class BatchDeleteVersionsMetadata
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
116
126
  # The view, which determines what version information is returned in a
117
127
  # response.
118
128
  module VersionView
@@ -0,0 +1,82 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module ArtifactRegistry
23
+ module V1
24
+ # The Artifact Registry VPC SC config that apply to a Project.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # The name of the project's VPC SC Config.
28
+ #
29
+ # Always of the form:
30
+ # projects/\\{projectID}/locations/\\{location}/vpcscConfig
31
+ #
32
+ # In update request: never set
33
+ # In response: always set
34
+ # @!attribute [rw] vpcsc_policy
35
+ # @return [::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig::VPCSCPolicy]
36
+ # The project per location VPC SC policy that defines the VPC SC behavior for
37
+ # the Remote Repository (Allow/Deny).
38
+ class VPCSCConfig
39
+ include ::Google::Protobuf::MessageExts
40
+ extend ::Google::Protobuf::MessageExts::ClassMethods
41
+
42
+ # VPCSCPolicy is the VPC SC policy for project and location.
43
+ module VPCSCPolicy
44
+ # VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined.
45
+ # When VPS SC policy is not defined - the Service will use the default
46
+ # behavior (VPCSC_DENY).
47
+ VPCSC_POLICY_UNSPECIFIED = 0
48
+
49
+ # VPCSC_DENY - repository will block the requests to the Upstreams for the
50
+ # Remote Repositories if the resource is in the perimeter.
51
+ DENY = 1
52
+
53
+ # VPCSC_ALLOW - repository will allow the requests to the Upstreams for the
54
+ # Remote Repositories if the resource is in the perimeter.
55
+ ALLOW = 2
56
+ end
57
+ end
58
+
59
+ # Gets the VPC SC config for a project.
60
+ # @!attribute [rw] name
61
+ # @return [::String]
62
+ # Required. The name of the VPCSCConfig resource.
63
+ class GetVPCSCConfigRequest
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # Sets the VPCSC config of the project.
69
+ # @!attribute [rw] vpcsc_config
70
+ # @return [::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig]
71
+ # The project config.
72
+ # @!attribute [rw] update_mask
73
+ # @return [::Google::Protobuf::FieldMask]
74
+ # Field mask to support partial updates.
75
+ class UpdateVPCSCConfigRequest
76
+ include ::Google::Protobuf::MessageExts
77
+ extend ::Google::Protobuf::MessageExts::ClassMethods
78
+ end
79
+ end
80
+ end
81
+ end
82
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-artifact_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.3'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.3'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -222,6 +222,7 @@ files:
222
222
  - lib/google/devtools/artifactregistry/v1/settings_pb.rb
223
223
  - lib/google/devtools/artifactregistry/v1/tag_pb.rb
224
224
  - lib/google/devtools/artifactregistry/v1/version_pb.rb
225
+ - lib/google/devtools/artifactregistry/v1/vpcsc_config_pb.rb
225
226
  - lib/google/devtools/artifactregistry/v1/yum_artifact_pb.rb
226
227
  - proto_docs/README.md
227
228
  - proto_docs/google/api/client.rb
@@ -237,6 +238,7 @@ files:
237
238
  - proto_docs/google/devtools/artifactregistry/v1/settings.rb
238
239
  - proto_docs/google/devtools/artifactregistry/v1/tag.rb
239
240
  - proto_docs/google/devtools/artifactregistry/v1/version.rb
241
+ - proto_docs/google/devtools/artifactregistry/v1/vpcsc_config.rb
240
242
  - proto_docs/google/devtools/artifactregistry/v1/yum_artifact.rb
241
243
  - proto_docs/google/iam/v1/iam_policy.rb
242
244
  - proto_docs/google/iam/v1/options.rb
@@ -269,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
271
  - !ruby/object:Gem::Version
270
272
  version: '0'
271
273
  requirements: []
272
- rubygems_version: 3.3.14
274
+ rubygems_version: 3.4.2
273
275
  signing_key:
274
276
  specification_version: 4
275
277
  summary: API Client library for the Artifact Registry V1 API