google-apis-artifactregistry_v1beta1 0.9.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e28c40f8ed4de25d203d9e23ced4d4b30817b1f46a4fb5b73a359877aef847e3
4
- data.tar.gz: bf5fee13ba272bc62c46740280f8a07427c04dd03beaa6f9ad06b28d642f1794
3
+ metadata.gz: 0c39d46721ea2d06200bb5e8f6cb478b7bed0efdde3860d55b921b09c1b81f77
4
+ data.tar.gz: ce63dd46aa42b8936a0d1b80d4a87e2a2e3445249c4a47024d272d2a015c64ed
5
5
  SHA512:
6
- metadata.gz: df16b87d6353356f6c9164b554d7edf167fb0d96b28d5ced1eb8dec118b4c4d4463109ff595058c8395b9742897c2d445e6b5acfc1bbb417081ae2fc37ab9766
7
- data.tar.gz: 686f565e7d5cee6ba92f002703f297d3a25f7b183efdd6d524605102d437248b8d724e10da39f03df0a0d802c3c6cf6ba42afd8cdc48844eaa8b59dd2186bf99
6
+ metadata.gz: 611f8bd83edeb683d60b4d06c67d53a7d0ce0750f0c0888d225a1ab59a202579b8b14d1833db082d5a54bf098d4ed5f27eebe8aaa6270cbe16790721b7da8a03
7
+ data.tar.gz: a051682818f108d29f8f0ffb9e1f0150c39856cdfb71f14e2c9b6c953fba791b458fe9375b6d4a814a9c105ab2ad9c73c4dc9be0d41efb9a39946f721e4a6c80
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-artifactregistry_v1beta1
2
2
 
3
+ ### v0.13.0 (2021-10-22)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+ * Unspecified changes
7
+
8
+ ### v0.12.0 (2021-10-11)
9
+
10
+ * Regenerated from discovery document revision 20211002
11
+
12
+ ### v0.11.0 (2021-09-01)
13
+
14
+ * Regenerated from discovery document revision 20210817
15
+
16
+ ### v0.10.0 (2021-07-06)
17
+
18
+ * Regenerated from discovery document revision 20210629
19
+
3
20
  ### v0.9.0 (2021-06-29)
4
21
 
5
22
  * Regenerated using generator version 0.4.0
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -22,7 +22,59 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1beta1
24
24
 
25
- # Associates `members` with a `role`.
25
+ # A detailed representation of an Apt artifact. Information in the record is
26
+ # derived from the archive's control file. See https://www.debian.org/doc/debian-
27
+ # policy/ch-controlfields.html
28
+ class AptArtifact
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Output only. Operating system architecture of the artifact.
32
+ # Corresponds to the JSON property `architecture`
33
+ # @return [String]
34
+ attr_accessor :architecture
35
+
36
+ # Output only. Repository component of the artifact.
37
+ # Corresponds to the JSON property `component`
38
+ # @return [String]
39
+ attr_accessor :component
40
+
41
+ # Output only. Contents of the artifact's control metadata file.
42
+ # Corresponds to the JSON property `controlFile`
43
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
44
+ # @return [String]
45
+ attr_accessor :control_file
46
+
47
+ # Output only. The Artifact Registry resource name of the artifact.
48
+ # Corresponds to the JSON property `name`
49
+ # @return [String]
50
+ attr_accessor :name
51
+
52
+ # Output only. The Apt package name of the artifact.
53
+ # Corresponds to the JSON property `packageName`
54
+ # @return [String]
55
+ attr_accessor :package_name
56
+
57
+ # Output only. An artifact is a binary or source package.
58
+ # Corresponds to the JSON property `packageType`
59
+ # @return [String]
60
+ attr_accessor :package_type
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @architecture = args[:architecture] if args.key?(:architecture)
69
+ @component = args[:component] if args.key?(:component)
70
+ @control_file = args[:control_file] if args.key?(:control_file)
71
+ @name = args[:name] if args.key?(:name)
72
+ @package_name = args[:package_name] if args.key?(:package_name)
73
+ @package_type = args[:package_type] if args.key?(:package_type)
74
+ end
75
+ end
76
+
77
+ # Associates `members`, or principals, with a `role`.
26
78
  class Binding
27
79
  include Google::Apis::Core::Hashable
28
80
 
@@ -45,7 +97,7 @@ module Google
45
97
  # @return [Google::Apis::ArtifactregistryV1beta1::Expr]
46
98
  attr_accessor :condition
47
99
 
48
- # Specifies the identities requesting access for a Cloud Platform resource. `
100
+ # Specifies the principals requesting access for a Cloud Platform resource. `
49
101
  # members` can have the following values: * `allUsers`: A special identifier
50
102
  # that represents anyone who is on the internet; with or without a Google
51
103
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -75,8 +127,8 @@ module Google
75
127
  # @return [Array<String>]
76
128
  attr_accessor :members
77
129
 
78
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
79
- # , or `roles/owner`.
130
+ # Role that is assigned to the list of `members`, or principals. For example, `
131
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
80
132
  # Corresponds to the JSON property `role`
81
133
  # @return [String]
82
134
  attr_accessor :role
@@ -241,6 +293,168 @@ module Google
241
293
  end
242
294
  end
243
295
 
296
+ # Error information explaining why a package was not imported.
297
+ class ImportAptArtifactsErrorInfo
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # The `Status` type defines a logical error model that is suitable for different
301
+ # programming environments, including REST APIs and RPC APIs. It is used by [
302
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
303
+ # data: error code, error message, and error details. You can find out more
304
+ # about this error model and how to work with it in the [API Design Guide](https:
305
+ # //cloud.google.com/apis/design/errors).
306
+ # Corresponds to the JSON property `error`
307
+ # @return [Google::Apis::ArtifactregistryV1beta1::Status]
308
+ attr_accessor :error
309
+
310
+ # Google Cloud Storage location where the artifacts currently reside.
311
+ # Corresponds to the JSON property `gcsSource`
312
+ # @return [Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsGcsSource]
313
+ attr_accessor :gcs_source
314
+
315
+ def initialize(**args)
316
+ update!(**args)
317
+ end
318
+
319
+ # Update properties of this object
320
+ def update!(**args)
321
+ @error = args[:error] if args.key?(:error)
322
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
323
+ end
324
+ end
325
+
326
+ # Google Cloud Storage location where the artifacts currently reside.
327
+ class ImportAptArtifactsGcsSource
328
+ include Google::Apis::Core::Hashable
329
+
330
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
331
+ # Corresponds to the JSON property `uris`
332
+ # @return [Array<String>]
333
+ attr_accessor :uris
334
+
335
+ # Supports URI wildcards for matching multiple objects from a single URI.
336
+ # Corresponds to the JSON property `useWildcards`
337
+ # @return [Boolean]
338
+ attr_accessor :use_wildcards
339
+ alias_method :use_wildcards?, :use_wildcards
340
+
341
+ def initialize(**args)
342
+ update!(**args)
343
+ end
344
+
345
+ # Update properties of this object
346
+ def update!(**args)
347
+ @uris = args[:uris] if args.key?(:uris)
348
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
349
+ end
350
+ end
351
+
352
+ # The response message from importing artifacts.
353
+ class ImportAptArtifactsResponse
354
+ include Google::Apis::Core::Hashable
355
+
356
+ # The Apt artifacts updated.
357
+ # Corresponds to the JSON property `aptArtifacts`
358
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>]
359
+ attr_accessor :apt_artifacts
360
+
361
+ # Detailed error info for packages that were not imported.
362
+ # Corresponds to the JSON property `errors`
363
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo>]
364
+ attr_accessor :errors
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
373
+ @errors = args[:errors] if args.key?(:errors)
374
+ end
375
+ end
376
+
377
+ # Error information explaining why a package was not imported.
378
+ class ImportYumArtifactsErrorInfo
379
+ include Google::Apis::Core::Hashable
380
+
381
+ # The `Status` type defines a logical error model that is suitable for different
382
+ # programming environments, including REST APIs and RPC APIs. It is used by [
383
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
384
+ # data: error code, error message, and error details. You can find out more
385
+ # about this error model and how to work with it in the [API Design Guide](https:
386
+ # //cloud.google.com/apis/design/errors).
387
+ # Corresponds to the JSON property `error`
388
+ # @return [Google::Apis::ArtifactregistryV1beta1::Status]
389
+ attr_accessor :error
390
+
391
+ # Google Cloud Storage location where the artifacts currently reside.
392
+ # Corresponds to the JSON property `gcsSource`
393
+ # @return [Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsGcsSource]
394
+ attr_accessor :gcs_source
395
+
396
+ def initialize(**args)
397
+ update!(**args)
398
+ end
399
+
400
+ # Update properties of this object
401
+ def update!(**args)
402
+ @error = args[:error] if args.key?(:error)
403
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
404
+ end
405
+ end
406
+
407
+ # Google Cloud Storage location where the artifacts currently reside.
408
+ class ImportYumArtifactsGcsSource
409
+ include Google::Apis::Core::Hashable
410
+
411
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
412
+ # Corresponds to the JSON property `uris`
413
+ # @return [Array<String>]
414
+ attr_accessor :uris
415
+
416
+ # Supports URI wildcards for matching multiple objects from a single URI.
417
+ # Corresponds to the JSON property `useWildcards`
418
+ # @return [Boolean]
419
+ attr_accessor :use_wildcards
420
+ alias_method :use_wildcards?, :use_wildcards
421
+
422
+ def initialize(**args)
423
+ update!(**args)
424
+ end
425
+
426
+ # Update properties of this object
427
+ def update!(**args)
428
+ @uris = args[:uris] if args.key?(:uris)
429
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
430
+ end
431
+ end
432
+
433
+ # The response message from importing artifacts.
434
+ class ImportYumArtifactsResponse
435
+ include Google::Apis::Core::Hashable
436
+
437
+ # Detailed error info for packages that were not imported.
438
+ # Corresponds to the JSON property `errors`
439
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsErrorInfo>]
440
+ attr_accessor :errors
441
+
442
+ # The yum artifacts updated.
443
+ # Corresponds to the JSON property `yumArtifacts`
444
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::YumArtifact>]
445
+ attr_accessor :yum_artifacts
446
+
447
+ def initialize(**args)
448
+ update!(**args)
449
+ end
450
+
451
+ # Update properties of this object
452
+ def update!(**args)
453
+ @errors = args[:errors] if args.key?(:errors)
454
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
455
+ end
456
+ end
457
+
244
458
  # The response from listing files.
245
459
  class ListFilesResponse
246
460
  include Google::Apis::Core::Hashable
@@ -292,31 +506,6 @@ module Google
292
506
  end
293
507
  end
294
508
 
295
- # The response message for Operations.ListOperations.
296
- class ListOperationsResponse
297
- include Google::Apis::Core::Hashable
298
-
299
- # The standard List next-page token.
300
- # Corresponds to the JSON property `nextPageToken`
301
- # @return [String]
302
- attr_accessor :next_page_token
303
-
304
- # A list of operations that matches the specified filter in the request.
305
- # Corresponds to the JSON property `operations`
306
- # @return [Array<Google::Apis::ArtifactregistryV1beta1::Operation>]
307
- attr_accessor :operations
308
-
309
- def initialize(**args)
310
- update!(**args)
311
- end
312
-
313
- # Update properties of this object
314
- def update!(**args)
315
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
316
- @operations = args[:operations] if args.key?(:operations)
317
- end
318
- end
319
-
320
509
  # The response from listing packages.
321
510
  class ListPackagesResponse
322
511
  include Google::Apis::Core::Hashable
@@ -572,37 +761,42 @@ module Google
572
761
 
573
762
  # An Identity and Access Management (IAM) policy, which specifies access
574
763
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
575
- # A `binding` binds one or more `members` to a single `role`. Members can be
576
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
577
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
578
- # role or a user-created custom role. For some types of Google Cloud resources,
579
- # a `binding` can also specify a `condition`, which is a logical expression that
580
- # allows access to a resource only if the expression evaluates to `true`. A
581
- # condition can add constraints based on attributes of the request, the resource,
582
- # or both. To learn which resources support conditions in their IAM policies,
583
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
584
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
585
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
586
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
587
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
588
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
589
- # title": "expirable access", "description": "Does not grant access after Sep
590
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
591
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
592
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
593
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
594
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
595
- # roles/resourcemanager.organizationViewer condition: title: expirable access
596
- # description: Does not grant access after Sep 2020 expression: request.time <
597
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
598
- # description of IAM and its features, see the [IAM documentation](https://cloud.
599
- # google.com/iam/docs/).
764
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
765
+ # Principals can be user accounts, service accounts, Google groups, and domains (
766
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
767
+ # an IAM predefined role or a user-created custom role. For some types of Google
768
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
769
+ # logical expression that allows access to a resource only if the expression
770
+ # evaluates to `true`. A condition can add constraints based on attributes of
771
+ # the request, the resource, or both. To learn which resources support
772
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
773
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
774
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
775
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
776
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
777
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
778
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
779
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
780
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
781
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
782
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
783
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
784
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
785
+ # access description: Does not grant access after Sep 2020 expression: request.
786
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
787
+ # a description of IAM and its features, see the [IAM documentation](https://
788
+ # cloud.google.com/iam/docs/).
600
789
  class Policy
601
790
  include Google::Apis::Core::Hashable
602
791
 
603
- # Associates a list of `members` to a `role`. Optionally, may specify a `
604
- # condition` that determines how and when the `bindings` are applied. Each of
605
- # the `bindings` must contain at least one member.
792
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
793
+ # specify a `condition` that determines how and when the `bindings` are applied.
794
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
795
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
796
+ # can be Google groups. Each occurrence of a principal counts towards these
797
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
798
+ # example.com`, and not to any other principal, then you can add another 1,450
799
+ # principals to the `bindings` in the `Policy`.
606
800
  # Corresponds to the JSON property `bindings`
607
801
  # @return [Array<Google::Apis::ArtifactregistryV1beta1::Binding>]
608
802
  attr_accessor :bindings
@@ -722,31 +916,31 @@ module Google
722
916
 
723
917
  # An Identity and Access Management (IAM) policy, which specifies access
724
918
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
725
- # A `binding` binds one or more `members` to a single `role`. Members can be
726
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
727
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
728
- # role or a user-created custom role. For some types of Google Cloud resources,
729
- # a `binding` can also specify a `condition`, which is a logical expression that
730
- # allows access to a resource only if the expression evaluates to `true`. A
731
- # condition can add constraints based on attributes of the request, the resource,
732
- # or both. To learn which resources support conditions in their IAM policies,
733
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
734
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
735
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
736
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
737
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
738
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
739
- # title": "expirable access", "description": "Does not grant access after Sep
740
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
741
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
742
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
743
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
744
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
745
- # roles/resourcemanager.organizationViewer condition: title: expirable access
746
- # description: Does not grant access after Sep 2020 expression: request.time <
747
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
748
- # description of IAM and its features, see the [IAM documentation](https://cloud.
749
- # google.com/iam/docs/).
919
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
920
+ # Principals can be user accounts, service accounts, Google groups, and domains (
921
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
922
+ # an IAM predefined role or a user-created custom role. For some types of Google
923
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
924
+ # logical expression that allows access to a resource only if the expression
925
+ # evaluates to `true`. A condition can add constraints based on attributes of
926
+ # the request, the resource, or both. To learn which resources support
927
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
928
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
929
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
930
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
931
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
932
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
933
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
934
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
935
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
936
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
937
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
938
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
939
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
940
+ # access description: Does not grant access after Sep 2020 expression: request.
941
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
942
+ # a description of IAM and its features, see the [IAM documentation](https://
943
+ # cloud.google.com/iam/docs/).
750
944
  # Corresponds to the JSON property `policy`
751
945
  # @return [Google::Apis::ArtifactregistryV1beta1::Policy]
752
946
  attr_accessor :policy
@@ -806,8 +1000,9 @@ module Google
806
1000
  include Google::Apis::Core::Hashable
807
1001
 
808
1002
  # The name of the tag, for example: "projects/p1/locations/us-central1/
809
- # repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts
810
- # contain slashes, the slashes are escaped.
1003
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
1004
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
1005
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
811
1006
  # Corresponds to the JSON property `name`
812
1007
  # @return [String]
813
1008
  attr_accessor :name
@@ -869,6 +1064,86 @@ module Google
869
1064
  end
870
1065
  end
871
1066
 
1067
+ # The response to upload an artifact.
1068
+ class UploadAptArtifactMediaResponse
1069
+ include Google::Apis::Core::Hashable
1070
+
1071
+ # This resource represents a long-running operation that is the result of a
1072
+ # network API call.
1073
+ # Corresponds to the JSON property `operation`
1074
+ # @return [Google::Apis::ArtifactregistryV1beta1::Operation]
1075
+ attr_accessor :operation
1076
+
1077
+ def initialize(**args)
1078
+ update!(**args)
1079
+ end
1080
+
1081
+ # Update properties of this object
1082
+ def update!(**args)
1083
+ @operation = args[:operation] if args.key?(:operation)
1084
+ end
1085
+ end
1086
+
1087
+ # The response of the completed artifact upload operation. This response is
1088
+ # contained in the Operation and available to users.
1089
+ class UploadAptArtifactResponse
1090
+ include Google::Apis::Core::Hashable
1091
+
1092
+ # The Apt artifacts updated.
1093
+ # Corresponds to the JSON property `aptArtifacts`
1094
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>]
1095
+ attr_accessor :apt_artifacts
1096
+
1097
+ def initialize(**args)
1098
+ update!(**args)
1099
+ end
1100
+
1101
+ # Update properties of this object
1102
+ def update!(**args)
1103
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
1104
+ end
1105
+ end
1106
+
1107
+ # The response to upload an artifact.
1108
+ class UploadYumArtifactMediaResponse
1109
+ include Google::Apis::Core::Hashable
1110
+
1111
+ # This resource represents a long-running operation that is the result of a
1112
+ # network API call.
1113
+ # Corresponds to the JSON property `operation`
1114
+ # @return [Google::Apis::ArtifactregistryV1beta1::Operation]
1115
+ attr_accessor :operation
1116
+
1117
+ def initialize(**args)
1118
+ update!(**args)
1119
+ end
1120
+
1121
+ # Update properties of this object
1122
+ def update!(**args)
1123
+ @operation = args[:operation] if args.key?(:operation)
1124
+ end
1125
+ end
1126
+
1127
+ # The response of the completed artifact upload operation. This response is
1128
+ # contained in the Operation and available to users.
1129
+ class UploadYumArtifactResponse
1130
+ include Google::Apis::Core::Hashable
1131
+
1132
+ # The Apt artifacts updated.
1133
+ # Corresponds to the JSON property `yumArtifacts`
1134
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::YumArtifact>]
1135
+ attr_accessor :yum_artifacts
1136
+
1137
+ def initialize(**args)
1138
+ update!(**args)
1139
+ end
1140
+
1141
+ # Update properties of this object
1142
+ def update!(**args)
1143
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
1144
+ end
1145
+ end
1146
+
872
1147
  # The body of a version resource. A version resource represents a collection of
873
1148
  # components, such as files and other data. This may correspond to a version in
874
1149
  # many package management schemes.
@@ -916,6 +1191,43 @@ module Google
916
1191
  @update_time = args[:update_time] if args.key?(:update_time)
917
1192
  end
918
1193
  end
1194
+
1195
+ # A detailed representation of a Yum artifact.
1196
+ class YumArtifact
1197
+ include Google::Apis::Core::Hashable
1198
+
1199
+ # Output only. Operating system architecture of the artifact.
1200
+ # Corresponds to the JSON property `architecture`
1201
+ # @return [String]
1202
+ attr_accessor :architecture
1203
+
1204
+ # Output only. The Artifact Registry resource name of the artifact.
1205
+ # Corresponds to the JSON property `name`
1206
+ # @return [String]
1207
+ attr_accessor :name
1208
+
1209
+ # Output only. The yum package name of the artifact.
1210
+ # Corresponds to the JSON property `packageName`
1211
+ # @return [String]
1212
+ attr_accessor :package_name
1213
+
1214
+ # Output only. An artifact is a binary or source package.
1215
+ # Corresponds to the JSON property `packageType`
1216
+ # @return [String]
1217
+ attr_accessor :package_type
1218
+
1219
+ def initialize(**args)
1220
+ update!(**args)
1221
+ end
1222
+
1223
+ # Update properties of this object
1224
+ def update!(**args)
1225
+ @architecture = args[:architecture] if args.key?(:architecture)
1226
+ @name = args[:name] if args.key?(:name)
1227
+ @package_name = args[:package_name] if args.key?(:package_name)
1228
+ @package_type = args[:package_type] if args.key?(:package_type)
1229
+ end
1230
+ end
919
1231
  end
920
1232
  end
921
1233
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1beta1
18
18
  # Version of the google-apis-artifactregistry_v1beta1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.13.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 = "20210524"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1beta1
24
24
 
25
+ class AptArtifact
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Binding
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -52,19 +58,49 @@ module Google
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
55
- class ListFilesResponse
61
+ class ImportAptArtifactsErrorInfo
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
61
- class ListLocationsResponse
67
+ class ImportAptArtifactsGcsSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ImportAptArtifactsResponse
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
67
- class ListOperationsResponse
79
+ class ImportYumArtifactsErrorInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ImportYumArtifactsGcsSource
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ImportYumArtifactsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListFilesResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListLocationsResponse
68
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
105
 
70
106
  include Google::Apis::Core::JsonObjectSupport
@@ -154,12 +190,54 @@ module Google
154
190
  include Google::Apis::Core::JsonObjectSupport
155
191
  end
156
192
 
193
+ class UploadAptArtifactMediaResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class UploadAptArtifactResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class UploadYumArtifactMediaResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class UploadYumArtifactResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
157
217
  class Version
158
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
219
 
160
220
  include Google::Apis::Core::JsonObjectSupport
161
221
  end
162
222
 
223
+ class YumArtifact
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class AptArtifact
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :architecture, as: 'architecture'
233
+ property :component, as: 'component'
234
+ property :control_file, :base64 => true, as: 'controlFile'
235
+ property :name, as: 'name'
236
+ property :package_name, as: 'packageName'
237
+ property :package_type, as: 'packageType'
238
+ end
239
+ end
240
+
163
241
  class Binding
164
242
  # @private
165
243
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -207,30 +285,77 @@ module Google
207
285
  end
208
286
  end
209
287
 
210
- class ListFilesResponse
288
+ class ImportAptArtifactsErrorInfo
211
289
  # @private
212
290
  class Representation < Google::Apis::Core::JsonRepresentation
213
- collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta1::File, decorator: Google::Apis::ArtifactregistryV1beta1::File::Representation
291
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation
292
+
293
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsGcsSource::Representation
214
294
 
215
- property :next_page_token, as: 'nextPageToken'
216
295
  end
217
296
  end
218
297
 
219
- class ListLocationsResponse
298
+ class ImportAptArtifactsGcsSource
220
299
  # @private
221
300
  class Representation < Google::Apis::Core::JsonRepresentation
222
- collection :locations, as: 'locations', class: Google::Apis::ArtifactregistryV1beta1::Location, decorator: Google::Apis::ArtifactregistryV1beta1::Location::Representation
301
+ collection :uris, as: 'uris'
302
+ property :use_wildcards, as: 'useWildcards'
303
+ end
304
+ end
305
+
306
+ class ImportAptArtifactsResponse
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1beta1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::AptArtifact::Representation
310
+
311
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo::Representation
223
312
 
224
- property :next_page_token, as: 'nextPageToken'
225
313
  end
226
314
  end
227
315
 
228
- class ListOperationsResponse
316
+ class ImportYumArtifactsErrorInfo
229
317
  # @private
230
318
  class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation
320
+
321
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsGcsSource::Representation
322
+
323
+ end
324
+ end
325
+
326
+ class ImportYumArtifactsGcsSource
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ collection :uris, as: 'uris'
330
+ property :use_wildcards, as: 'useWildcards'
331
+ end
332
+ end
333
+
334
+ class ImportYumArtifactsResponse
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsErrorInfo::Representation
338
+
339
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1beta1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::YumArtifact::Representation
340
+
341
+ end
342
+ end
343
+
344
+ class ListFilesResponse
345
+ # @private
346
+ class Representation < Google::Apis::Core::JsonRepresentation
347
+ collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta1::File, decorator: Google::Apis::ArtifactregistryV1beta1::File::Representation
348
+
231
349
  property :next_page_token, as: 'nextPageToken'
232
- collection :operations, as: 'operations', class: Google::Apis::ArtifactregistryV1beta1::Operation, decorator: Google::Apis::ArtifactregistryV1beta1::Operation::Representation
350
+ end
351
+ end
352
+
353
+ class ListLocationsResponse
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ collection :locations, as: 'locations', class: Google::Apis::ArtifactregistryV1beta1::Location, decorator: Google::Apis::ArtifactregistryV1beta1::Location::Representation
233
357
 
358
+ property :next_page_token, as: 'nextPageToken'
234
359
  end
235
360
  end
236
361
 
@@ -365,6 +490,38 @@ module Google
365
490
  end
366
491
  end
367
492
 
493
+ class UploadAptArtifactMediaResponse
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1beta1::Operation, decorator: Google::Apis::ArtifactregistryV1beta1::Operation::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class UploadAptArtifactResponse
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1beta1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::AptArtifact::Representation
505
+
506
+ end
507
+ end
508
+
509
+ class UploadYumArtifactMediaResponse
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1beta1::Operation, decorator: Google::Apis::ArtifactregistryV1beta1::Operation::Representation
513
+
514
+ end
515
+ end
516
+
517
+ class UploadYumArtifactResponse
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1beta1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::YumArtifact::Representation
521
+
522
+ end
523
+ end
524
+
368
525
  class Version
369
526
  # @private
370
527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,6 +533,16 @@ module Google
376
533
  property :update_time, as: 'updateTime'
377
534
  end
378
535
  end
536
+
537
+ class YumArtifact
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :architecture, as: 'architecture'
541
+ property :name, as: 'name'
542
+ property :package_name, as: 'packageName'
543
+ property :package_type, as: 'packageType'
544
+ end
545
+ end
379
546
  end
380
547
  end
381
548
  end
@@ -154,52 +154,6 @@ module Google
154
154
  execute_or_queue_command(command, &block)
155
155
  end
156
156
 
157
- # Lists operations that match the specified filter in the request. If the server
158
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
159
- # binding allows API services to override the binding to use different resource
160
- # name schemes, such as `users/*/operations`. To override the binding, API
161
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
162
- # service configuration. For backwards compatibility, the default name includes
163
- # the operations collection id, however overriding users must ensure the name
164
- # binding is the parent resource, without the operations collection id.
165
- # @param [String] name
166
- # The name of the operation's parent resource.
167
- # @param [String] filter
168
- # The standard list filter.
169
- # @param [Fixnum] page_size
170
- # The standard list page size.
171
- # @param [String] page_token
172
- # The standard list page token.
173
- # @param [String] fields
174
- # Selector specifying which fields to include in a partial response.
175
- # @param [String] quota_user
176
- # Available to use for quota purposes for server-side applications. Can be any
177
- # arbitrary string assigned to a user, but should not exceed 40 characters.
178
- # @param [Google::Apis::RequestOptions] options
179
- # Request-specific options
180
- #
181
- # @yield [result, err] Result & error if block supplied
182
- # @yieldparam result [Google::Apis::ArtifactregistryV1beta1::ListOperationsResponse] parsed result object
183
- # @yieldparam err [StandardError] error object if request failed
184
- #
185
- # @return [Google::Apis::ArtifactregistryV1beta1::ListOperationsResponse]
186
- #
187
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
188
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
189
- # @raise [Google::Apis::AuthorizationError] Authorization is required
190
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
191
- command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
192
- command.response_representation = Google::Apis::ArtifactregistryV1beta1::ListOperationsResponse::Representation
193
- command.response_class = Google::Apis::ArtifactregistryV1beta1::ListOperationsResponse
194
- command.params['name'] = name unless name.nil?
195
- command.query['filter'] = filter unless filter.nil?
196
- command.query['pageSize'] = page_size unless page_size.nil?
197
- command.query['pageToken'] = page_token unless page_token.nil?
198
- command.query['fields'] = fields unless fields.nil?
199
- command.query['quotaUser'] = quota_user unless quota_user.nil?
200
- execute_or_queue_command(command, &block)
201
- end
202
-
203
157
  # Creates a repository. The returned Operation will finish once the repository
204
158
  # has been created. Its response will be the created Repository.
205
159
  # @param [String] parent
@@ -795,8 +749,9 @@ module Google
795
749
  # Updates a tag.
796
750
  # @param [String] name
797
751
  # The name of the tag, for example: "projects/p1/locations/us-central1/
798
- # repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts
799
- # contain slashes, the slashes are escaped.
752
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
753
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
754
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
800
755
  # @param [Google::Apis::ArtifactregistryV1beta1::Tag] tag_object
801
756
  # @param [String] update_mask
802
757
  # The update mask applies to the resource. For the `FieldMask` definition, see
@@ -30,10 +30,10 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
- # View your data across Google Cloud Platform services
36
+ # View your data across Google Cloud services and see the email address of your Google Account
37
37
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.13.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 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/master/generated/google-apis-artifactregistry_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta1/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta1/v0.13.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: