google-cloud-artifact_registry-v1beta2 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-artifact_registry-v1beta2.rb +21 -0
- data/lib/google/cloud/artifact_registry/v1beta2.rb +35 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry.rb +62 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +2083 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/credentials.rb +52 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +570 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb +52 -0
- data/lib/google/cloud/artifact_registry/v1beta2/version.rb +28 -0
- data/lib/google/devtools/artifactregistry/v1beta2/file_pb.rb +56 -0
- data/lib/google/devtools/artifactregistry/v1beta2/package_pb.rb +46 -0
- data/lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb +67 -0
- data/lib/google/devtools/artifactregistry/v1beta2/service_pb.rb +32 -0
- data/lib/google/devtools/artifactregistry/v1beta2/service_services_pb.rb +102 -0
- data/lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb +22 -0
- data/lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb +56 -0
- data/lib/google/devtools/artifactregistry/v1beta2/version_pb.rb +57 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/file.rb +123 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/package.rb +93 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb +155 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/service.rb +32 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/tag.rb +128 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/version.rb +122 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +80 -0
- data/proto_docs/google/iam/v1/options.rb +40 -0
- data/proto_docs/google/iam/v1/policy.rb +248 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/expr.rb +52 -0
- metadata +242 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 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 V1beta2
|
|
24
|
+
# Packages are named collections of versions.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# The name of the package, for example:
|
|
28
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
|
|
29
|
+
# @!attribute [rw] display_name
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# The display name of the package.
|
|
32
|
+
# @!attribute [rw] create_time
|
|
33
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
34
|
+
# The time when the package was created.
|
|
35
|
+
# @!attribute [rw] update_time
|
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
37
|
+
# The time when the package was last updated. This includes publishing a new
|
|
38
|
+
# version of the package.
|
|
39
|
+
class Package
|
|
40
|
+
include ::Google::Protobuf::MessageExts
|
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# The request to list packages.
|
|
45
|
+
# @!attribute [rw] parent
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# The name of the parent resource whose packages will be listed.
|
|
48
|
+
# @!attribute [rw] page_size
|
|
49
|
+
# @return [::Integer]
|
|
50
|
+
# The maximum number of packages to return.
|
|
51
|
+
# Maximum page size is 10,000.
|
|
52
|
+
# @!attribute [rw] page_token
|
|
53
|
+
# @return [::String]
|
|
54
|
+
# The next_page_token value returned from a previous list request, if any.
|
|
55
|
+
class ListPackagesRequest
|
|
56
|
+
include ::Google::Protobuf::MessageExts
|
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# The response from listing packages.
|
|
61
|
+
# @!attribute [rw] packages
|
|
62
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Package>]
|
|
63
|
+
# The packages returned.
|
|
64
|
+
# @!attribute [rw] next_page_token
|
|
65
|
+
# @return [::String]
|
|
66
|
+
# The token to retrieve the next page of packages, or empty if there are no
|
|
67
|
+
# more packages to return.
|
|
68
|
+
class ListPackagesResponse
|
|
69
|
+
include ::Google::Protobuf::MessageExts
|
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# The request to retrieve a package.
|
|
74
|
+
# @!attribute [rw] name
|
|
75
|
+
# @return [::String]
|
|
76
|
+
# The name of the package to retrieve.
|
|
77
|
+
class GetPackageRequest
|
|
78
|
+
include ::Google::Protobuf::MessageExts
|
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# The request to delete a package.
|
|
83
|
+
# @!attribute [rw] name
|
|
84
|
+
# @return [::String]
|
|
85
|
+
# The name of the package to delete.
|
|
86
|
+
class DeletePackageRequest
|
|
87
|
+
include ::Google::Protobuf::MessageExts
|
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 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 V1beta2
|
|
24
|
+
# A Repository for storing artifacts with a specific format.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# The name of the repository, for example:
|
|
28
|
+
# "projects/p1/locations/us-central1/repositories/repo1".
|
|
29
|
+
# @!attribute [rw] format
|
|
30
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::Repository::Format]
|
|
31
|
+
# The format of packages that are stored in the repository.
|
|
32
|
+
# @!attribute [rw] description
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# The user-provided description of the repository.
|
|
35
|
+
# @!attribute [rw] labels
|
|
36
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
37
|
+
# Labels with user-defined metadata.
|
|
38
|
+
# This field may contain up to 64 entries. Label keys and values may be no
|
|
39
|
+
# longer than 63 characters. Label keys must begin with a lowercase letter
|
|
40
|
+
# and may only contain lowercase letters, numeric characters, underscores,
|
|
41
|
+
# and dashes.
|
|
42
|
+
# @!attribute [rw] create_time
|
|
43
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
44
|
+
# The time when the repository was created.
|
|
45
|
+
# @!attribute [rw] update_time
|
|
46
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
47
|
+
# The time when the repository was last updated.
|
|
48
|
+
# @!attribute [rw] kms_key_name
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# The Cloud KMS resource name of the customer managed encryption key that’s
|
|
51
|
+
# used to encrypt the contents of the Repository. Has the form:
|
|
52
|
+
# `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
|
|
53
|
+
# This value may not be changed after the Repository has been created.
|
|
54
|
+
class Repository
|
|
55
|
+
include ::Google::Protobuf::MessageExts
|
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
57
|
+
|
|
58
|
+
# @!attribute [rw] key
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# @!attribute [rw] value
|
|
61
|
+
# @return [::String]
|
|
62
|
+
class LabelsEntry
|
|
63
|
+
include ::Google::Protobuf::MessageExts
|
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# A package format.
|
|
68
|
+
module Format
|
|
69
|
+
# Unspecified package format.
|
|
70
|
+
FORMAT_UNSPECIFIED = 0
|
|
71
|
+
|
|
72
|
+
# Docker package format.
|
|
73
|
+
DOCKER = 1
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# The request to list repositories.
|
|
78
|
+
# @!attribute [rw] parent
|
|
79
|
+
# @return [::String]
|
|
80
|
+
# The name of the parent resource whose repositories will be listed.
|
|
81
|
+
# @!attribute [rw] page_size
|
|
82
|
+
# @return [::Integer]
|
|
83
|
+
# The maximum number of repositories to return.
|
|
84
|
+
# Maximum page size is 10,000.
|
|
85
|
+
# @!attribute [rw] page_token
|
|
86
|
+
# @return [::String]
|
|
87
|
+
# The next_page_token value returned from a previous list request, if any.
|
|
88
|
+
class ListRepositoriesRequest
|
|
89
|
+
include ::Google::Protobuf::MessageExts
|
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# The response from listing repositories.
|
|
94
|
+
# @!attribute [rw] repositories
|
|
95
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Repository>]
|
|
96
|
+
# The repositories returned.
|
|
97
|
+
# @!attribute [rw] next_page_token
|
|
98
|
+
# @return [::String]
|
|
99
|
+
# The token to retrieve the next page of repositories, or empty if there are
|
|
100
|
+
# no more repositories to return.
|
|
101
|
+
class ListRepositoriesResponse
|
|
102
|
+
include ::Google::Protobuf::MessageExts
|
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# The request to retrieve a repository.
|
|
107
|
+
# @!attribute [rw] name
|
|
108
|
+
# @return [::String]
|
|
109
|
+
# The name of the repository to retrieve.
|
|
110
|
+
class GetRepositoryRequest
|
|
111
|
+
include ::Google::Protobuf::MessageExts
|
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# The request to create a new repository.
|
|
116
|
+
# @!attribute [rw] parent
|
|
117
|
+
# @return [::String]
|
|
118
|
+
# The name of the parent resource where the repository will be created.
|
|
119
|
+
# @!attribute [rw] repository_id
|
|
120
|
+
# @return [::String]
|
|
121
|
+
# The repository id to use for this repository.
|
|
122
|
+
# @!attribute [rw] repository
|
|
123
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::Repository]
|
|
124
|
+
# The repository to be created.
|
|
125
|
+
class CreateRepositoryRequest
|
|
126
|
+
include ::Google::Protobuf::MessageExts
|
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# The request to update a repository.
|
|
131
|
+
# @!attribute [rw] repository
|
|
132
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::Repository]
|
|
133
|
+
# The repository that replaces the resource on the server.
|
|
134
|
+
# @!attribute [rw] update_mask
|
|
135
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
136
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
|
137
|
+
# see
|
|
138
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
|
139
|
+
class UpdateRepositoryRequest
|
|
140
|
+
include ::Google::Protobuf::MessageExts
|
|
141
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# The request to delete a repository.
|
|
145
|
+
# @!attribute [rw] name
|
|
146
|
+
# @return [::String]
|
|
147
|
+
# The name of the repository to delete.
|
|
148
|
+
class DeleteRepositoryRequest
|
|
149
|
+
include ::Google::Protobuf::MessageExts
|
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 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 V1beta2
|
|
24
|
+
# Metadata type for longrunning-operations, currently empty.
|
|
25
|
+
class OperationMetadata
|
|
26
|
+
include ::Google::Protobuf::MessageExts
|
|
27
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 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 V1beta2
|
|
24
|
+
# Tags point to a version and represent an alternative name that can be used
|
|
25
|
+
# to access the version.
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# The name of the tag, for example:
|
|
29
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
|
|
30
|
+
# @!attribute [rw] version
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# The name of the version the tag refers to, for example:
|
|
33
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
|
|
34
|
+
class Tag
|
|
35
|
+
include ::Google::Protobuf::MessageExts
|
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# The request to list tags.
|
|
40
|
+
# @!attribute [rw] parent
|
|
41
|
+
# @return [::String]
|
|
42
|
+
# The name of the parent resource whose tags will be listed.
|
|
43
|
+
# @!attribute [rw] filter
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# An expression for filtering the results of the request. Filter rules are
|
|
46
|
+
# case insensitive. The fields eligible for filtering are:
|
|
47
|
+
#
|
|
48
|
+
# * `version`
|
|
49
|
+
#
|
|
50
|
+
# An example of using a filter:
|
|
51
|
+
#
|
|
52
|
+
# * `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"`
|
|
53
|
+
# --> Tags that are applied to the version `1.0` in package `pkg1`.
|
|
54
|
+
# @!attribute [rw] page_size
|
|
55
|
+
# @return [::Integer]
|
|
56
|
+
# The maximum number of tags to return.
|
|
57
|
+
# Maximum page size is 10,000.
|
|
58
|
+
# @!attribute [rw] page_token
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# The next_page_token value returned from a previous list request, if any.
|
|
61
|
+
class ListTagsRequest
|
|
62
|
+
include ::Google::Protobuf::MessageExts
|
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# The response from listing tags.
|
|
67
|
+
# @!attribute [rw] tags
|
|
68
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Tag>]
|
|
69
|
+
# The tags returned.
|
|
70
|
+
# @!attribute [rw] next_page_token
|
|
71
|
+
# @return [::String]
|
|
72
|
+
# The token to retrieve the next page of tags, or empty if there are no
|
|
73
|
+
# more tags to return.
|
|
74
|
+
class ListTagsResponse
|
|
75
|
+
include ::Google::Protobuf::MessageExts
|
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# The request to retrieve a tag.
|
|
80
|
+
# @!attribute [rw] name
|
|
81
|
+
# @return [::String]
|
|
82
|
+
# The name of the tag to retrieve.
|
|
83
|
+
class GetTagRequest
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# The request to create a new tag.
|
|
89
|
+
# @!attribute [rw] parent
|
|
90
|
+
# @return [::String]
|
|
91
|
+
# The name of the parent resource where the tag will be created.
|
|
92
|
+
# @!attribute [rw] tag_id
|
|
93
|
+
# @return [::String]
|
|
94
|
+
# The tag id to use for this repository.
|
|
95
|
+
# @!attribute [rw] tag
|
|
96
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::Tag]
|
|
97
|
+
# The tag to be created.
|
|
98
|
+
class CreateTagRequest
|
|
99
|
+
include ::Google::Protobuf::MessageExts
|
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# The request to create or update a tag.
|
|
104
|
+
# @!attribute [rw] tag
|
|
105
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::Tag]
|
|
106
|
+
# The tag that replaces the resource on the server.
|
|
107
|
+
# @!attribute [rw] update_mask
|
|
108
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
109
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
|
110
|
+
# see
|
|
111
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
|
112
|
+
class UpdateTagRequest
|
|
113
|
+
include ::Google::Protobuf::MessageExts
|
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# The request to delete a tag.
|
|
118
|
+
# @!attribute [rw] name
|
|
119
|
+
# @return [::String]
|
|
120
|
+
# The name of the tag to delete.
|
|
121
|
+
class DeleteTagRequest
|
|
122
|
+
include ::Google::Protobuf::MessageExts
|
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 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 V1beta2
|
|
24
|
+
# The body of a version resource. A version resource represents a
|
|
25
|
+
# collection of components, such as files and other data. This may correspond
|
|
26
|
+
# to a version in many package management schemes.
|
|
27
|
+
# @!attribute [rw] name
|
|
28
|
+
# @return [::String]
|
|
29
|
+
# The name of the version, for example:
|
|
30
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
|
|
31
|
+
# @!attribute [rw] description
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Optional. Description of the version, as specified in its metadata.
|
|
34
|
+
# @!attribute [rw] create_time
|
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
36
|
+
# The time when the version was created.
|
|
37
|
+
# @!attribute [rw] update_time
|
|
38
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
39
|
+
# The time when the version was last updated.
|
|
40
|
+
# @!attribute [rw] related_tags
|
|
41
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Tag>]
|
|
42
|
+
# Output only. A list of related tags. Will contain up to 100 tags that
|
|
43
|
+
# reference this version.
|
|
44
|
+
class Version
|
|
45
|
+
include ::Google::Protobuf::MessageExts
|
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# The request to list versions.
|
|
50
|
+
# @!attribute [rw] parent
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# The name of the parent resource whose versions will be listed.
|
|
53
|
+
# @!attribute [rw] page_size
|
|
54
|
+
# @return [::Integer]
|
|
55
|
+
# The maximum number of versions to return.
|
|
56
|
+
# Maximum page size is 10,000.
|
|
57
|
+
# @!attribute [rw] page_token
|
|
58
|
+
# @return [::String]
|
|
59
|
+
# The next_page_token value returned from a previous list request, if any.
|
|
60
|
+
# @!attribute [rw] view
|
|
61
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::VersionView]
|
|
62
|
+
# The view that should be returned in the response.
|
|
63
|
+
class ListVersionsRequest
|
|
64
|
+
include ::Google::Protobuf::MessageExts
|
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# The response from listing versions.
|
|
69
|
+
# @!attribute [rw] versions
|
|
70
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Version>]
|
|
71
|
+
# The versions returned.
|
|
72
|
+
# @!attribute [rw] next_page_token
|
|
73
|
+
# @return [::String]
|
|
74
|
+
# The token to retrieve the next page of versions, or empty if there are no
|
|
75
|
+
# more versions to return.
|
|
76
|
+
class ListVersionsResponse
|
|
77
|
+
include ::Google::Protobuf::MessageExts
|
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# The request to retrieve a version.
|
|
82
|
+
# @!attribute [rw] name
|
|
83
|
+
# @return [::String]
|
|
84
|
+
# The name of the version to retrieve.
|
|
85
|
+
# @!attribute [rw] view
|
|
86
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1beta2::VersionView]
|
|
87
|
+
# The view that should be returned in the response.
|
|
88
|
+
class GetVersionRequest
|
|
89
|
+
include ::Google::Protobuf::MessageExts
|
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# The request to delete a version.
|
|
94
|
+
# @!attribute [rw] name
|
|
95
|
+
# @return [::String]
|
|
96
|
+
# The name of the version to delete.
|
|
97
|
+
# @!attribute [rw] force
|
|
98
|
+
# @return [::Boolean]
|
|
99
|
+
# By default, a version that is tagged may not be deleted. If force=true, the
|
|
100
|
+
# version and any tags pointing to the version are deleted.
|
|
101
|
+
class DeleteVersionRequest
|
|
102
|
+
include ::Google::Protobuf::MessageExts
|
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# The view, which determines what version information is returned in a
|
|
107
|
+
# response.
|
|
108
|
+
module VersionView
|
|
109
|
+
# The default / unset value.
|
|
110
|
+
# The API will default to the BASIC view.
|
|
111
|
+
VERSION_VIEW_UNSPECIFIED = 0
|
|
112
|
+
|
|
113
|
+
# Includes basic information about the version, but not any related tags.
|
|
114
|
+
BASIC = 1
|
|
115
|
+
|
|
116
|
+
# Include everything.
|
|
117
|
+
FULL = 2
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|