google-apis-artifactregistry_v1 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +28 -2
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1/representations.rb +15 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +36 -0
- 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: 177a5fc3a0fbbfb90ed3f36faf1a692ef6307554a0e8284bd38d781cc0bafbdb
|
4
|
+
data.tar.gz: b7064834875deb8078a8c10278694a0385dee9623a0ca6e0ff62c036bdfd9704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32845092ae84c7fec7519b6b025a222fcada283868ec58a8d5d4a7f71801830d9b6d1d7860584c1d739b980b3885c26e84638beb6430f4c4800d275b21b1a215
|
7
|
+
data.tar.gz: e43dcd8f0b6a2ad82a4013524f41463edde270123654f2efda572a72a0a49cae3731f89abf435827a20f4554a1dd2cf9fcfc72557411231df598e15128f3603c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.2.0 (2021-03-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210302
|
6
|
+
* Regenerated using generator version 0.1.2
|
7
|
+
|
3
8
|
### v0.1.0 (2021-01-07)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.1.1
|
@@ -51,9 +51,9 @@ module Google
|
|
51
51
|
attr_accessor :media_type
|
52
52
|
|
53
53
|
# Required. registry_location, project_id, repository_name and image id forms a
|
54
|
-
# unique image name:`projects//locations//repository//
|
54
|
+
# unique image name:`projects//locations//repository//dockerImages/`. For
|
55
55
|
# example, "projects/test-project/locations/us-west4/repositories/test-repo/
|
56
|
-
#
|
56
|
+
# dockerImages/ nginx@sha256:
|
57
57
|
# e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", where "us-
|
58
58
|
# west4" is the registry_location, "test-project" is the project_id, "test-repo"
|
59
59
|
# is the repository_name and "nginx@sha256:
|
@@ -112,6 +112,32 @@ module Google
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
+
# The response from listing docker images.
|
116
|
+
class ListDockerImagesResponse
|
117
|
+
include Google::Apis::Core::Hashable
|
118
|
+
|
119
|
+
# The docker images returned.
|
120
|
+
# Corresponds to the JSON property `dockerImages`
|
121
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::DockerImage>]
|
122
|
+
attr_accessor :docker_images
|
123
|
+
|
124
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
125
|
+
# more artifacts to return.
|
126
|
+
# Corresponds to the JSON property `nextPageToken`
|
127
|
+
# @return [String]
|
128
|
+
attr_accessor :next_page_token
|
129
|
+
|
130
|
+
def initialize(**args)
|
131
|
+
update!(**args)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Update properties of this object
|
135
|
+
def update!(**args)
|
136
|
+
@docker_images = args[:docker_images] if args.key?(:docker_images)
|
137
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
115
141
|
# The response message for Operations.ListOperations.
|
116
142
|
class ListOperationsResponse
|
117
143
|
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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.1.
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210302"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class ListDockerImagesResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class ListOperationsResponse
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -82,6 +88,15 @@ module Google
|
|
82
88
|
end
|
83
89
|
end
|
84
90
|
|
91
|
+
class ListDockerImagesResponse
|
92
|
+
# @private
|
93
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
+
collection :docker_images, as: 'dockerImages', class: Google::Apis::ArtifactregistryV1::DockerImage, decorator: Google::Apis::ArtifactregistryV1::DockerImage::Representation
|
95
|
+
|
96
|
+
property :next_page_token, as: 'nextPageToken'
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
85
100
|
class ListOperationsResponse
|
86
101
|
# @private
|
87
102
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -199,6 +199,42 @@ module Google
|
|
199
199
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
200
|
execute_or_queue_command(command, &block)
|
201
201
|
end
|
202
|
+
|
203
|
+
# Lists docker images.
|
204
|
+
# @param [String] parent
|
205
|
+
# Required. The name of the parent resource whose docker images will be listed.
|
206
|
+
# @param [Fixnum] page_size
|
207
|
+
# The maximum number of artifacts to return.
|
208
|
+
# @param [String] page_token
|
209
|
+
# The next_page_token value returned from a previous list request, if any.
|
210
|
+
# @param [String] fields
|
211
|
+
# Selector specifying which fields to include in a partial response.
|
212
|
+
# @param [String] quota_user
|
213
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
214
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
215
|
+
# @param [Google::Apis::RequestOptions] options
|
216
|
+
# Request-specific options
|
217
|
+
#
|
218
|
+
# @yield [result, err] Result & error if block supplied
|
219
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListDockerImagesResponse] parsed result object
|
220
|
+
# @yieldparam err [StandardError] error object if request failed
|
221
|
+
#
|
222
|
+
# @return [Google::Apis::ArtifactregistryV1::ListDockerImagesResponse]
|
223
|
+
#
|
224
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
225
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
226
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
227
|
+
def list_project_location_repository_docker_images(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
|
+
command = make_simple_command(:get, 'v1/{+parent}/dockerImages', options)
|
229
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::ListDockerImagesResponse::Representation
|
230
|
+
command.response_class = Google::Apis::ArtifactregistryV1::ListDockerImagesResponse
|
231
|
+
command.params['parent'] = parent unless parent.nil?
|
232
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
233
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
234
|
+
command.query['fields'] = fields unless fields.nil?
|
235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
236
|
+
execute_or_queue_command(command, &block)
|
237
|
+
end
|
202
238
|
|
203
239
|
protected
|
204
240
|
|
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.2.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-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.2.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Artifact Registry API V1
|