google-apis-artifactregistry_v1 0.31.0 → 0.33.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: 3013e035c5d484e464d6449091f0ddbb499842e4aaa9362a8195988b0d9866d3
4
- data.tar.gz: ecfc0df7192e23cdb66ed3fe665245d9d9a0ddaf908df25cf1aad759db83cd2b
3
+ metadata.gz: 765ac9401cecb8193b17581e38a874c4ba5b48fbd822793ab2452805793f1792
4
+ data.tar.gz: 4558923b57fd6c9e2b99ee6f4cfc77223059e309ad4e68b5c4f6080068c434bc
5
5
  SHA512:
6
- metadata.gz: 980d4e898d26fd5db4b2175e1782368dfe95f2fe263390fb6e64034a70eebd5223c1a48d87ca35cb38107af0e61f1106e0d12aae45098bf2e97cab53a832560b
7
- data.tar.gz: 75049b18c4f9cc304f201f3feb539d684d3de0914f5fdad34c80c9d4fb37318f97b28839ac57334dad509f5ef6d9861c8d632d834f2acabe98451b1f8182b4d8
6
+ metadata.gz: 27d78e1cd9d88a4629e495101863908355c3b285345d1379a9d8787d21d7e785fdf8f6f9c7bc10edebf98ba20a3122bc8f49c532497646e12366c4c80d52f8d5
7
+ data.tar.gz: aa5da584f4a4637ce8a93631a0e0abe9526bdfce46d3452df46eb3615d6f4b314f0557a9a3554b7dd3e90ea38cacd461329776bd53d7131421aba66173205d07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.33.0 (2022-09-16)
4
+
5
+ * Regenerated from discovery document revision 20220910
6
+
7
+ ### v0.32.0 (2022-09-01)
8
+
9
+ * Regenerated from discovery document revision 20220829
10
+
3
11
  ### v0.31.0 (2022-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20220809
@@ -120,31 +120,33 @@ module Google
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
123
- # anyone who is authenticated with a Google account or a service account. * `
124
- # user:`emailid``: An email address that represents a specific Google account.
125
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
- # address that represents a Google service account. For example, `my-other-app@
127
- # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
128
- # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
129
- # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
130
- # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
131
- # . * `group:`emailid``: An email address that represents a Google group. For
132
- # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
133
- # email address (plus unique identifier) representing a user that has been
134
- # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
135
- # If the user is recovered, this value reverts to `user:`emailid`` and the
136
- # recovered user retains the role in the binding. * `deleted:serviceAccount:`
137
- # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
138
- # representing a service account that has been recently deleted. For example, `
139
- # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
140
- # service account is undeleted, this value reverts to `serviceAccount:`emailid``
141
- # and the undeleted service account retains the role in the binding. * `deleted:
142
- # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
143
- # representing a Google group that has been recently deleted. For example, `
144
- # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
145
- # value reverts to `group:`emailid`` and the recovered group retains the role in
146
- # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
147
- # all the users of that domain. For example, `google.com` or `example.com`.
123
+ # anyone who is authenticated with a Google account or a service account. Does
124
+ # not include identities that come from external identity providers (IdPs)
125
+ # through identity federation. * `user:`emailid``: An email address that
126
+ # represents a specific Google account. For example, `alice@example.com` . * `
127
+ # serviceAccount:`emailid``: An email address that represents a Google service
128
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
129
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
130
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
131
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
132
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
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=
141
+ # 123456789012345678901`. If the service account is undeleted, this value
142
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
143
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
144
+ # An email address (plus unique identifier) representing a Google group that has
145
+ # been recently deleted. For example, `admins@example.com?uid=
146
+ # 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`.
148
150
  # Corresponds to the JSON property `members`
149
151
  # @return [Array<String>]
150
152
  attr_accessor :members
@@ -619,6 +621,35 @@ module Google
619
621
  end
620
622
  end
621
623
 
624
+ # A detailed representation of a GooGet artifact.
625
+ class KfpArtifact
626
+ include Google::Apis::Core::Hashable
627
+
628
+ # Output only. Resource name of the KFP artifact. Since users don't directly
629
+ # interact with this resource, the name will be derived from the associated
630
+ # version. For example, when version = ".../versions/sha256:abcdef...", the name
631
+ # will be ".../kfpArtifacts/sha256:abcdef...".
632
+ # Corresponds to the JSON property `name`
633
+ # @return [String]
634
+ attr_accessor :name
635
+
636
+ # The version associated with the KFP artifact. Must follow the Semantic
637
+ # Versioning standard.
638
+ # Corresponds to the JSON property `version`
639
+ # @return [String]
640
+ attr_accessor :version
641
+
642
+ def initialize(**args)
643
+ update!(**args)
644
+ end
645
+
646
+ # Update properties of this object
647
+ def update!(**args)
648
+ @name = args[:name] if args.key?(:name)
649
+ @version = args[:version] if args.key?(:version)
650
+ end
651
+ end
652
+
622
653
  # The response from listing docker images.
623
654
  class ListDockerImagesResponse
624
655
  include Google::Apis::Core::Hashable
@@ -1649,6 +1680,64 @@ module Google
1649
1680
  end
1650
1681
  end
1651
1682
 
1683
+ # The response to upload an artifact.
1684
+ class UploadKfpArtifactMediaResponse
1685
+ include Google::Apis::Core::Hashable
1686
+
1687
+ # This resource represents a long-running operation that is the result of a
1688
+ # network API call.
1689
+ # Corresponds to the JSON property `operation`
1690
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
1691
+ attr_accessor :operation
1692
+
1693
+ def initialize(**args)
1694
+ update!(**args)
1695
+ end
1696
+
1697
+ # Update properties of this object
1698
+ def update!(**args)
1699
+ @operation = args[:operation] if args.key?(:operation)
1700
+ end
1701
+ end
1702
+
1703
+ # The operation metadata for uploading KFP artifacts.
1704
+ class UploadKfpArtifactMetadata
1705
+ include Google::Apis::Core::Hashable
1706
+
1707
+ def initialize(**args)
1708
+ update!(**args)
1709
+ end
1710
+
1711
+ # Update properties of this object
1712
+ def update!(**args)
1713
+ end
1714
+ end
1715
+
1716
+ # The request to upload an artifact.
1717
+ class UploadKfpArtifactRequest
1718
+ include Google::Apis::Core::Hashable
1719
+
1720
+ # Description of the package version.
1721
+ # Corresponds to the JSON property `description`
1722
+ # @return [String]
1723
+ attr_accessor :description
1724
+
1725
+ # Tags to be created with the version.
1726
+ # Corresponds to the JSON property `tags`
1727
+ # @return [Array<String>]
1728
+ attr_accessor :tags
1729
+
1730
+ def initialize(**args)
1731
+ update!(**args)
1732
+ end
1733
+
1734
+ # Update properties of this object
1735
+ def update!(**args)
1736
+ @description = args[:description] if args.key?(:description)
1737
+ @tags = args[:tags] if args.key?(:tags)
1738
+ end
1739
+ end
1740
+
1652
1741
  # The response to upload an artifact.
1653
1742
  class UploadYumArtifactMediaResponse
1654
1743
  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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220809"
25
+ REVISION = "20220910"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class KfpArtifact
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class ListDockerImagesResponse
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -310,6 +316,24 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class UploadKfpArtifactMediaResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class UploadKfpArtifactMetadata
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class UploadKfpArtifactRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class UploadYumArtifactMediaResponse
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -510,6 +534,14 @@ module Google
510
534
  end
511
535
  end
512
536
 
537
+ class KfpArtifact
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :name, as: 'name'
541
+ property :version, as: 'version'
542
+ end
543
+ end
544
+
513
545
  class ListDockerImagesResponse
514
546
  # @private
515
547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -785,6 +817,28 @@ module Google
785
817
  end
786
818
  end
787
819
 
820
+ class UploadKfpArtifactMediaResponse
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
824
+
825
+ end
826
+ end
827
+
828
+ class UploadKfpArtifactMetadata
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ end
832
+ end
833
+
834
+ class UploadKfpArtifactRequest
835
+ # @private
836
+ class Representation < Google::Apis::Core::JsonRepresentation
837
+ property :description, as: 'description'
838
+ collection :tags, as: 'tags'
839
+ end
840
+ end
841
+
788
842
  class UploadYumArtifactMediaResponse
789
843
  # @private
790
844
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -738,6 +738,52 @@ module Google
738
738
  execute_or_queue_command(command, &block)
739
739
  end
740
740
 
741
+ # Directly uploads a KFP artifact. The returned Operation will complete once the
742
+ # resource is uploaded. Package, Version, and File resources will be created
743
+ # based on the uploaded artifact. Uploaded artifacts that conflict with existing
744
+ # resources will be overwritten.
745
+ # @param [String] parent
746
+ # The resource name of the repository where the KFP artifact will be uploaded.
747
+ # @param [Google::Apis::ArtifactregistryV1::UploadKfpArtifactRequest] upload_kfp_artifact_request_object
748
+ # @param [String] fields
749
+ # Selector specifying which fields to include in a partial response.
750
+ # @param [String] quota_user
751
+ # Available to use for quota purposes for server-side applications. Can be any
752
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
753
+ # @param [IO, String] upload_source
754
+ # IO stream or filename containing content to upload
755
+ # @param [String] content_type
756
+ # Content type of the uploaded content.
757
+ # @param [Google::Apis::RequestOptions] options
758
+ # Request-specific options
759
+ #
760
+ # @yield [result, err] Result & error if block supplied
761
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::UploadKfpArtifactMediaResponse] parsed result object
762
+ # @yieldparam err [StandardError] error object if request failed
763
+ #
764
+ # @return [Google::Apis::ArtifactregistryV1::UploadKfpArtifactMediaResponse]
765
+ #
766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
769
+ def upload_kfp_artifact(parent, upload_kfp_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
770
+ if upload_source.nil?
771
+ command = make_simple_command(:post, 'v1/{+parent}/kfpArtifacts:create', options)
772
+ else
773
+ command = make_upload_command(:post, 'v1/{+parent}/kfpArtifacts:create', options)
774
+ command.upload_source = upload_source
775
+ command.upload_content_type = content_type
776
+ end
777
+ command.request_representation = Google::Apis::ArtifactregistryV1::UploadKfpArtifactRequest::Representation
778
+ command.request_object = upload_kfp_artifact_request_object
779
+ command.response_representation = Google::Apis::ArtifactregistryV1::UploadKfpArtifactMediaResponse::Representation
780
+ command.response_class = Google::Apis::ArtifactregistryV1::UploadKfpArtifactMediaResponse
781
+ command.params['parent'] = parent unless parent.nil?
782
+ command.query['fields'] = fields unless fields.nil?
783
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
784
+ execute_or_queue_command(command, &block)
785
+ end
786
+
741
787
  # Gets a maven artifact.
742
788
  # @param [String] name
743
789
  # Required. The name of the maven artifact.
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.31.0
4
+ version: 0.33.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-08-15 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.7.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.7.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.33.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: []