google-apis-artifactregistry_v1beta2 0.11.0 → 0.15.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 +2 -2
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +122 -57
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +30 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +67 -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: 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
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1beta2
|
2
2
|
|
3
|
+
### v0.15.0 (2021-11-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211029
|
6
|
+
|
7
|
+
### v0.14.0 (2021-10-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211015
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.13.0 (2021-10-11)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211002
|
15
|
+
|
16
|
+
### v0.12.0 (2021-10-01)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210925
|
19
|
+
|
3
20
|
### v0.11.0 (2021-09-01)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210817
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Artifactregistry service in particular.)
|
67
67
|
|
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
# Associates `members
|
77
|
+
# Associates `members`, or principals, with a `role`.
|
78
78
|
class Binding
|
79
79
|
include Google::Apis::Core::Hashable
|
80
80
|
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# @return [Google::Apis::ArtifactregistryV1beta2::Expr]
|
98
98
|
attr_accessor :condition
|
99
99
|
|
100
|
-
# Specifies the
|
100
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
101
101
|
# members` can have the following values: * `allUsers`: A special identifier
|
102
102
|
# that represents anyone who is on the internet; with or without a Google
|
103
103
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -127,8 +127,8 @@ module Google
|
|
127
127
|
# @return [Array<String>]
|
128
128
|
attr_accessor :members
|
129
129
|
|
130
|
-
# Role that is assigned to `members
|
131
|
-
#
|
130
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
131
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
132
132
|
# Corresponds to the JSON property `role`
|
133
133
|
# @return [String]
|
134
134
|
attr_accessor :role
|
@@ -695,6 +695,33 @@ module Google
|
|
695
695
|
end
|
696
696
|
end
|
697
697
|
|
698
|
+
# MavenRepositoryConfig is maven related repository details. Provides additional
|
699
|
+
# configuration details for repositories of the maven format type.
|
700
|
+
class MavenRepositoryConfig
|
701
|
+
include Google::Apis::Core::Hashable
|
702
|
+
|
703
|
+
# The repository with this flag will allow publishing the same snapshot versions.
|
704
|
+
# Corresponds to the JSON property `allowSnapshotOverwrites`
|
705
|
+
# @return [Boolean]
|
706
|
+
attr_accessor :allow_snapshot_overwrites
|
707
|
+
alias_method :allow_snapshot_overwrites?, :allow_snapshot_overwrites
|
708
|
+
|
709
|
+
# Version policy defines the versions that the registry will accept.
|
710
|
+
# Corresponds to the JSON property `versionPolicy`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :version_policy
|
713
|
+
|
714
|
+
def initialize(**args)
|
715
|
+
update!(**args)
|
716
|
+
end
|
717
|
+
|
718
|
+
# Update properties of this object
|
719
|
+
def update!(**args)
|
720
|
+
@allow_snapshot_overwrites = args[:allow_snapshot_overwrites] if args.key?(:allow_snapshot_overwrites)
|
721
|
+
@version_policy = args[:version_policy] if args.key?(:version_policy)
|
722
|
+
end
|
723
|
+
end
|
724
|
+
|
698
725
|
# This resource represents a long-running operation that is the result of a
|
699
726
|
# network API call.
|
700
727
|
class Operation
|
@@ -799,37 +826,42 @@ module Google
|
|
799
826
|
|
800
827
|
# An Identity and Access Management (IAM) policy, which specifies access
|
801
828
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
802
|
-
# A `binding` binds one or more `members
|
803
|
-
# user accounts, service accounts, Google groups, and domains (
|
804
|
-
# A `role` is a named list of permissions; each `role` can be
|
805
|
-
# role or a user-created custom role. For some types of Google
|
806
|
-
# a `binding` can also specify a `condition`, which is a
|
807
|
-
# allows access to a resource only if the expression
|
808
|
-
# condition can add constraints based on attributes of
|
809
|
-
# or both. To learn which resources support
|
810
|
-
# see the [IAM documentation](https://cloud.
|
811
|
-
# resource-policies). **JSON example:** ` "
|
812
|
-
# resourcemanager.organizationAdmin", "members": [
|
813
|
-
# group:admins@example.com", "domain:google.com", "
|
814
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
815
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
816
|
-
# title": "expirable access", "description": "Does not grant
|
817
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
818
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
819
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
820
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
821
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
822
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
823
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
824
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
825
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
826
|
-
# google.com/iam/docs/).
|
829
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
830
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
831
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
832
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
833
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
834
|
+
# logical expression that allows access to a resource only if the expression
|
835
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
836
|
+
# the request, the resource, or both. To learn which resources support
|
837
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
838
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
839
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
840
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
841
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
842
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
843
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
844
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
845
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
846
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
847
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
848
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
849
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
850
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
851
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
852
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
853
|
+
# cloud.google.com/iam/docs/).
|
827
854
|
class Policy
|
828
855
|
include Google::Apis::Core::Hashable
|
829
856
|
|
830
|
-
# Associates a list of `members
|
831
|
-
# condition` that determines how and when the `bindings` are applied.
|
832
|
-
# the `bindings` must contain at least one
|
857
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
858
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
859
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
860
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
861
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
862
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
863
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
864
|
+
# principals to the `bindings` in the `Policy`.
|
833
865
|
# Corresponds to the JSON property `bindings`
|
834
866
|
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Binding>]
|
835
867
|
attr_accessor :bindings
|
@@ -881,6 +913,32 @@ module Google
|
|
881
913
|
end
|
882
914
|
end
|
883
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
|
+
|
884
942
|
# A Repository for storing artifacts with a specific format.
|
885
943
|
class Repository
|
886
944
|
include Google::Apis::Core::Hashable
|
@@ -916,6 +974,12 @@ module Google
|
|
916
974
|
# @return [Hash<String,String>]
|
917
975
|
attr_accessor :labels
|
918
976
|
|
977
|
+
# MavenRepositoryConfig is maven related repository details. Provides additional
|
978
|
+
# configuration details for repositories of the maven format type.
|
979
|
+
# Corresponds to the JSON property `mavenConfig`
|
980
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig]
|
981
|
+
attr_accessor :maven_config
|
982
|
+
|
919
983
|
# The name of the repository, for example: "projects/p1/locations/us-central1/
|
920
984
|
# repositories/repo1".
|
921
985
|
# Corresponds to the JSON property `name`
|
@@ -938,6 +1002,7 @@ module Google
|
|
938
1002
|
@format = args[:format] if args.key?(:format)
|
939
1003
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
940
1004
|
@labels = args[:labels] if args.key?(:labels)
|
1005
|
+
@maven_config = args[:maven_config] if args.key?(:maven_config)
|
941
1006
|
@name = args[:name] if args.key?(:name)
|
942
1007
|
@update_time = args[:update_time] if args.key?(:update_time)
|
943
1008
|
end
|
@@ -949,31 +1014,31 @@ module Google
|
|
949
1014
|
|
950
1015
|
# An Identity and Access Management (IAM) policy, which specifies access
|
951
1016
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
952
|
-
# A `binding` binds one or more `members
|
953
|
-
# user accounts, service accounts, Google groups, and domains (
|
954
|
-
# A `role` is a named list of permissions; each `role` can be
|
955
|
-
# role or a user-created custom role. For some types of Google
|
956
|
-
# a `binding` can also specify a `condition`, which is a
|
957
|
-
# allows access to a resource only if the expression
|
958
|
-
# condition can add constraints based on attributes of
|
959
|
-
# or both. To learn which resources support
|
960
|
-
# see the [IAM documentation](https://cloud.
|
961
|
-
# resource-policies). **JSON example:** ` "
|
962
|
-
# resourcemanager.organizationAdmin", "members": [
|
963
|
-
# group:admins@example.com", "domain:google.com", "
|
964
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
965
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
966
|
-
# title": "expirable access", "description": "Does not grant
|
967
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
968
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
969
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
970
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
971
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
972
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
973
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
974
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
975
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
976
|
-
# google.com/iam/docs/).
|
1017
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1018
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1019
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1020
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1021
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1022
|
+
# logical expression that allows access to a resource only if the expression
|
1023
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1024
|
+
# the request, the resource, or both. To learn which resources support
|
1025
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1026
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1027
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1028
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1029
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1030
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1031
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1032
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1033
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1034
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1035
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1036
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1037
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1038
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1039
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1040
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1041
|
+
# cloud.google.com/iam/docs/).
|
977
1042
|
# Corresponds to the JSON property `policy`
|
978
1043
|
# @return [Google::Apis::ArtifactregistryV1beta2::Policy]
|
979
1044
|
attr_accessor :policy
|
@@ -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
|
@@ -148,6 +148,12 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class MavenRepositoryConfig
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class Operation
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
@@ -166,6 +172,12 @@ module Google
|
|
166
172
|
include Google::Apis::Core::JsonObjectSupport
|
167
173
|
end
|
168
174
|
|
175
|
+
class ProjectSettings
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
169
181
|
class Repository
|
170
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
183
|
|
@@ -446,6 +458,14 @@ module Google
|
|
446
458
|
end
|
447
459
|
end
|
448
460
|
|
461
|
+
class MavenRepositoryConfig
|
462
|
+
# @private
|
463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
+
property :allow_snapshot_overwrites, as: 'allowSnapshotOverwrites'
|
465
|
+
property :version_policy, as: 'versionPolicy'
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
449
469
|
class Operation
|
450
470
|
# @private
|
451
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -478,6 +498,14 @@ module Google
|
|
478
498
|
end
|
479
499
|
end
|
480
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
|
+
|
481
509
|
class Repository
|
482
510
|
# @private
|
483
511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -486,6 +514,8 @@ module Google
|
|
486
514
|
property :format, as: 'format'
|
487
515
|
property :kms_key_name, as: 'kmsKeyName'
|
488
516
|
hash :labels, as: 'labels'
|
517
|
+
property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig::Representation
|
518
|
+
|
489
519
|
property :name, as: 'name'
|
490
520
|
property :update_time, as: 'updateTime'
|
491
521
|
end
|
@@ -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
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.15.0
|
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: []
|
65
65
|
require_paths:
|