google-apis-artifactregistry_v1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +0 -78
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +0 -54
- data/lib/google/apis/artifactregistry_v1/service.rb +2 -83
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23d549c8cd0629de7692790bb3438b35d293f1f1b2cb99206744eba152474277
|
4
|
+
data.tar.gz: 76acae6ed74992c00babb3b16de94de75de86643a53cafe8bb3b6ae493c1e849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d9744f39b674dcbdd37c639bc384f4ccba10a175c9df9cf8a67061cb011b084f717ce6546501db31a371a47e6297e1c53147c451765331d97fbddac3f40783
|
7
|
+
data.tar.gz: 5bee37aa87a439d0dd88731dd810914de32f557af1ed2d3b1b4a922bfdfb2c12e62efb3da31488d8484ac1c6763bd50daefd052ed57266f9268e83260ce24aa3
|
data/CHANGELOG.md
CHANGED
@@ -359,51 +359,6 @@ module Google
|
|
359
359
|
end
|
360
360
|
end
|
361
361
|
|
362
|
-
# Google Cloud Storage location where the artifacts currently reside.
|
363
|
-
class ImportGooGetArtifactsGcsSource
|
364
|
-
include Google::Apis::Core::Hashable
|
365
|
-
|
366
|
-
# Cloud Storage paths URI (e.g., gs://my_bucket/my_object).
|
367
|
-
# Corresponds to the JSON property `uris`
|
368
|
-
# @return [Array<String>]
|
369
|
-
attr_accessor :uris
|
370
|
-
|
371
|
-
# Supports URI wildcards for matching multiple objects from a single URI.
|
372
|
-
# Corresponds to the JSON property `useWildcards`
|
373
|
-
# @return [Boolean]
|
374
|
-
attr_accessor :use_wildcards
|
375
|
-
alias_method :use_wildcards?, :use_wildcards
|
376
|
-
|
377
|
-
def initialize(**args)
|
378
|
-
update!(**args)
|
379
|
-
end
|
380
|
-
|
381
|
-
# Update properties of this object
|
382
|
-
def update!(**args)
|
383
|
-
@uris = args[:uris] if args.key?(:uris)
|
384
|
-
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
# The request to import new googet artifacts.
|
389
|
-
class ImportGooGetArtifactsRequest
|
390
|
-
include Google::Apis::Core::Hashable
|
391
|
-
|
392
|
-
# Google Cloud Storage location where the artifacts currently reside.
|
393
|
-
# Corresponds to the JSON property `gcsSource`
|
394
|
-
# @return [Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsGcsSource]
|
395
|
-
attr_accessor :gcs_source
|
396
|
-
|
397
|
-
def initialize(**args)
|
398
|
-
update!(**args)
|
399
|
-
end
|
400
|
-
|
401
|
-
# Update properties of this object
|
402
|
-
def update!(**args)
|
403
|
-
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
404
|
-
end
|
405
|
-
end
|
406
|
-
|
407
362
|
# Google Cloud Storage location where the artifacts currently reside.
|
408
363
|
class ImportYumArtifactsGcsSource
|
409
364
|
include Google::Apis::Core::Hashable
|
@@ -1106,39 +1061,6 @@ module Google
|
|
1106
1061
|
end
|
1107
1062
|
end
|
1108
1063
|
|
1109
|
-
# The response to upload an artifact.
|
1110
|
-
class UploadGooGetArtifactMediaResponse
|
1111
|
-
include Google::Apis::Core::Hashable
|
1112
|
-
|
1113
|
-
# This resource represents a long-running operation that is the result of a
|
1114
|
-
# network API call.
|
1115
|
-
# Corresponds to the JSON property `operation`
|
1116
|
-
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
1117
|
-
attr_accessor :operation
|
1118
|
-
|
1119
|
-
def initialize(**args)
|
1120
|
-
update!(**args)
|
1121
|
-
end
|
1122
|
-
|
1123
|
-
# Update properties of this object
|
1124
|
-
def update!(**args)
|
1125
|
-
@operation = args[:operation] if args.key?(:operation)
|
1126
|
-
end
|
1127
|
-
end
|
1128
|
-
|
1129
|
-
# The request to upload an artifact.
|
1130
|
-
class UploadGooGetArtifactRequest
|
1131
|
-
include Google::Apis::Core::Hashable
|
1132
|
-
|
1133
|
-
def initialize(**args)
|
1134
|
-
update!(**args)
|
1135
|
-
end
|
1136
|
-
|
1137
|
-
# Update properties of this object
|
1138
|
-
def update!(**args)
|
1139
|
-
end
|
1140
|
-
end
|
1141
|
-
|
1142
1064
|
# The response to upload an artifact.
|
1143
1065
|
class UploadYumArtifactMediaResponse
|
1144
1066
|
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.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,18 +70,6 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class ImportGooGetArtifactsGcsSource
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class ImportGooGetArtifactsRequest
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
73
|
class ImportYumArtifactsGcsSource
|
86
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
75
|
|
@@ -208,18 +196,6 @@ module Google
|
|
208
196
|
include Google::Apis::Core::JsonObjectSupport
|
209
197
|
end
|
210
198
|
|
211
|
-
class UploadGooGetArtifactMediaResponse
|
212
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
-
|
214
|
-
include Google::Apis::Core::JsonObjectSupport
|
215
|
-
end
|
216
|
-
|
217
|
-
class UploadGooGetArtifactRequest
|
218
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
-
|
220
|
-
include Google::Apis::Core::JsonObjectSupport
|
221
|
-
end
|
222
|
-
|
223
199
|
class UploadYumArtifactMediaResponse
|
224
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
201
|
|
@@ -314,22 +290,6 @@ module Google
|
|
314
290
|
end
|
315
291
|
end
|
316
292
|
|
317
|
-
class ImportGooGetArtifactsGcsSource
|
318
|
-
# @private
|
319
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
-
collection :uris, as: 'uris'
|
321
|
-
property :use_wildcards, as: 'useWildcards'
|
322
|
-
end
|
323
|
-
end
|
324
|
-
|
325
|
-
class ImportGooGetArtifactsRequest
|
326
|
-
# @private
|
327
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
-
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsGcsSource::Representation
|
329
|
-
|
330
|
-
end
|
331
|
-
end
|
332
|
-
|
333
293
|
class ImportYumArtifactsGcsSource
|
334
294
|
# @private
|
335
295
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -516,20 +476,6 @@ module Google
|
|
516
476
|
end
|
517
477
|
end
|
518
478
|
|
519
|
-
class UploadGooGetArtifactMediaResponse
|
520
|
-
# @private
|
521
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
522
|
-
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
523
|
-
|
524
|
-
end
|
525
|
-
end
|
526
|
-
|
527
|
-
class UploadGooGetArtifactRequest
|
528
|
-
# @private
|
529
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
-
end
|
531
|
-
end
|
532
|
-
|
533
479
|
class UploadYumArtifactMediaResponse
|
534
480
|
# @private
|
535
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -613,7 +613,8 @@ module Google
|
|
613
613
|
|
614
614
|
# Lists files.
|
615
615
|
# @param [String] parent
|
616
|
-
# The name of the
|
616
|
+
# The name of the repository whose files will be listed. For example: "projects/
|
617
|
+
# p1/locations/us-central1/repositories/repo1
|
617
618
|
# @param [String] filter
|
618
619
|
# An expression for filtering the results of the request. Filter rules are case
|
619
620
|
# insensitive. The fields eligible for filtering are: * `name` * `owner` An
|
@@ -658,88 +659,6 @@ module Google
|
|
658
659
|
execute_or_queue_command(command, &block)
|
659
660
|
end
|
660
661
|
|
661
|
-
# Imports GooGet artifacts. The returned Operation will complete once the
|
662
|
-
# resources are imported. Package, Version, and File resources are created based
|
663
|
-
# on the imported artifacts. Imported artifacts that conflict with existing
|
664
|
-
# resources are ignored.
|
665
|
-
# @param [String] parent
|
666
|
-
# The name of the parent resource where the artifacts will be imported.
|
667
|
-
# @param [Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsRequest] import_goo_get_artifacts_request_object
|
668
|
-
# @param [String] fields
|
669
|
-
# Selector specifying which fields to include in a partial response.
|
670
|
-
# @param [String] quota_user
|
671
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
672
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
673
|
-
# @param [Google::Apis::RequestOptions] options
|
674
|
-
# Request-specific options
|
675
|
-
#
|
676
|
-
# @yield [result, err] Result & error if block supplied
|
677
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
|
678
|
-
# @yieldparam err [StandardError] error object if request failed
|
679
|
-
#
|
680
|
-
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
681
|
-
#
|
682
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
683
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
684
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
685
|
-
def import_goo_get_artifacts(parent, import_goo_get_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
686
|
-
command = make_simple_command(:post, 'v1/{+parent}/gooGetArtifacts:import', options)
|
687
|
-
command.request_representation = Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsRequest::Representation
|
688
|
-
command.request_object = import_goo_get_artifacts_request_object
|
689
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
|
690
|
-
command.response_class = Google::Apis::ArtifactregistryV1::Operation
|
691
|
-
command.params['parent'] = parent unless parent.nil?
|
692
|
-
command.query['fields'] = fields unless fields.nil?
|
693
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
694
|
-
execute_or_queue_command(command, &block)
|
695
|
-
end
|
696
|
-
|
697
|
-
# Directly uploads a GooGet artifact. The returned Operation will complete once
|
698
|
-
# the resources are uploaded. Package, Version, and File resources are created
|
699
|
-
# based on the imported artifact. Imported artifacts that conflict with existing
|
700
|
-
# resources are ignored.
|
701
|
-
# @param [String] parent
|
702
|
-
# The name of the parent resource where the artifacts will be uploaded.
|
703
|
-
# @param [Google::Apis::ArtifactregistryV1::UploadGooGetArtifactRequest] upload_goo_get_artifact_request_object
|
704
|
-
# @param [String] fields
|
705
|
-
# Selector specifying which fields to include in a partial response.
|
706
|
-
# @param [String] quota_user
|
707
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
708
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
709
|
-
# @param [IO, String] upload_source
|
710
|
-
# IO stream or filename containing content to upload
|
711
|
-
# @param [String] content_type
|
712
|
-
# Content type of the uploaded content.
|
713
|
-
# @param [Google::Apis::RequestOptions] options
|
714
|
-
# Request-specific options
|
715
|
-
#
|
716
|
-
# @yield [result, err] Result & error if block supplied
|
717
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse] parsed result object
|
718
|
-
# @yieldparam err [StandardError] error object if request failed
|
719
|
-
#
|
720
|
-
# @return [Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse]
|
721
|
-
#
|
722
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
723
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
724
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
725
|
-
def upload_googet_artifact_goo_get_artifact(parent, upload_goo_get_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
726
|
-
if upload_source.nil?
|
727
|
-
command = make_simple_command(:post, 'v1/{+parent}/googetArtifacts:create', options)
|
728
|
-
else
|
729
|
-
command = make_upload_command(:post, 'v1/{+parent}/googetArtifacts:create', options)
|
730
|
-
command.upload_source = upload_source
|
731
|
-
command.upload_content_type = content_type
|
732
|
-
end
|
733
|
-
command.request_representation = Google::Apis::ArtifactregistryV1::UploadGooGetArtifactRequest::Representation
|
734
|
-
command.request_object = upload_goo_get_artifact_request_object
|
735
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse::Representation
|
736
|
-
command.response_class = Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse
|
737
|
-
command.params['parent'] = parent unless parent.nil?
|
738
|
-
command.query['fields'] = fields unless fields.nil?
|
739
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
740
|
-
execute_or_queue_command(command, &block)
|
741
|
-
end
|
742
|
-
|
743
662
|
# Deletes a package and all of its versions and tags. The returned operation
|
744
663
|
# will complete once the package has been deleted.
|
745
664
|
# @param [String] name
|
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.
|
4
|
+
version: 0.20.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-
|
11
|
+
date: 2022-03-14 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.20.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: []
|