google-apis-artifactregistry_v1beta2 0.19.0 → 0.22.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 +12 -0
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +36 -3
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +25 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz: '
|
3
|
+
metadata.gz: 27db909a9b02fbd32d891d29f0be2b1554403ca12c7703a3d0fc6ce4410f7472
|
4
|
+
data.tar.gz: '05583078c785a7d033693bea0fcb152cd2cad149d502c965c9d5ea64bc57301c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '059acbee00b0ee04857c3b39461386f3575850acee4d9a531e0ad667cf995f36e03f8c6b3e3a98589bd1edd956fd0b0d597abe289749bfa30c4e6ec855db0fe8'
|
7
|
+
data.tar.gz: 5549355aa584703dd81e01fe6984c98b5abcd07bc0d4bdbf614055d0c5466d841568a84471b4245a6504b01ac41d7b8a4e3cbd445ff25d8fd3471be65cf104dd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1beta2
|
2
2
|
|
3
|
+
### v0.22.0 (2022-03-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220328
|
6
|
+
|
7
|
+
### v0.21.0 (2022-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220307
|
10
|
+
|
11
|
+
### v0.20.0 (2022-02-08)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220203
|
14
|
+
|
3
15
|
### v0.19.0 (2022-01-27)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220121
|
@@ -148,8 +148,7 @@ module Google
|
|
148
148
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
149
149
|
# messages in your APIs. A typical example is to use it as the request or the
|
150
150
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
151
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
152
|
-
# `Empty` is empty JSON object ````.
|
151
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
153
152
|
class Empty
|
154
153
|
include Google::Apis::Core::Hashable
|
155
154
|
|
@@ -349,6 +348,19 @@ module Google
|
|
349
348
|
end
|
350
349
|
end
|
351
350
|
|
351
|
+
# The operation metadata for importing artifacts.
|
352
|
+
class ImportAptArtifactsMetadata
|
353
|
+
include Google::Apis::Core::Hashable
|
354
|
+
|
355
|
+
def initialize(**args)
|
356
|
+
update!(**args)
|
357
|
+
end
|
358
|
+
|
359
|
+
# Update properties of this object
|
360
|
+
def update!(**args)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
352
364
|
# The request to import new apt artifacts.
|
353
365
|
class ImportAptArtifactsRequest
|
354
366
|
include Google::Apis::Core::Hashable
|
@@ -449,6 +461,19 @@ module Google
|
|
449
461
|
end
|
450
462
|
end
|
451
463
|
|
464
|
+
# The operation metadata for importing artifacts.
|
465
|
+
class ImportYumArtifactsMetadata
|
466
|
+
include Google::Apis::Core::Hashable
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
452
477
|
# The request to import new yum artifacts.
|
453
478
|
class ImportYumArtifactsRequest
|
454
479
|
include Google::Apis::Core::Hashable
|
@@ -971,7 +996,7 @@ module Google
|
|
971
996
|
# @return [String]
|
972
997
|
attr_accessor :format
|
973
998
|
|
974
|
-
# The Cloud KMS resource name of the customer managed encryption key that
|
999
|
+
# The Cloud KMS resource name of the customer managed encryption key that's used
|
975
1000
|
# to encrypt the contents of the Repository. Has the form: `projects/my-project/
|
976
1001
|
# locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be
|
977
1002
|
# changed after the Repository has been created.
|
@@ -999,6 +1024,13 @@ module Google
|
|
999
1024
|
# @return [String]
|
1000
1025
|
attr_accessor :name
|
1001
1026
|
|
1027
|
+
# Output only. The size, in bytes, of all artifact storage in this repository.
|
1028
|
+
# Repositories that are generally available or in public preview use this to
|
1029
|
+
# calculate storage costs.
|
1030
|
+
# Corresponds to the JSON property `sizeBytes`
|
1031
|
+
# @return [Fixnum]
|
1032
|
+
attr_accessor :size_bytes
|
1033
|
+
|
1002
1034
|
# The time when the repository was last updated.
|
1003
1035
|
# Corresponds to the JSON property `updateTime`
|
1004
1036
|
# @return [String]
|
@@ -1017,6 +1049,7 @@ module Google
|
|
1017
1049
|
@labels = args[:labels] if args.key?(:labels)
|
1018
1050
|
@maven_config = args[:maven_config] if args.key?(:maven_config)
|
1019
1051
|
@name = args[:name] if args.key?(:name)
|
1052
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
1020
1053
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1021
1054
|
end
|
1022
1055
|
end
|
@@ -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.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220328"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class ImportAptArtifactsMetadata
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class ImportAptArtifactsRequest
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class ImportYumArtifactsMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class ImportYumArtifactsRequest
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -345,6 +357,12 @@ module Google
|
|
345
357
|
end
|
346
358
|
end
|
347
359
|
|
360
|
+
class ImportAptArtifactsMetadata
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
348
366
|
class ImportAptArtifactsRequest
|
349
367
|
# @private
|
350
368
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -381,6 +399,12 @@ module Google
|
|
381
399
|
end
|
382
400
|
end
|
383
401
|
|
402
|
+
class ImportYumArtifactsMetadata
|
403
|
+
# @private
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
384
408
|
class ImportYumArtifactsRequest
|
385
409
|
# @private
|
386
410
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -529,6 +553,7 @@ module Google
|
|
529
553
|
property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig::Representation
|
530
554
|
|
531
555
|
property :name, as: 'name'
|
556
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
532
557
|
property :update_time, as: 'updateTime'
|
533
558
|
end
|
534
559
|
end
|
@@ -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
|
@@ -620,7 +620,8 @@ module Google
|
|
620
620
|
|
621
621
|
# Lists files.
|
622
622
|
# @param [String] parent
|
623
|
-
# The name of the
|
623
|
+
# The name of the repository whose files will be listed. For example: "projects/
|
624
|
+
# p1/locations/us-central1/repositories/repo1
|
624
625
|
# @param [String] filter
|
625
626
|
# An expression for filtering the results of the request. Filter rules are case
|
626
627
|
# insensitive. The fields eligible for filtering are: * `name` * `owner` An
|
@@ -1113,7 +1114,7 @@ module Google
|
|
1113
1114
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1114
1115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1115
1116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1116
|
-
def
|
1117
|
+
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
1118
|
if upload_source.nil?
|
1118
1119
|
command = make_simple_command(:post, 'v1beta2/{+parent}/yumArtifacts:create', options)
|
1119
1120
|
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.22.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: 2022-
|
11
|
+
date: 2022-04-04 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.22.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: []
|