google-apis-artifactregistry_v1beta2 0.14.0 → 0.15.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 +4 -0
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +26 -0
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +14 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +67 -0
- 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: fd6344121e154e37729bd80c242f05f552ec97de2444266a1ef814dec8f9b903
|
4
|
+
data.tar.gz: 7694fcb056520a357a452af14319f7dd12e00d6d0593f9c97a8269d93852dd41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87b4ce68dcbc5164239d229181cc08be5613bc4d6dca7ccead6184f41d9214c1420813d5cf28676fd5a62ff77cb3e6d43ff66720ec0a18743684145d58512c3b
|
7
|
+
data.tar.gz: 7c23b6ef053aef10e068ed005e2c7c99b56e31e308b49f77f3474a9d2c0bd43d43d01554563a36e6e7d4b35742ec33c291e1ee04f0a6137b4544e576d878803a
|
data/CHANGELOG.md
CHANGED
@@ -913,6 +913,32 @@ module Google
|
|
913
913
|
end
|
914
914
|
end
|
915
915
|
|
916
|
+
# The Artifact Registry settings that apply to a Project.
|
917
|
+
class ProjectSettings
|
918
|
+
include Google::Apis::Core::Hashable
|
919
|
+
|
920
|
+
# The redirection state of the legacy repositories in this project.
|
921
|
+
# Corresponds to the JSON property `legacyRedirectionState`
|
922
|
+
# @return [String]
|
923
|
+
attr_accessor :legacy_redirection_state
|
924
|
+
|
925
|
+
# The name of the project's settings. Always of the form: projects/`project-id`/
|
926
|
+
# projectSettings In update request: never set In response: always set
|
927
|
+
# Corresponds to the JSON property `name`
|
928
|
+
# @return [String]
|
929
|
+
attr_accessor :name
|
930
|
+
|
931
|
+
def initialize(**args)
|
932
|
+
update!(**args)
|
933
|
+
end
|
934
|
+
|
935
|
+
# Update properties of this object
|
936
|
+
def update!(**args)
|
937
|
+
@legacy_redirection_state = args[:legacy_redirection_state] if args.key?(:legacy_redirection_state)
|
938
|
+
@name = args[:name] if args.key?(:name)
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
916
942
|
# A Repository for storing artifacts with a specific format.
|
917
943
|
class Repository
|
918
944
|
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.15.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 = "
|
25
|
+
REVISION = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class ProjectSettings
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class Repository
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -492,6 +498,14 @@ module Google
|
|
492
498
|
end
|
493
499
|
end
|
494
500
|
|
501
|
+
class ProjectSettings
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :legacy_redirection_state, as: 'legacyRedirectionState'
|
505
|
+
property :name, as: 'name'
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
495
509
|
class Repository
|
496
510
|
# @private
|
497
511
|
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
|
+
# Retrieves 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.
|
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.15.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-11-08 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.15.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: []
|