google-apis-artifactregistry_v1 0.11.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a41f8bd048ac6f240ae3d03b157c5a00951541c61a14c716a719cc474a83bc0
4
- data.tar.gz: fb900f4eef4e237731ccedb35df882fa87049bec51d88eb1e4cb148db570924a
3
+ metadata.gz: ff27e8e4452d93e5b3ececefe4848268c78a3cfbc87f1cd3f6643094cbb65f13
4
+ data.tar.gz: 70e6c13aa68c5404e617659aa251342ff343714b40fb6f08e90e2d9fdaad9768
5
5
  SHA512:
6
- metadata.gz: 5cf666875f1db413c6dfd6272f23c9ec04803b2dbfc07535dd1ac8fd450748dde02258f17ad1ab6d97cac29ff0286ecbc29805037886a152596caa29a39cfee1
7
- data.tar.gz: 24c7c03b213457a711b6c4d21dfb66464a76ef4c6dba20bef6641fcef5d953de371b6681cd6f3509a8d8587594f7aae1172e1062a32aaab58573b5d4a950fc8a
6
+ metadata.gz: c6035846caee6ddbeef3fa9fd53a64c0c40005883109bf0c77408e821bf3d2bceb3792725610720e581b9620c78816d9dbfc054ce2e2eac70ccc55c76f2d1de3
7
+ data.tar.gz: cc5f9d456e1eab7853d83d8bae8f288b7c728bfd3ecb516b34e7157215c45356e11a521661572b696476539259e99a7d0aeedeecce41d00d7284463e16cac44c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.15.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.14.0 (2021-11-13)
8
+
9
+ * Regenerated from discovery document revision 20211108
10
+
11
+ ### v0.13.0 (2021-10-31)
12
+
13
+ * Regenerated from discovery document revision 20211022
14
+
15
+ ### v0.12.0 (2021-10-22)
16
+
17
+ * Regenerated from discovery document revision 20211015
18
+ * Unspecified changes
19
+
3
20
  ### v0.11.0 (2021-10-01)
4
21
 
5
22
  * Regenerated from discovery document revision 20210925
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/artifactregistry_v1"
51
51
  client = Google::Apis::ArtifactregistryV1::ArtifactRegistryService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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,22 +74,9 @@ 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
- # imageSizeBytes): - imageSizeBytes - mediaType - buildTime
79
+ # imageSizeBytes): * imageSizeBytes * mediaType * buildTime
93
80
  class DockerImage
94
81
  include Google::Apis::Core::Hashable
95
82
 
@@ -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.11.0"
19
+ GEM_VERSION = "0.15.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 = "20210925"
25
+ REVISION = "20211108"
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.
@@ -266,6 +147,36 @@ module Google
266
147
  execute_or_queue_command(command, &block)
267
148
  end
268
149
 
150
+ # Gets a docker image.
151
+ # @param [String] name
152
+ # Required. The name of the docker images.
153
+ # @param [String] fields
154
+ # Selector specifying which fields to include in a partial response.
155
+ # @param [String] quota_user
156
+ # Available to use for quota purposes for server-side applications. Can be any
157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
158
+ # @param [Google::Apis::RequestOptions] options
159
+ # Request-specific options
160
+ #
161
+ # @yield [result, err] Result & error if block supplied
162
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::DockerImage] parsed result object
163
+ # @yieldparam err [StandardError] error object if request failed
164
+ #
165
+ # @return [Google::Apis::ArtifactregistryV1::DockerImage]
166
+ #
167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
170
+ def get_project_location_repository_docker_image(name, fields: nil, quota_user: nil, options: nil, &block)
171
+ command = make_simple_command(:get, 'v1/{+name}', options)
172
+ command.response_representation = Google::Apis::ArtifactregistryV1::DockerImage::Representation
173
+ command.response_class = Google::Apis::ArtifactregistryV1::DockerImage
174
+ command.params['name'] = name unless name.nil?
175
+ command.query['fields'] = fields unless fields.nil?
176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
177
+ execute_or_queue_command(command, &block)
178
+ end
179
+
269
180
  # Lists docker images.
270
181
  # @param [String] parent
271
182
  # Required. The name of the parent resource whose docker images will be listed.
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.11.0
4
+ version: 0.15.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-04 00:00:00.000000000 Z
11
+ date: 2022-01-10 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/master/generated/google-apis-artifactregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1
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.15.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:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Artifact Registry API V1