google-apis-artifactregistry_v1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/artifactregistry_v1/classes.rb +0 -55
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +0 -39
- data/lib/google/apis/artifactregistry_v1/service.rb +0 -119
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb5bfc1060984cd426696693136ea716fb3a6a629b41da03a946d9caa008ce1e
|
4
|
+
data.tar.gz: 318976d2cb680930edd3f006698c857de0954d6fe2a09ce9e8de634d84f695b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 622055ebb7a0901c19bcc40bbbcb4ad39f7381a83ee6feaf672be2a63ef807c3f427ad49071f667c40540d725542586605bc06215934b7df6d9cc30ccbac8722
|
7
|
+
data.tar.gz: 89e8c7eb27d19d33a028191215347550c6d294745a15b29c85796f80728c66bd0f9bc26caf22b6b368d2645cc0eb65d600eef484b93783c837c8ed62eea84822
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Artifactregistry service in particular.)
|
67
67
|
|
@@ -74,19 +74,6 @@ module Google
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
# The request message for Operations.CancelOperation.
|
78
|
-
class CancelOperationRequest
|
79
|
-
include Google::Apis::Core::Hashable
|
80
|
-
|
81
|
-
def initialize(**args)
|
82
|
-
update!(**args)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Update properties of this object
|
86
|
-
def update!(**args)
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
77
|
# DockerImage represents a docker artifact. The following fields are returned as
|
91
78
|
# untyped metadata in the Version resource, using camelcase keys (i.e. metadata.
|
92
79
|
# imageSizeBytes): - imageSizeBytes - mediaType - buildTime
|
@@ -160,23 +147,6 @@ module Google
|
|
160
147
|
end
|
161
148
|
end
|
162
149
|
|
163
|
-
# A generic empty message that you can re-use to avoid defining duplicated empty
|
164
|
-
# messages in your APIs. A typical example is to use it as the request or the
|
165
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
166
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
167
|
-
# `Empty` is empty JSON object ````.
|
168
|
-
class Empty
|
169
|
-
include Google::Apis::Core::Hashable
|
170
|
-
|
171
|
-
def initialize(**args)
|
172
|
-
update!(**args)
|
173
|
-
end
|
174
|
-
|
175
|
-
# Update properties of this object
|
176
|
-
def update!(**args)
|
177
|
-
end
|
178
|
-
end
|
179
|
-
|
180
150
|
# Error information explaining why a package was not imported.
|
181
151
|
class ImportAptArtifactsErrorInfo
|
182
152
|
include Google::Apis::Core::Hashable
|
@@ -365,31 +335,6 @@ module Google
|
|
365
335
|
end
|
366
336
|
end
|
367
337
|
|
368
|
-
# The response message for Operations.ListOperations.
|
369
|
-
class ListOperationsResponse
|
370
|
-
include Google::Apis::Core::Hashable
|
371
|
-
|
372
|
-
# The standard List next-page token.
|
373
|
-
# Corresponds to the JSON property `nextPageToken`
|
374
|
-
# @return [String]
|
375
|
-
attr_accessor :next_page_token
|
376
|
-
|
377
|
-
# A list of operations that matches the specified filter in the request.
|
378
|
-
# Corresponds to the JSON property `operations`
|
379
|
-
# @return [Array<Google::Apis::ArtifactregistryV1::Operation>]
|
380
|
-
attr_accessor :operations
|
381
|
-
|
382
|
-
def initialize(**args)
|
383
|
-
update!(**args)
|
384
|
-
end
|
385
|
-
|
386
|
-
# Update properties of this object
|
387
|
-
def update!(**args)
|
388
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
389
|
-
@operations = args[:operations] if args.key?(:operations)
|
390
|
-
end
|
391
|
-
end
|
392
|
-
|
393
338
|
# The response from listing repositories.
|
394
339
|
class ListRepositoriesResponse
|
395
340
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ArtifactregistryV1
|
18
18
|
# Version of the google-apis-artifactregistry_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,24 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class CancelOperationRequest
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
31
|
class DockerImage
|
38
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
33
|
|
40
34
|
include Google::Apis::Core::JsonObjectSupport
|
41
35
|
end
|
42
36
|
|
43
|
-
class Empty
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
37
|
class ImportAptArtifactsErrorInfo
|
50
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
39
|
|
@@ -88,12 +76,6 @@ module Google
|
|
88
76
|
include Google::Apis::Core::JsonObjectSupport
|
89
77
|
end
|
90
78
|
|
91
|
-
class ListOperationsResponse
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
79
|
class ListRepositoriesResponse
|
98
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
81
|
|
@@ -160,12 +142,6 @@ module Google
|
|
160
142
|
end
|
161
143
|
end
|
162
144
|
|
163
|
-
class CancelOperationRequest
|
164
|
-
# @private
|
165
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
145
|
class DockerImage
|
170
146
|
# @private
|
171
147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -179,12 +155,6 @@ module Google
|
|
179
155
|
end
|
180
156
|
end
|
181
157
|
|
182
|
-
class Empty
|
183
|
-
# @private
|
184
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
158
|
class ImportAptArtifactsErrorInfo
|
189
159
|
# @private
|
190
160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -250,15 +220,6 @@ module Google
|
|
250
220
|
end
|
251
221
|
end
|
252
222
|
|
253
|
-
class ListOperationsResponse
|
254
|
-
# @private
|
255
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
256
|
-
property :next_page_token, as: 'nextPageToken'
|
257
|
-
collection :operations, as: 'operations', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
258
|
-
|
259
|
-
end
|
260
|
-
end
|
261
|
-
|
262
223
|
class ListRepositoriesResponse
|
263
224
|
# @private
|
264
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,79 +50,6 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Starts asynchronous cancellation on a long-running operation. The server makes
|
54
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
55
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
56
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
57
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
58
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
59
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
60
|
-
# corresponding to `Code.CANCELLED`.
|
61
|
-
# @param [String] name
|
62
|
-
# The name of the operation resource to be cancelled.
|
63
|
-
# @param [Google::Apis::ArtifactregistryV1::CancelOperationRequest] cancel_operation_request_object
|
64
|
-
# @param [String] fields
|
65
|
-
# Selector specifying which fields to include in a partial response.
|
66
|
-
# @param [String] quota_user
|
67
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
68
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
69
|
-
# @param [Google::Apis::RequestOptions] options
|
70
|
-
# Request-specific options
|
71
|
-
#
|
72
|
-
# @yield [result, err] Result & error if block supplied
|
73
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::Empty] parsed result object
|
74
|
-
# @yieldparam err [StandardError] error object if request failed
|
75
|
-
#
|
76
|
-
# @return [Google::Apis::ArtifactregistryV1::Empty]
|
77
|
-
#
|
78
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
79
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
|
-
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
82
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
83
|
-
command.request_representation = Google::Apis::ArtifactregistryV1::CancelOperationRequest::Representation
|
84
|
-
command.request_object = cancel_operation_request_object
|
85
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::Empty::Representation
|
86
|
-
command.response_class = Google::Apis::ArtifactregistryV1::Empty
|
87
|
-
command.params['name'] = name unless name.nil?
|
88
|
-
command.query['fields'] = fields unless fields.nil?
|
89
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
90
|
-
execute_or_queue_command(command, &block)
|
91
|
-
end
|
92
|
-
|
93
|
-
# Deletes a long-running operation. This method indicates that the client is no
|
94
|
-
# longer interested in the operation result. It does not cancel the operation.
|
95
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
96
|
-
# UNIMPLEMENTED`.
|
97
|
-
# @param [String] name
|
98
|
-
# The name of the operation resource to be deleted.
|
99
|
-
# @param [String] fields
|
100
|
-
# Selector specifying which fields to include in a partial response.
|
101
|
-
# @param [String] quota_user
|
102
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
-
# @param [Google::Apis::RequestOptions] options
|
105
|
-
# Request-specific options
|
106
|
-
#
|
107
|
-
# @yield [result, err] Result & error if block supplied
|
108
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::Empty] parsed result object
|
109
|
-
# @yieldparam err [StandardError] error object if request failed
|
110
|
-
#
|
111
|
-
# @return [Google::Apis::ArtifactregistryV1::Empty]
|
112
|
-
#
|
113
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
118
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::Empty::Representation
|
119
|
-
command.response_class = Google::Apis::ArtifactregistryV1::Empty
|
120
|
-
command.params['name'] = name unless name.nil?
|
121
|
-
command.query['fields'] = fields unless fields.nil?
|
122
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
-
execute_or_queue_command(command, &block)
|
124
|
-
end
|
125
|
-
|
126
53
|
# Gets the latest state of a long-running operation. Clients can use this method
|
127
54
|
# to poll the operation result at intervals as recommended by the API service.
|
128
55
|
# @param [String] name
|
@@ -154,52 +81,6 @@ module Google
|
|
154
81
|
execute_or_queue_command(command, &block)
|
155
82
|
end
|
156
83
|
|
157
|
-
# Lists operations that match the specified filter in the request. If the server
|
158
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
159
|
-
# binding allows API services to override the binding to use different resource
|
160
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
161
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
162
|
-
# service configuration. For backwards compatibility, the default name includes
|
163
|
-
# the operations collection id, however overriding users must ensure the name
|
164
|
-
# binding is the parent resource, without the operations collection id.
|
165
|
-
# @param [String] name
|
166
|
-
# The name of the operation's parent resource.
|
167
|
-
# @param [String] filter
|
168
|
-
# The standard list filter.
|
169
|
-
# @param [Fixnum] page_size
|
170
|
-
# The standard list page size.
|
171
|
-
# @param [String] page_token
|
172
|
-
# The standard list page token.
|
173
|
-
# @param [String] fields
|
174
|
-
# Selector specifying which fields to include in a partial response.
|
175
|
-
# @param [String] quota_user
|
176
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
177
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
178
|
-
# @param [Google::Apis::RequestOptions] options
|
179
|
-
# Request-specific options
|
180
|
-
#
|
181
|
-
# @yield [result, err] Result & error if block supplied
|
182
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListOperationsResponse] parsed result object
|
183
|
-
# @yieldparam err [StandardError] error object if request failed
|
184
|
-
#
|
185
|
-
# @return [Google::Apis::ArtifactregistryV1::ListOperationsResponse]
|
186
|
-
#
|
187
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
188
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
189
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
190
|
-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
191
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
192
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::ListOperationsResponse::Representation
|
193
|
-
command.response_class = Google::Apis::ArtifactregistryV1::ListOperationsResponse
|
194
|
-
command.params['name'] = name unless name.nil?
|
195
|
-
command.query['filter'] = filter unless filter.nil?
|
196
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
197
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
198
|
-
command.query['fields'] = fields unless fields.nil?
|
199
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
|
-
execute_or_queue_command(command, &block)
|
201
|
-
end
|
202
|
-
|
203
84
|
# Gets a repository.
|
204
85
|
# @param [String] name
|
205
86
|
# Required. The name of the repository to retrieve.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-artifactregistry_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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: 2021-10-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|