google-apis-artifactregistry_v1 0.36.0 → 0.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf393025e186ec386ff79d29d999fd5c98170356fbf7380f04be88b425beb807
4
- data.tar.gz: a9e8f20878b74887cbe4b3ef02adc8b224847c61024ddd09758f9e16673f78b8
3
+ metadata.gz: f3168a4ed1228af7e1359f35b2852c3b364956b70248898d0a863b386f641530
4
+ data.tar.gz: 4940b3562a7506494c67b6573d54d5870c90524752a1794dbb34ad9b203f7e1b
5
5
  SHA512:
6
- metadata.gz: af890fc6a2827200eb0161f0d1aec18e77742252f150445909806c83d84ce9c0a1f3531a1f2d32099d91deea57af28a73928d772a9251accd9d209d9f1beded3
7
- data.tar.gz: e6c0aa50292f89507e5f63fd6bd081428b7f2d8b26b9834110120b7e652faa36e26bfebd9138ebbbdbb663e46a45e296083e7f0e16534eb0a4a980a51fcd9646
6
+ metadata.gz: 3da80161d61a8e464cf1ada252ed0ecd2d7650cbef20d7ee8c94e05a35295161e5295041625d2a484263214acbd07666b1e563ab24819753d04fc3470077436d
7
+ data.tar.gz: f49413ca2587b514a2e7110a3cccccfd16d71a194962f77baa18b4a66e8cd1d4ab73e6040ca8c7071bff44bfe521d71ce1e69479e16b530ba516b183c72a1522
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.37.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230208
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.36.0 (2022-10-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20221022
@@ -131,22 +131,22 @@ module Google
131
131
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
132
132
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
133
133
  # email address that represents a Google group. For example, `admins@example.com`
134
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
135
- # identifier) representing a user that has been recently deleted. For example, `
136
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
137
- # value reverts to `user:`emailid`` and the recovered user retains the role in
138
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
139
- # address (plus unique identifier) representing a service account that has been
140
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
134
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
135
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
136
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
137
+ # representing a user that has been recently deleted. For example, `alice@
138
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
139
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
140
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
141
+ # (plus unique identifier) representing a service account that has been recently
142
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
141
143
  # 123456789012345678901`. If the service account is undeleted, this value
142
144
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
143
145
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
144
146
  # An email address (plus unique identifier) representing a Google group that has
145
147
  # been recently deleted. For example, `admins@example.com?uid=
146
148
  # 123456789012345678901`. If the group is recovered, this value reverts to `
147
- # group:`emailid`` and the recovered group retains the role in the binding. * `
148
- # domain:`domain``: The G Suite domain (primary) that represents all the users
149
- # of that domain. For example, `google.com` or `example.com`.
149
+ # group:`emailid`` and the recovered group retains the role in the binding.
150
150
  # Corresponds to the JSON property `members`
151
151
  # @return [Array<String>]
152
152
  attr_accessor :members
@@ -248,6 +248,26 @@ module Google
248
248
  end
249
249
  end
250
250
 
251
+ # Configuration for a Docker remote repository.
252
+ class DockerRepository
253
+ include Google::Apis::Core::Hashable
254
+
255
+ # One of the publicly available Docker repositories supported by Artifact
256
+ # Registry.
257
+ # Corresponds to the JSON property `publicRepository`
258
+ # @return [String]
259
+ attr_accessor :public_repository
260
+
261
+ def initialize(**args)
262
+ update!(**args)
263
+ end
264
+
265
+ # Update properties of this object
266
+ def update!(**args)
267
+ @public_repository = args[:public_repository] if args.key?(:public_repository)
268
+ end
269
+ end
270
+
251
271
  # A generic empty message that you can re-use to avoid defining duplicated empty
252
272
  # messages in your APIs. A typical example is to use it as the request or the
253
273
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -322,11 +342,17 @@ module Google
322
342
  class GoogleDevtoolsArtifactregistryV1File
323
343
  include Google::Apis::Core::Hashable
324
344
 
325
- # The time when the File was created.
345
+ # Output only. The time when the File was created.
326
346
  # Corresponds to the JSON property `createTime`
327
347
  # @return [String]
328
348
  attr_accessor :create_time
329
349
 
350
+ # Output only. The time when the last attempt to refresh the file's data was
351
+ # made. Only set when the repository is remote.
352
+ # Corresponds to the JSON property `fetchTime`
353
+ # @return [String]
354
+ attr_accessor :fetch_time
355
+
330
356
  # The hashes of the file content.
331
357
  # Corresponds to the JSON property `hashes`
332
358
  # @return [Array<Google::Apis::ArtifactregistryV1::HashProp>]
@@ -349,7 +375,7 @@ module Google
349
375
  # @return [Fixnum]
350
376
  attr_accessor :size_bytes
351
377
 
352
- # The time when the File was last updated.
378
+ # Output only. The time when the File was last updated.
353
379
  # Corresponds to the JSON property `updateTime`
354
380
  # @return [String]
355
381
  attr_accessor :update_time
@@ -361,6 +387,7 @@ module Google
361
387
  # Update properties of this object
362
388
  def update!(**args)
363
389
  @create_time = args[:create_time] if args.key?(:create_time)
390
+ @fetch_time = args[:fetch_time] if args.key?(:fetch_time)
364
391
  @hashes = args[:hashes] if args.key?(:hashes)
365
392
  @name = args[:name] if args.key?(:name)
366
393
  @owner = args[:owner] if args.key?(:owner)
@@ -1017,6 +1044,26 @@ module Google
1017
1044
  end
1018
1045
  end
1019
1046
 
1047
+ # Configuration for a Maven remote repository.
1048
+ class MavenRepository
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # One of the publicly available Maven repositories supported by Artifact
1052
+ # Registry.
1053
+ # Corresponds to the JSON property `publicRepository`
1054
+ # @return [String]
1055
+ attr_accessor :public_repository
1056
+
1057
+ def initialize(**args)
1058
+ update!(**args)
1059
+ end
1060
+
1061
+ # Update properties of this object
1062
+ def update!(**args)
1063
+ @public_repository = args[:public_repository] if args.key?(:public_repository)
1064
+ end
1065
+ end
1066
+
1020
1067
  # MavenRepositoryConfig is maven related repository details. Provides additional
1021
1068
  # configuration details for repositories of the maven format type.
1022
1069
  class MavenRepositoryConfig
@@ -1097,6 +1144,25 @@ module Google
1097
1144
  end
1098
1145
  end
1099
1146
 
1147
+ # Configuration for a Npm remote repository.
1148
+ class NpmRepository
1149
+ include Google::Apis::Core::Hashable
1150
+
1151
+ # One of the publicly available Npm repositories supported by Artifact Registry.
1152
+ # Corresponds to the JSON property `publicRepository`
1153
+ # @return [String]
1154
+ attr_accessor :public_repository
1155
+
1156
+ def initialize(**args)
1157
+ update!(**args)
1158
+ end
1159
+
1160
+ # Update properties of this object
1161
+ def update!(**args)
1162
+ @public_repository = args[:public_repository] if args.key?(:public_repository)
1163
+ end
1164
+ end
1165
+
1100
1166
  # This resource represents a long-running operation that is the result of a
1101
1167
  # network API call.
1102
1168
  class Operation
@@ -1382,6 +1448,69 @@ module Google
1382
1448
  end
1383
1449
  end
1384
1450
 
1451
+ # Configuration for a Python remote repository.
1452
+ class PythonRepository
1453
+ include Google::Apis::Core::Hashable
1454
+
1455
+ # One of the publicly available Python repositories supported by Artifact
1456
+ # Registry.
1457
+ # Corresponds to the JSON property `publicRepository`
1458
+ # @return [String]
1459
+ attr_accessor :public_repository
1460
+
1461
+ def initialize(**args)
1462
+ update!(**args)
1463
+ end
1464
+
1465
+ # Update properties of this object
1466
+ def update!(**args)
1467
+ @public_repository = args[:public_repository] if args.key?(:public_repository)
1468
+ end
1469
+ end
1470
+
1471
+ # Remote repository configuration.
1472
+ class RemoteRepositoryConfig
1473
+ include Google::Apis::Core::Hashable
1474
+
1475
+ # The description of the remote source.
1476
+ # Corresponds to the JSON property `description`
1477
+ # @return [String]
1478
+ attr_accessor :description
1479
+
1480
+ # Configuration for a Docker remote repository.
1481
+ # Corresponds to the JSON property `dockerRepository`
1482
+ # @return [Google::Apis::ArtifactregistryV1::DockerRepository]
1483
+ attr_accessor :docker_repository
1484
+
1485
+ # Configuration for a Maven remote repository.
1486
+ # Corresponds to the JSON property `mavenRepository`
1487
+ # @return [Google::Apis::ArtifactregistryV1::MavenRepository]
1488
+ attr_accessor :maven_repository
1489
+
1490
+ # Configuration for a Npm remote repository.
1491
+ # Corresponds to the JSON property `npmRepository`
1492
+ # @return [Google::Apis::ArtifactregistryV1::NpmRepository]
1493
+ attr_accessor :npm_repository
1494
+
1495
+ # Configuration for a Python remote repository.
1496
+ # Corresponds to the JSON property `pythonRepository`
1497
+ # @return [Google::Apis::ArtifactregistryV1::PythonRepository]
1498
+ attr_accessor :python_repository
1499
+
1500
+ def initialize(**args)
1501
+ update!(**args)
1502
+ end
1503
+
1504
+ # Update properties of this object
1505
+ def update!(**args)
1506
+ @description = args[:description] if args.key?(:description)
1507
+ @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
1508
+ @maven_repository = args[:maven_repository] if args.key?(:maven_repository)
1509
+ @npm_repository = args[:npm_repository] if args.key?(:npm_repository)
1510
+ @python_repository = args[:python_repository] if args.key?(:python_repository)
1511
+ end
1512
+ end
1513
+
1385
1514
  # A Repository for storing artifacts with a specific format.
1386
1515
  class Repository
1387
1516
  include Google::Apis::Core::Hashable
@@ -1423,12 +1552,22 @@ module Google
1423
1552
  # @return [Google::Apis::ArtifactregistryV1::MavenRepositoryConfig]
1424
1553
  attr_accessor :maven_config
1425
1554
 
1555
+ # The mode of the repository.
1556
+ # Corresponds to the JSON property `mode`
1557
+ # @return [String]
1558
+ attr_accessor :mode
1559
+
1426
1560
  # The name of the repository, for example: "projects/p1/locations/us-central1/
1427
1561
  # repositories/repo1".
1428
1562
  # Corresponds to the JSON property `name`
1429
1563
  # @return [String]
1430
1564
  attr_accessor :name
1431
1565
 
1566
+ # Remote repository configuration.
1567
+ # Corresponds to the JSON property `remoteRepositoryConfig`
1568
+ # @return [Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig]
1569
+ attr_accessor :remote_repository_config
1570
+
1432
1571
  # Output only. If set, the repository satisfies physical zone separation.
1433
1572
  # Corresponds to the JSON property `satisfiesPzs`
1434
1573
  # @return [Boolean]
@@ -1447,6 +1586,11 @@ module Google
1447
1586
  # @return [String]
1448
1587
  attr_accessor :update_time
1449
1588
 
1589
+ # Virtual repository configuration.
1590
+ # Corresponds to the JSON property `virtualRepositoryConfig`
1591
+ # @return [Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig]
1592
+ attr_accessor :virtual_repository_config
1593
+
1450
1594
  def initialize(**args)
1451
1595
  update!(**args)
1452
1596
  end
@@ -1459,10 +1603,13 @@ module Google
1459
1603
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1460
1604
  @labels = args[:labels] if args.key?(:labels)
1461
1605
  @maven_config = args[:maven_config] if args.key?(:maven_config)
1606
+ @mode = args[:mode] if args.key?(:mode)
1462
1607
  @name = args[:name] if args.key?(:name)
1608
+ @remote_repository_config = args[:remote_repository_config] if args.key?(:remote_repository_config)
1463
1609
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1464
1610
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
1465
1611
  @update_time = args[:update_time] if args.key?(:update_time)
1612
+ @virtual_repository_config = args[:virtual_repository_config] if args.key?(:virtual_repository_config)
1466
1613
  end
1467
1614
  end
1468
1615
 
@@ -1811,6 +1958,66 @@ module Google
1811
1958
  end
1812
1959
  end
1813
1960
 
1961
+ # Artifact policy configuration for the repository contents.
1962
+ class UpstreamPolicy
1963
+ include Google::Apis::Core::Hashable
1964
+
1965
+ # The user-provided ID of the upstream policy.
1966
+ # Corresponds to the JSON property `id`
1967
+ # @return [String]
1968
+ attr_accessor :id
1969
+
1970
+ # Entries with a greater priority value take precedence in the pull order.
1971
+ # Corresponds to the JSON property `priority`
1972
+ # @return [Fixnum]
1973
+ attr_accessor :priority
1974
+
1975
+ # A reference to the repository resource, for example: "projects/p1/locations/us-
1976
+ # central1/repositories/repo1".
1977
+ # Corresponds to the JSON property `repository`
1978
+ # @return [String]
1979
+ attr_accessor :repository
1980
+
1981
+ def initialize(**args)
1982
+ update!(**args)
1983
+ end
1984
+
1985
+ # Update properties of this object
1986
+ def update!(**args)
1987
+ @id = args[:id] if args.key?(:id)
1988
+ @priority = args[:priority] if args.key?(:priority)
1989
+ @repository = args[:repository] if args.key?(:repository)
1990
+ end
1991
+ end
1992
+
1993
+ # The Artifact Registry VPC SC config that apply to a Project.
1994
+ class VpcscConfig
1995
+ include Google::Apis::Core::Hashable
1996
+
1997
+ # The name of the project's VPC SC Config. Always of the form: projects/`
1998
+ # projectID`/locations/`location`/vpcscConfig In update request: never set In
1999
+ # response: always set
2000
+ # Corresponds to the JSON property `name`
2001
+ # @return [String]
2002
+ attr_accessor :name
2003
+
2004
+ # The project per location VPC SC policy that defines the VPC SC behavior for
2005
+ # the Remote Repository (Allow/Deny).
2006
+ # Corresponds to the JSON property `vpcscPolicy`
2007
+ # @return [String]
2008
+ attr_accessor :vpcsc_policy
2009
+
2010
+ def initialize(**args)
2011
+ update!(**args)
2012
+ end
2013
+
2014
+ # Update properties of this object
2015
+ def update!(**args)
2016
+ @name = args[:name] if args.key?(:name)
2017
+ @vpcsc_policy = args[:vpcsc_policy] if args.key?(:vpcsc_policy)
2018
+ end
2019
+ end
2020
+
1814
2021
  # The body of a version resource. A version resource represents a collection of
1815
2022
  # components, such as files and other data. This may correspond to a version in
1816
2023
  # many package management schemes.
@@ -1867,6 +2074,26 @@ module Google
1867
2074
  end
1868
2075
  end
1869
2076
 
2077
+ # Virtual repository configuration.
2078
+ class VirtualRepositoryConfig
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # Policies that configure the upstream artifacts distributed by the Virtual
2082
+ # Repository. Upstream policies cannot be set on a standard repository.
2083
+ # Corresponds to the JSON property `upstreamPolicies`
2084
+ # @return [Array<Google::Apis::ArtifactregistryV1::UpstreamPolicy>]
2085
+ attr_accessor :upstream_policies
2086
+
2087
+ def initialize(**args)
2088
+ update!(**args)
2089
+ end
2090
+
2091
+ # Update properties of this object
2092
+ def update!(**args)
2093
+ @upstream_policies = args[:upstream_policies] if args.key?(:upstream_policies)
2094
+ end
2095
+ end
2096
+
1870
2097
  # A detailed representation of a Yum artifact.
1871
2098
  class YumArtifact
1872
2099
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1
18
18
  # Version of the google-apis-artifactregistry_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221022"
25
+ REVISION = "20230208"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class DockerRepository
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Empty
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -208,6 +214,12 @@ module Google
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
217
+ class MavenRepository
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class MavenRepositoryConfig
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -220,6 +232,12 @@ module Google
220
232
  include Google::Apis::Core::JsonObjectSupport
221
233
  end
222
234
 
235
+ class NpmRepository
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
223
241
  class Operation
224
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
243
 
@@ -256,6 +274,18 @@ module Google
256
274
  include Google::Apis::Core::JsonObjectSupport
257
275
  end
258
276
 
277
+ class PythonRepository
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class RemoteRepositoryConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class Repository
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -358,12 +388,30 @@ module Google
358
388
  include Google::Apis::Core::JsonObjectSupport
359
389
  end
360
390
 
391
+ class UpstreamPolicy
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class VpcscConfig
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
361
403
  class Version
362
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
405
 
364
406
  include Google::Apis::Core::JsonObjectSupport
365
407
  end
366
408
 
409
+ class VirtualRepositoryConfig
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
367
415
  class YumArtifact
368
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
417
 
@@ -413,6 +461,13 @@ module Google
413
461
  end
414
462
  end
415
463
 
464
+ class DockerRepository
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ property :public_repository, as: 'publicRepository'
468
+ end
469
+ end
470
+
416
471
  class Empty
417
472
  # @private
418
473
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -433,6 +488,7 @@ module Google
433
488
  # @private
434
489
  class Representation < Google::Apis::Core::JsonRepresentation
435
490
  property :create_time, as: 'createTime'
491
+ property :fetch_time, as: 'fetchTime'
436
492
  collection :hashes, as: 'hashes', class: Google::Apis::ArtifactregistryV1::HashProp, decorator: Google::Apis::ArtifactregistryV1::HashProp::Representation
437
493
 
438
494
  property :name, as: 'name'
@@ -656,6 +712,13 @@ module Google
656
712
  end
657
713
  end
658
714
 
715
+ class MavenRepository
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :public_repository, as: 'publicRepository'
719
+ end
720
+ end
721
+
659
722
  class MavenRepositoryConfig
660
723
  # @private
661
724
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +739,13 @@ module Google
676
739
  end
677
740
  end
678
741
 
742
+ class NpmRepository
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :public_repository, as: 'publicRepository'
746
+ end
747
+ end
748
+
679
749
  class Operation
680
750
  # @private
681
751
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -734,6 +804,28 @@ module Google
734
804
  end
735
805
  end
736
806
 
807
+ class PythonRepository
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :public_repository, as: 'publicRepository'
811
+ end
812
+ end
813
+
814
+ class RemoteRepositoryConfig
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :description, as: 'description'
818
+ property :docker_repository, as: 'dockerRepository', class: Google::Apis::ArtifactregistryV1::DockerRepository, decorator: Google::Apis::ArtifactregistryV1::DockerRepository::Representation
819
+
820
+ property :maven_repository, as: 'mavenRepository', class: Google::Apis::ArtifactregistryV1::MavenRepository, decorator: Google::Apis::ArtifactregistryV1::MavenRepository::Representation
821
+
822
+ property :npm_repository, as: 'npmRepository', class: Google::Apis::ArtifactregistryV1::NpmRepository, decorator: Google::Apis::ArtifactregistryV1::NpmRepository::Representation
823
+
824
+ property :python_repository, as: 'pythonRepository', class: Google::Apis::ArtifactregistryV1::PythonRepository, decorator: Google::Apis::ArtifactregistryV1::PythonRepository::Representation
825
+
826
+ end
827
+ end
828
+
737
829
  class Repository
738
830
  # @private
739
831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -744,10 +836,15 @@ module Google
744
836
  hash :labels, as: 'labels'
745
837
  property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig::Representation
746
838
 
839
+ property :mode, as: 'mode'
747
840
  property :name, as: 'name'
841
+ property :remote_repository_config, as: 'remoteRepositoryConfig', class: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig::Representation
842
+
748
843
  property :satisfies_pzs, as: 'satisfiesPzs'
749
844
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
750
845
  property :update_time, as: 'updateTime'
846
+ property :virtual_repository_config, as: 'virtualRepositoryConfig', class: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig::Representation
847
+
751
848
  end
752
849
  end
753
850
 
@@ -868,6 +965,23 @@ module Google
868
965
  end
869
966
  end
870
967
 
968
+ class UpstreamPolicy
969
+ # @private
970
+ class Representation < Google::Apis::Core::JsonRepresentation
971
+ property :id, as: 'id'
972
+ property :priority, as: 'priority'
973
+ property :repository, as: 'repository'
974
+ end
975
+ end
976
+
977
+ class VpcscConfig
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ property :name, as: 'name'
981
+ property :vpcsc_policy, as: 'vpcscPolicy'
982
+ end
983
+ end
984
+
871
985
  class Version
872
986
  # @private
873
987
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -881,6 +995,14 @@ module Google
881
995
  end
882
996
  end
883
997
 
998
+ class VirtualRepositoryConfig
999
+ # @private
1000
+ class Representation < Google::Apis::Core::JsonRepresentation
1001
+ collection :upstream_policies, as: 'upstreamPolicies', class: Google::Apis::ArtifactregistryV1::UpstreamPolicy, decorator: Google::Apis::ArtifactregistryV1::UpstreamPolicy::Representation
1002
+
1003
+ end
1004
+ end
1005
+
884
1006
  class YumArtifact
885
1007
  # @private
886
1008
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -147,6 +147,36 @@ module Google
147
147
  execute_or_queue_command(command, &block)
148
148
  end
149
149
 
150
+ # Retrieves the VPCSC Config for the Project.
151
+ # @param [String] name
152
+ # Required. The name of the VPCSCConfig resource.
153
+ # @param [String] fields
154
+ # Selector specifying which fields to include in a partial response.
155
+ # @param [String] quota_user
156
+ # Available to use for quota purposes for server-side applications. Can be any
157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
158
+ # @param [Google::Apis::RequestOptions] options
159
+ # Request-specific options
160
+ #
161
+ # @yield [result, err] Result & error if block supplied
162
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::VpcscConfig] parsed result object
163
+ # @yieldparam err [StandardError] error object if request failed
164
+ #
165
+ # @return [Google::Apis::ArtifactregistryV1::VpcscConfig]
166
+ #
167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
170
+ def get_project_location_vpcsc_config(name, fields: nil, quota_user: nil, options: nil, &block)
171
+ command = make_simple_command(:get, 'v1/{+name}', options)
172
+ command.response_representation = Google::Apis::ArtifactregistryV1::VpcscConfig::Representation
173
+ command.response_class = Google::Apis::ArtifactregistryV1::VpcscConfig
174
+ command.params['name'] = name unless name.nil?
175
+ command.query['fields'] = fields unless fields.nil?
176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
177
+ execute_or_queue_command(command, &block)
178
+ end
179
+
150
180
  # Lists information about the supported locations for this service.
151
181
  # @param [String] name
152
182
  # The resource that owns the locations collection, if applicable.
@@ -190,6 +220,44 @@ module Google
190
220
  execute_or_queue_command(command, &block)
191
221
  end
192
222
 
223
+ # Updates the VPCSC Config for the Project.
224
+ # @param [String] name
225
+ # The name of the project's VPC SC Config. Always of the form: projects/`
226
+ # projectID`/locations/`location`/vpcscConfig In update request: never set In
227
+ # response: always set
228
+ # @param [Google::Apis::ArtifactregistryV1::VpcscConfig] vpcsc_config_object
229
+ # @param [String] update_mask
230
+ # Field mask to support partial updates.
231
+ # @param [String] fields
232
+ # Selector specifying which fields to include in a partial response.
233
+ # @param [String] quota_user
234
+ # Available to use for quota purposes for server-side applications. Can be any
235
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
236
+ # @param [Google::Apis::RequestOptions] options
237
+ # Request-specific options
238
+ #
239
+ # @yield [result, err] Result & error if block supplied
240
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::VpcscConfig] parsed result object
241
+ # @yieldparam err [StandardError] error object if request failed
242
+ #
243
+ # @return [Google::Apis::ArtifactregistryV1::VpcscConfig]
244
+ #
245
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
248
+ def update_project_location_vpcsc_config(name, vpcsc_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
249
+ command = make_simple_command(:patch, 'v1/{+name}', options)
250
+ command.request_representation = Google::Apis::ArtifactregistryV1::VpcscConfig::Representation
251
+ command.request_object = vpcsc_config_object
252
+ command.response_representation = Google::Apis::ArtifactregistryV1::VpcscConfig::Representation
253
+ command.response_class = Google::Apis::ArtifactregistryV1::VpcscConfig
254
+ command.params['name'] = name unless name.nil?
255
+ command.query['updateMask'] = update_mask unless update_mask.nil?
256
+ command.query['fields'] = fields unless fields.nil?
257
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
258
+ execute_or_queue_command(command, &block)
259
+ end
260
+
193
261
  # Gets the latest state of a long-running operation. Clients can use this method
194
262
  # to poll the operation result at intervals as recommended by the API service.
195
263
  # @param [String] name
@@ -662,7 +730,7 @@ module Google
662
730
 
663
731
  # Gets a file.
664
732
  # @param [String] name
665
- # The name of the file to retrieve.
733
+ # Required. The name of the file to retrieve.
666
734
  # @param [String] fields
667
735
  # Selector specifying which fields to include in a partial response.
668
736
  # @param [String] quota_user
@@ -692,8 +760,8 @@ module Google
692
760
 
693
761
  # Lists files.
694
762
  # @param [String] parent
695
- # The name of the repository whose files will be listed. For example: "projects/
696
- # p1/locations/us-central1/repositories/repo1
763
+ # Required. The name of the repository whose files will be listed. For example: "
764
+ # projects/p1/locations/us-central1/repositories/repo1
697
765
  # @param [String] filter
698
766
  # An expression for filtering the results of the request. Filter rules are case
699
767
  # insensitive. The fields eligible for filtering are: * `name` * `owner` An
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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-10-31 00:00:00.000000000 Z
11
+ date: 2023-02-12 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Artifact Registry API V1