google-apis-artifactregistry_v1beta2 0.14.0 → 0.18.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 +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +39 -0
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +26 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +84 -14
- 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: 2563c9870e87cf7b130ad5737df13b048b8b4bc040890e21ac4fc1203e1146a5
|
4
|
+
data.tar.gz: e376af330e9aca45e3eff9ec17488895db2d85bfc89c8c1ba0a441529184088b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41c4df21c4a2b54aed167c5e0ea6005208ffbdf8cd9cc3fd854efa7f431bf955442e2bbedac98f2e36962693a922055ce2a404efd681c2d1ecfb9dd7d1989682
|
7
|
+
data.tar.gz: 510b7112c19d64a2bf49720cae09adeb6280761bbf50282cc27ea88e6e198df6a442a7f2ed8aea0be58ffaec05aa16c1b40e562d0934567b44d1953643a92674
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1beta2
|
2
2
|
|
3
|
+
### v0.18.0 (2022-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220113
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.17.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.16.0 (2021-11-13)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211108
|
15
|
+
|
16
|
+
### v0.15.0 (2021-11-06)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211029
|
19
|
+
|
3
20
|
### v0.14.0 (2021-10-22)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211015
|
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.
|
@@ -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
|
@@ -913,6 +926,32 @@ module Google
|
|
913
926
|
end
|
914
927
|
end
|
915
928
|
|
929
|
+
# The Artifact Registry settings that apply to a Project.
|
930
|
+
class ProjectSettings
|
931
|
+
include Google::Apis::Core::Hashable
|
932
|
+
|
933
|
+
# The redirection state of the legacy repositories in this project.
|
934
|
+
# Corresponds to the JSON property `legacyRedirectionState`
|
935
|
+
# @return [String]
|
936
|
+
attr_accessor :legacy_redirection_state
|
937
|
+
|
938
|
+
# The name of the project's settings. Always of the form: projects/`project-id`/
|
939
|
+
# projectSettings In update request: never set In response: always set
|
940
|
+
# Corresponds to the JSON property `name`
|
941
|
+
# @return [String]
|
942
|
+
attr_accessor :name
|
943
|
+
|
944
|
+
def initialize(**args)
|
945
|
+
update!(**args)
|
946
|
+
end
|
947
|
+
|
948
|
+
# Update properties of this object
|
949
|
+
def update!(**args)
|
950
|
+
@legacy_redirection_state = args[:legacy_redirection_state] if args.key?(:legacy_redirection_state)
|
951
|
+
@name = args[:name] if args.key?(:name)
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
916
955
|
# A Repository for storing artifacts with a specific format.
|
917
956
|
class Repository
|
918
957
|
include Google::Apis::Core::Hashable
|
@@ -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.18.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 = "20220113"
|
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
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class ProjectSettings
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class Repository
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -472,6 +484,12 @@ module Google
|
|
472
484
|
end
|
473
485
|
end
|
474
486
|
|
487
|
+
class OperationMetadata
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
475
493
|
class Package
|
476
494
|
# @private
|
477
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -492,6 +510,14 @@ module Google
|
|
492
510
|
end
|
493
511
|
end
|
494
512
|
|
513
|
+
class ProjectSettings
|
514
|
+
# @private
|
515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
516
|
+
property :legacy_redirection_state, as: 'legacyRedirectionState'
|
517
|
+
property :name, as: 'name'
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
495
521
|
class Repository
|
496
522
|
# @private
|
497
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,6 +50,73 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
+
# Retrieves the Settings for the Project.
|
54
|
+
# @param [String] name
|
55
|
+
# Required. The name of the projectSettings resource.
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ProjectSettings] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ProjectSettings]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def get_project_project_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
75
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ProjectSettings::Representation
|
76
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ProjectSettings
|
77
|
+
command.params['name'] = name unless name.nil?
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
execute_or_queue_command(command, &block)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Updates the Settings for the Project.
|
84
|
+
# @param [String] name
|
85
|
+
# The name of the project's settings. Always of the form: projects/`project-id`/
|
86
|
+
# projectSettings In update request: never set In response: always set
|
87
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::ProjectSettings] project_settings_object
|
88
|
+
# @param [String] update_mask
|
89
|
+
# Field mask to support partial updates.
|
90
|
+
# @param [String] fields
|
91
|
+
# Selector specifying which fields to include in a partial response.
|
92
|
+
# @param [String] quota_user
|
93
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
94
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
95
|
+
# @param [Google::Apis::RequestOptions] options
|
96
|
+
# Request-specific options
|
97
|
+
#
|
98
|
+
# @yield [result, err] Result & error if block supplied
|
99
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ProjectSettings] parsed result object
|
100
|
+
# @yieldparam err [StandardError] error object if request failed
|
101
|
+
#
|
102
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ProjectSettings]
|
103
|
+
#
|
104
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
105
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
|
+
def update_project_project_settings(name, project_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
109
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::ProjectSettings::Representation
|
110
|
+
command.request_object = project_settings_object
|
111
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ProjectSettings::Representation
|
112
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ProjectSettings
|
113
|
+
command.params['name'] = name unless name.nil?
|
114
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
53
120
|
# Gets information about a location.
|
54
121
|
# @param [String] name
|
55
122
|
# Resource name for the location.
|
@@ -157,7 +224,7 @@ module Google
|
|
157
224
|
# Creates a repository. The returned Operation will finish once the repository
|
158
225
|
# has been created. Its response will be the created Repository.
|
159
226
|
# @param [String] parent
|
160
|
-
# 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.
|
161
228
|
# @param [Google::Apis::ArtifactregistryV1beta2::Repository] repository_object
|
162
229
|
# @param [String] repository_id
|
163
230
|
# The repository id to use for this repository.
|
@@ -195,7 +262,7 @@ module Google
|
|
195
262
|
# finish once the repository has been deleted. It will not have any Operation
|
196
263
|
# metadata and will return a google.protobuf.Empty response.
|
197
264
|
# @param [String] name
|
198
|
-
# The name of the repository to delete.
|
265
|
+
# Required. The name of the repository to delete.
|
199
266
|
# @param [String] fields
|
200
267
|
# Selector specifying which fields to include in a partial response.
|
201
268
|
# @param [String] quota_user
|
@@ -225,7 +292,7 @@ module Google
|
|
225
292
|
|
226
293
|
# Gets a repository.
|
227
294
|
# @param [String] name
|
228
|
-
# The name of the repository to retrieve.
|
295
|
+
# Required. The name of the repository to retrieve.
|
229
296
|
# @param [String] fields
|
230
297
|
# Selector specifying which fields to include in a partial response.
|
231
298
|
# @param [String] quota_user
|
@@ -258,13 +325,16 @@ module Google
|
|
258
325
|
# REQUIRED: The resource for which the policy is being requested. See the
|
259
326
|
# operation documentation for the appropriate value for this field.
|
260
327
|
# @param [Fixnum] options_requested_policy_version
|
261
|
-
# Optional. The policy
|
262
|
-
# 3. Requests specifying an invalid value will be
|
263
|
-
# policies with any conditional bindings must
|
264
|
-
#
|
265
|
-
# field unset.
|
266
|
-
#
|
267
|
-
#
|
328
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
329
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
330
|
+
# rejected. Requests for policies with any conditional role bindings must
|
331
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
332
|
+
# valid value or leave the field unset. The policy in the response might use the
|
333
|
+
# policy version that you specified, or it might use a lower policy version. For
|
334
|
+
# example, if you specify version 3, but the policy has no conditional role
|
335
|
+
# bindings, the response uses version 1. To learn which resources support
|
336
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
337
|
+
# google.com/iam/help/conditions/resource-policies).
|
268
338
|
# @param [String] fields
|
269
339
|
# Selector specifying which fields to include in a partial response.
|
270
340
|
# @param [String] quota_user
|
@@ -295,7 +365,7 @@ module Google
|
|
295
365
|
|
296
366
|
# Lists repositories.
|
297
367
|
# @param [String] parent
|
298
|
-
# The name of the parent resource whose repositories will be listed.
|
368
|
+
# Required. The name of the parent resource whose repositories will be listed.
|
299
369
|
# @param [Fixnum] page_size
|
300
370
|
# The maximum number of repositories to return. Maximum page size is 1,000.
|
301
371
|
# @param [String] page_token
|
@@ -595,7 +665,7 @@ module Google
|
|
595
665
|
# Deletes a package and all of its versions and tags. The returned operation
|
596
666
|
# will complete once the package has been deleted.
|
597
667
|
# @param [String] name
|
598
|
-
# The name of the package to delete.
|
668
|
+
# Required. The name of the package to delete.
|
599
669
|
# @param [String] fields
|
600
670
|
# Selector specifying which fields to include in a partial response.
|
601
671
|
# @param [String] quota_user
|
@@ -625,7 +695,7 @@ module Google
|
|
625
695
|
|
626
696
|
# Gets a package.
|
627
697
|
# @param [String] name
|
628
|
-
# The name of the package to retrieve.
|
698
|
+
# Required. The name of the package to retrieve.
|
629
699
|
# @param [String] fields
|
630
700
|
# Selector specifying which fields to include in a partial response.
|
631
701
|
# @param [String] quota_user
|
@@ -655,7 +725,7 @@ module Google
|
|
655
725
|
|
656
726
|
# Lists packages.
|
657
727
|
# @param [String] parent
|
658
|
-
# The name of the parent resource whose packages will be listed.
|
728
|
+
# Required. The name of the parent resource whose packages will be listed.
|
659
729
|
# @param [Fixnum] page_size
|
660
730
|
# The maximum number of packages to return. Maximum page size is 1,000.
|
661
731
|
# @param [String] page_token
|
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.18.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-01-17 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.18.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
|