google-apis-artifactregistry_v1 0.9.0 → 0.13.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: '094ee73f31c19e200c82fd43bfdb3b18dbc3eee44629d4cfc0bc9d8abb401fc6'
4
- data.tar.gz: cbdb9fcdf7224b77d9a23d7f116d8b328fd75963eb4412798b5dbb3eb612254a
3
+ metadata.gz: bcd7b6e13f2b0e44f12e7c736ce22973d3e0829bd19d74411edd51eaf02bd34e
4
+ data.tar.gz: 283595d53d5f993babc4f8166d9acbd77642ddc3e7216370cc33e00051fdc815
5
5
  SHA512:
6
- metadata.gz: a40c17ed7a4e79566a5dc21a0c12bca50a3c4b102d084aa6031a57eb9b417836fb9d9ccf02c49912d5b2f99d51885ac5188682ff3ecd913d89f64b7e7c0ad98a
7
- data.tar.gz: 2553661594820665bb715d10cce6047c48dd52b180f49235eb15c6b281a1f21f7d259c30bc1ff6a74ced9539f922a85abd27f152eb1f512bde636b0a259ee2ab
6
+ metadata.gz: a75f8fb8cb8088fc3faa3a802aaec502d905f08e434a16b8cfc74e1e24ade72194cf1ec2cc5f9f364e2290fffcdfee3171a15cd5d0e6283beee61c7c0c4c2dc0
7
+ data.tar.gz: 842172fea9423d9c53dc5748883f73524032bc3c35c50e434303691e2244683694dcfb6c2a5defafbe7411613464ef9aee0ca9c6ef632815fe383dedbbf64148
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.13.0 (2021-10-31)
4
+
5
+ * Regenerated from discovery document revision 20211022
6
+
7
+ ### v0.12.0 (2021-10-22)
8
+
9
+ * Regenerated from discovery document revision 20211015
10
+ * Unspecified changes
11
+
12
+ ### v0.11.0 (2021-10-01)
13
+
14
+ * Regenerated from discovery document revision 20210925
15
+
16
+ ### v0.10.0 (2021-09-01)
17
+
18
+ * Regenerated from discovery document revision 20210817
19
+
3
20
  ### v0.9.0 (2021-07-06)
4
21
 
5
22
  * Regenerated from discovery document revision 20210629
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/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,30 +74,16 @@ 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
 
96
83
  # The time this image was built. This field is returned as the 'metadata.
97
84
  # buildTime' field in the Version resource. The build time is returned to the
98
85
  # client as an RFC 3339 string, which can be easily used with the JavaScript
99
- # Date constructor and keeps the Version timestamps returned via OnePlatform
100
- # consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.
86
+ # Date constructor.
101
87
  # Corresponds to the JSON property `buildTime`
102
88
  # @return [String]
103
89
  attr_accessor :build_time
@@ -161,23 +147,6 @@ module Google
161
147
  end
162
148
  end
163
149
 
164
- # A generic empty message that you can re-use to avoid defining duplicated empty
165
- # messages in your APIs. A typical example is to use it as the request or the
166
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
167
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
168
- # `Empty` is empty JSON object ````.
169
- class Empty
170
- include Google::Apis::Core::Hashable
171
-
172
- def initialize(**args)
173
- update!(**args)
174
- end
175
-
176
- # Update properties of this object
177
- def update!(**args)
178
- end
179
- end
180
-
181
150
  # Error information explaining why a package was not imported.
182
151
  class ImportAptArtifactsErrorInfo
183
152
  include Google::Apis::Core::Hashable
@@ -366,31 +335,6 @@ module Google
366
335
  end
367
336
  end
368
337
 
369
- # The response message for Operations.ListOperations.
370
- class ListOperationsResponse
371
- include Google::Apis::Core::Hashable
372
-
373
- # The standard List next-page token.
374
- # Corresponds to the JSON property `nextPageToken`
375
- # @return [String]
376
- attr_accessor :next_page_token
377
-
378
- # A list of operations that matches the specified filter in the request.
379
- # Corresponds to the JSON property `operations`
380
- # @return [Array<Google::Apis::ArtifactregistryV1::Operation>]
381
- attr_accessor :operations
382
-
383
- def initialize(**args)
384
- update!(**args)
385
- end
386
-
387
- # Update properties of this object
388
- def update!(**args)
389
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
390
- @operations = args[:operations] if args.key?(:operations)
391
- end
392
- end
393
-
394
338
  # The response from listing repositories.
395
339
  class ListRepositoriesResponse
396
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.9.0"
19
+ GEM_VERSION = "0.13.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 = "20210629"
25
+ REVISION = "20211022"
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] filter
166
- # The standard list filter.
167
- # @param [String] name
168
- # The name of the operation's parent resource.
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(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
191
- command = make_simple_command(:get, 'v1/operations', options)
192
- command.response_representation = Google::Apis::ArtifactregistryV1::ListOperationsResponse::Representation
193
- command.response_class = Google::Apis::ArtifactregistryV1::ListOperationsResponse
194
- command.query['filter'] = filter unless filter.nil?
195
- command.query['name'] = name unless name.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.
@@ -30,10 +30,10 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
- # View your data across Google Cloud Platform services
36
+ # View your data across Google Cloud services and see the email address of your Google Account
37
37
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
38
38
  end
39
39
  end
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.9.0
4
+ version: 0.13.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-07-12 00:00:00.000000000 Z
11
+ date: 2021-11-01 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.9.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.13.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: