google-apis-artifactregistry_v1beta2 0.16.0 → 0.20.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 +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +18 -5
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +12 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +12 -12
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43e080b9b41f0181e8cb74caf1fb40ebb9a59dfaf3af9c4a9736ecc74e7e2160
|
4
|
+
data.tar.gz: f9a326a460b8d66e1465648f058a0d808c4731d2ac3223a58eb97c6975ac497f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b355ed70793ec1304b1cc39b6a03cd0f9f7205bc7db64b2b9283e04d7868fd86702c97ed71c98d4a85617c959da03ee4476e56678ad7f4bf964604983b839cdd
|
7
|
+
data.tar.gz: 8ba70f5af942c2b20ba51bd7cb70fefeefca457f54d06dfd667d5c0d4d65ceee5422c24df98b4c547b35cb3e12ad7dac7347051b3185232835e56bc5e13d6330
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1beta2
|
2
2
|
|
3
|
+
### v0.20.0 (2022-02-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220203
|
6
|
+
|
7
|
+
### v0.19.0 (2022-01-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220121
|
10
|
+
|
11
|
+
### v0.18.0 (2022-01-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220113
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.17.0 (2021-12-14)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.16.0 (2021-11-13)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211108
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/artifactregistry_v1beta2"
|
|
51
51
|
client = Google::Apis::ArtifactregistryV1beta2::ArtifactRegistryService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
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.
|
@@ -368,11 +368,11 @@ module Google
|
|
368
368
|
end
|
369
369
|
end
|
370
370
|
|
371
|
-
# The response message from importing artifacts.
|
371
|
+
# The response message from importing APT artifacts.
|
372
372
|
class ImportAptArtifactsResponse
|
373
373
|
include Google::Apis::Core::Hashable
|
374
374
|
|
375
|
-
# The Apt artifacts
|
375
|
+
# The Apt artifacts imported.
|
376
376
|
# Corresponds to the JSON property `aptArtifacts`
|
377
377
|
# @return [Array<Google::Apis::ArtifactregistryV1beta2::AptArtifact>]
|
378
378
|
attr_accessor :apt_artifacts
|
@@ -468,7 +468,7 @@ module Google
|
|
468
468
|
end
|
469
469
|
end
|
470
470
|
|
471
|
-
# The response message from importing artifacts.
|
471
|
+
# The response message from importing YUM artifacts.
|
472
472
|
class ImportYumArtifactsResponse
|
473
473
|
include Google::Apis::Core::Hashable
|
474
474
|
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
# @return [Array<Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsErrorInfo>]
|
478
478
|
attr_accessor :errors
|
479
479
|
|
480
|
-
# The yum artifacts
|
480
|
+
# The yum artifacts imported.
|
481
481
|
# Corresponds to the JSON property `yumArtifacts`
|
482
482
|
# @return [Array<Google::Apis::ArtifactregistryV1beta2::YumArtifact>]
|
483
483
|
attr_accessor :yum_artifacts
|
@@ -784,6 +784,19 @@ module Google
|
|
784
784
|
end
|
785
785
|
end
|
786
786
|
|
787
|
+
# Metadata type for longrunning-operations, currently empty.
|
788
|
+
class OperationMetadata
|
789
|
+
include Google::Apis::Core::Hashable
|
790
|
+
|
791
|
+
def initialize(**args)
|
792
|
+
update!(**args)
|
793
|
+
end
|
794
|
+
|
795
|
+
# Update properties of this object
|
796
|
+
def update!(**args)
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
787
800
|
# Packages are named collections of versions.
|
788
801
|
class Package
|
789
802
|
include Google::Apis::Core::Hashable
|
@@ -958,7 +971,7 @@ module Google
|
|
958
971
|
# @return [String]
|
959
972
|
attr_accessor :format
|
960
973
|
|
961
|
-
# The Cloud KMS resource name of the customer managed encryption key that
|
974
|
+
# The Cloud KMS resource name of the customer managed encryption key that's used
|
962
975
|
# to encrypt the contents of the Repository. Has the form: `projects/my-project/
|
963
976
|
# locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be
|
964
977
|
# changed after the Repository has been created.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ArtifactregistryV1beta2
|
18
18
|
# Version of the google-apis-artifactregistry_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class OperationMetadata
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class Package
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -478,6 +484,12 @@ module Google
|
|
478
484
|
end
|
479
485
|
end
|
480
486
|
|
487
|
+
class OperationMetadata
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
481
493
|
class Package
|
482
494
|
# @private
|
483
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Retrieves the Settings for the Project
|
53
|
+
# Retrieves the Settings for the Project.
|
54
54
|
# @param [String] name
|
55
55
|
# Required. The name of the projectSettings resource.
|
56
56
|
# @param [String] fields
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
execute_or_queue_command(command, &block)
|
81
81
|
end
|
82
82
|
|
83
|
-
#
|
83
|
+
# Updates the Settings for the Project.
|
84
84
|
# @param [String] name
|
85
85
|
# The name of the project's settings. Always of the form: projects/`project-id`/
|
86
86
|
# projectSettings In update request: never set In response: always set
|
@@ -224,7 +224,7 @@ module Google
|
|
224
224
|
# Creates a repository. The returned Operation will finish once the repository
|
225
225
|
# has been created. Its response will be the created Repository.
|
226
226
|
# @param [String] parent
|
227
|
-
# The name of the parent resource where the repository will be created.
|
227
|
+
# Required. The name of the parent resource where the repository will be created.
|
228
228
|
# @param [Google::Apis::ArtifactregistryV1beta2::Repository] repository_object
|
229
229
|
# @param [String] repository_id
|
230
230
|
# The repository id to use for this repository.
|
@@ -262,7 +262,7 @@ module Google
|
|
262
262
|
# finish once the repository has been deleted. It will not have any Operation
|
263
263
|
# metadata and will return a google.protobuf.Empty response.
|
264
264
|
# @param [String] name
|
265
|
-
# The name of the repository to delete.
|
265
|
+
# Required. The name of the repository to delete.
|
266
266
|
# @param [String] fields
|
267
267
|
# Selector specifying which fields to include in a partial response.
|
268
268
|
# @param [String] quota_user
|
@@ -292,7 +292,7 @@ module Google
|
|
292
292
|
|
293
293
|
# Gets a repository.
|
294
294
|
# @param [String] name
|
295
|
-
# The name of the repository to retrieve.
|
295
|
+
# Required. The name of the repository to retrieve.
|
296
296
|
# @param [String] fields
|
297
297
|
# Selector specifying which fields to include in a partial response.
|
298
298
|
# @param [String] quota_user
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
|
366
366
|
# Lists repositories.
|
367
367
|
# @param [String] parent
|
368
|
-
# The name of the parent resource whose repositories will be listed.
|
368
|
+
# Required. The name of the parent resource whose repositories will be listed.
|
369
369
|
# @param [Fixnum] page_size
|
370
370
|
# The maximum number of repositories to return. Maximum page size is 1,000.
|
371
371
|
# @param [String] page_token
|
@@ -570,7 +570,7 @@ module Google
|
|
570
570
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
571
571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
572
572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
573
|
-
def
|
573
|
+
def upload_apt_artifact(parent, upload_apt_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
574
574
|
if upload_source.nil?
|
575
575
|
command = make_simple_command(:post, 'v1beta2/{+parent}/aptArtifacts:create', options)
|
576
576
|
else
|
@@ -665,7 +665,7 @@ module Google
|
|
665
665
|
# Deletes a package and all of its versions and tags. The returned operation
|
666
666
|
# will complete once the package has been deleted.
|
667
667
|
# @param [String] name
|
668
|
-
# The name of the package to delete.
|
668
|
+
# Required. The name of the package to delete.
|
669
669
|
# @param [String] fields
|
670
670
|
# Selector specifying which fields to include in a partial response.
|
671
671
|
# @param [String] quota_user
|
@@ -695,7 +695,7 @@ module Google
|
|
695
695
|
|
696
696
|
# Gets a package.
|
697
697
|
# @param [String] name
|
698
|
-
# The name of the package to retrieve.
|
698
|
+
# Required. The name of the package to retrieve.
|
699
699
|
# @param [String] fields
|
700
700
|
# Selector specifying which fields to include in a partial response.
|
701
701
|
# @param [String] quota_user
|
@@ -725,7 +725,7 @@ module Google
|
|
725
725
|
|
726
726
|
# Lists packages.
|
727
727
|
# @param [String] parent
|
728
|
-
# The name of the parent resource whose packages will be listed.
|
728
|
+
# Required. The name of the parent resource whose packages will be listed.
|
729
729
|
# @param [Fixnum] page_size
|
730
730
|
# The maximum number of packages to return. Maximum page size is 1,000.
|
731
731
|
# @param [String] page_token
|
@@ -1011,7 +1011,7 @@ module Google
|
|
1011
1011
|
# @param [String] parent
|
1012
1012
|
# The name of the parent resource whose versions will be listed.
|
1013
1013
|
# @param [String] order_by
|
1014
|
-
# Optional.
|
1014
|
+
# Optional. The field to order the results by.
|
1015
1015
|
# @param [Fixnum] page_size
|
1016
1016
|
# The maximum number of versions to return. Maximum page size is 1,000.
|
1017
1017
|
# @param [String] page_token
|
@@ -1113,7 +1113,7 @@ module Google
|
|
1113
1113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1114
1114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1115
1115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1116
|
-
def
|
1116
|
+
def upload_yum_artifact(parent, upload_yum_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1117
1117
|
if upload_source.nil?
|
1118
1118
|
command = make_simple_command(:post, 'v1beta2/{+parent}/yumArtifacts:create', options)
|
1119
1119
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-artifactregistry_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Artifact Registry API V1beta2
|