google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -0,0 +1,443 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ArtifactregistryV1beta2
|
24
|
+
|
25
|
+
class Binding
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Empty
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Expr
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class File
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class HashProp
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ListFilesResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class ListLocationsResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ListOperationsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ListPackagesResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListRepositoriesResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListTagsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListVersionsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Location
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Operation
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Package
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Policy
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Repository
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class SetIamPolicyRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Status
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Tag
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class TestIamPermissionsRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class TestIamPermissionsResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class Version
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class Binding
|
188
|
+
# @private
|
189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
190
|
+
property :condition, as: 'condition', class: Google::Apis::ArtifactregistryV1beta2::Expr, decorator: Google::Apis::ArtifactregistryV1beta2::Expr::Representation
|
191
|
+
|
192
|
+
collection :members, as: 'members'
|
193
|
+
property :role, as: 'role'
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
class Empty
|
198
|
+
# @private
|
199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
class Expr
|
204
|
+
# @private
|
205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
206
|
+
property :description, as: 'description'
|
207
|
+
property :expression, as: 'expression'
|
208
|
+
property :location, as: 'location'
|
209
|
+
property :title, as: 'title'
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
class File
|
214
|
+
# @private
|
215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
216
|
+
property :create_time, as: 'createTime'
|
217
|
+
collection :hashes, as: 'hashes', class: Google::Apis::ArtifactregistryV1beta2::HashProp, decorator: Google::Apis::ArtifactregistryV1beta2::HashProp::Representation
|
218
|
+
|
219
|
+
property :name, as: 'name'
|
220
|
+
property :owner, as: 'owner'
|
221
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
222
|
+
property :update_time, as: 'updateTime'
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
227
|
+
# @private
|
228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta2::Status, decorator: Google::Apis::ArtifactregistryV1beta2::Status::Representation
|
230
|
+
|
231
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource::Representation
|
232
|
+
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
237
|
+
# @private
|
238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
239
|
+
collection :uris, as: 'uris'
|
240
|
+
property :use_wildcards, as: 'useWildcards'
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
245
|
+
# @private
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
247
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo::Representation
|
248
|
+
|
249
|
+
collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package::Representation
|
250
|
+
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
property :create_time, as: 'createTime'
|
258
|
+
property :display_name, as: 'displayName'
|
259
|
+
property :name, as: 'name'
|
260
|
+
property :update_time, as: 'updateTime'
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
class HashProp
|
265
|
+
# @private
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
267
|
+
property :type, as: 'type'
|
268
|
+
property :value, :base64 => true, as: 'value'
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
class ListFilesResponse
|
273
|
+
# @private
|
274
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
275
|
+
collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta2::File, decorator: Google::Apis::ArtifactregistryV1beta2::File::Representation
|
276
|
+
|
277
|
+
property :next_page_token, as: 'nextPageToken'
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
class ListLocationsResponse
|
282
|
+
# @private
|
283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
284
|
+
collection :locations, as: 'locations', class: Google::Apis::ArtifactregistryV1beta2::Location, decorator: Google::Apis::ArtifactregistryV1beta2::Location::Representation
|
285
|
+
|
286
|
+
property :next_page_token, as: 'nextPageToken'
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
class ListOperationsResponse
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :next_page_token, as: 'nextPageToken'
|
294
|
+
collection :operations, as: 'operations', class: Google::Apis::ArtifactregistryV1beta2::Operation, decorator: Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
295
|
+
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class ListPackagesResponse
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :next_page_token, as: 'nextPageToken'
|
303
|
+
collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1beta2::Package, decorator: Google::Apis::ArtifactregistryV1beta2::Package::Representation
|
304
|
+
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class ListRepositoriesResponse
|
309
|
+
# @private
|
310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
+
property :next_page_token, as: 'nextPageToken'
|
312
|
+
collection :repositories, as: 'repositories', class: Google::Apis::ArtifactregistryV1beta2::Repository, decorator: Google::Apis::ArtifactregistryV1beta2::Repository::Representation
|
313
|
+
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
class ListTagsResponse
|
318
|
+
# @private
|
319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
+
property :next_page_token, as: 'nextPageToken'
|
321
|
+
collection :tags, as: 'tags', class: Google::Apis::ArtifactregistryV1beta2::Tag, decorator: Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
322
|
+
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
class ListVersionsResponse
|
327
|
+
# @private
|
328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
329
|
+
property :next_page_token, as: 'nextPageToken'
|
330
|
+
collection :versions, as: 'versions', class: Google::Apis::ArtifactregistryV1beta2::Version, decorator: Google::Apis::ArtifactregistryV1beta2::Version::Representation
|
331
|
+
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
class Location
|
336
|
+
# @private
|
337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
+
property :display_name, as: 'displayName'
|
339
|
+
hash :labels, as: 'labels'
|
340
|
+
property :location_id, as: 'locationId'
|
341
|
+
hash :metadata, as: 'metadata'
|
342
|
+
property :name, as: 'name'
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
class Operation
|
347
|
+
# @private
|
348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
+
property :done, as: 'done'
|
350
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta2::Status, decorator: Google::Apis::ArtifactregistryV1beta2::Status::Representation
|
351
|
+
|
352
|
+
hash :metadata, as: 'metadata'
|
353
|
+
property :name, as: 'name'
|
354
|
+
hash :response, as: 'response'
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
class Package
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :create_time, as: 'createTime'
|
362
|
+
property :display_name, as: 'displayName'
|
363
|
+
property :name, as: 'name'
|
364
|
+
property :update_time, as: 'updateTime'
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class Policy
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
collection :bindings, as: 'bindings', class: Google::Apis::ArtifactregistryV1beta2::Binding, decorator: Google::Apis::ArtifactregistryV1beta2::Binding::Representation
|
372
|
+
|
373
|
+
property :etag, :base64 => true, as: 'etag'
|
374
|
+
property :version, as: 'version'
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class Repository
|
379
|
+
# @private
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
381
|
+
property :create_time, as: 'createTime'
|
382
|
+
property :description, as: 'description'
|
383
|
+
property :format, as: 'format'
|
384
|
+
property :kms_key_name, as: 'kmsKeyName'
|
385
|
+
hash :labels, as: 'labels'
|
386
|
+
property :name, as: 'name'
|
387
|
+
property :update_time, as: 'updateTime'
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
class SetIamPolicyRequest
|
392
|
+
# @private
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
394
|
+
property :policy, as: 'policy', class: Google::Apis::ArtifactregistryV1beta2::Policy, decorator: Google::Apis::ArtifactregistryV1beta2::Policy::Representation
|
395
|
+
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
class Status
|
400
|
+
# @private
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
property :code, as: 'code'
|
403
|
+
collection :details, as: 'details'
|
404
|
+
property :message, as: 'message'
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
class Tag
|
409
|
+
# @private
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
+
property :name, as: 'name'
|
412
|
+
property :version, as: 'version'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class TestIamPermissionsRequest
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
collection :permissions, as: 'permissions'
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
class TestIamPermissionsResponse
|
424
|
+
# @private
|
425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
+
collection :permissions, as: 'permissions'
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
class Version
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
property :create_time, as: 'createTime'
|
434
|
+
property :description, as: 'description'
|
435
|
+
property :name, as: 'name'
|
436
|
+
collection :related_tags, as: 'relatedTags', class: Google::Apis::ArtifactregistryV1beta2::Tag, decorator: Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
437
|
+
|
438
|
+
property :update_time, as: 'updateTime'
|
439
|
+
end
|
440
|
+
end
|
441
|
+
end
|
442
|
+
end
|
443
|
+
end
|
@@ -0,0 +1,944 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module ArtifactregistryV1beta2
|
23
|
+
# Artifact Registry API
|
24
|
+
#
|
25
|
+
# Store and manage build artifacts in a scalable and integrated service built on
|
26
|
+
# Google infrastructure.
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/artifactregistry_v1beta2'
|
30
|
+
#
|
31
|
+
# Artifactregistry = Google::Apis::ArtifactregistryV1beta2 # Alias the module
|
32
|
+
# service = Artifactregistry::ArtifactRegistryService.new
|
33
|
+
#
|
34
|
+
# @see https://cloud.google.com/artifacts/docs/
|
35
|
+
class ArtifactRegistryService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
def initialize
|
47
|
+
super('https://artifactregistry.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch'
|
49
|
+
end
|
50
|
+
|
51
|
+
# Gets information about a location.
|
52
|
+
# @param [String] name
|
53
|
+
# Resource name for the location.
|
54
|
+
# @param [String] fields
|
55
|
+
# Selector specifying which fields to include in a partial response.
|
56
|
+
# @param [String] quota_user
|
57
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
58
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
59
|
+
# @param [Google::Apis::RequestOptions] options
|
60
|
+
# Request-specific options
|
61
|
+
#
|
62
|
+
# @yield [result, err] Result & error if block supplied
|
63
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Location] parsed result object
|
64
|
+
# @yieldparam err [StandardError] error object if request failed
|
65
|
+
#
|
66
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Location]
|
67
|
+
#
|
68
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
72
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
73
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Location::Representation
|
74
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Location
|
75
|
+
command.params['name'] = name unless name.nil?
|
76
|
+
command.query['fields'] = fields unless fields.nil?
|
77
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
|
+
execute_or_queue_command(command, &block)
|
79
|
+
end
|
80
|
+
|
81
|
+
# Lists information about the supported locations for this service.
|
82
|
+
# @param [String] name
|
83
|
+
# The resource that owns the locations collection, if applicable.
|
84
|
+
# @param [String] filter
|
85
|
+
# The standard list filter.
|
86
|
+
# @param [Fixnum] page_size
|
87
|
+
# The standard list page size.
|
88
|
+
# @param [String] page_token
|
89
|
+
# The standard list page token.
|
90
|
+
# @param [String] fields
|
91
|
+
# Selector specifying which fields to include in a partial response.
|
92
|
+
# @param [String] quota_user
|
93
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
94
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
95
|
+
# @param [Google::Apis::RequestOptions] options
|
96
|
+
# Request-specific options
|
97
|
+
#
|
98
|
+
# @yield [result, err] Result & error if block supplied
|
99
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListLocationsResponse] parsed result object
|
100
|
+
# @yieldparam err [StandardError] error object if request failed
|
101
|
+
#
|
102
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListLocationsResponse]
|
103
|
+
#
|
104
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
105
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
+
command = make_simple_command(:get, 'v1beta2/{+name}/locations', options)
|
109
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListLocationsResponse::Representation
|
110
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListLocationsResponse
|
111
|
+
command.params['name'] = name unless name.nil?
|
112
|
+
command.query['filter'] = filter unless filter.nil?
|
113
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
114
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
121
|
+
# to poll the operation result at intervals as recommended by the API service.
|
122
|
+
# @param [String] name
|
123
|
+
# The name of the operation resource.
|
124
|
+
# @param [String] fields
|
125
|
+
# Selector specifying which fields to include in a partial response.
|
126
|
+
# @param [String] quota_user
|
127
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
128
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
129
|
+
# @param [Google::Apis::RequestOptions] options
|
130
|
+
# Request-specific options
|
131
|
+
#
|
132
|
+
# @yield [result, err] Result & error if block supplied
|
133
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
134
|
+
# @yieldparam err [StandardError] error object if request failed
|
135
|
+
#
|
136
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
137
|
+
#
|
138
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
139
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
140
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
141
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
142
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
143
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
144
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
145
|
+
command.params['name'] = name unless name.nil?
|
146
|
+
command.query['fields'] = fields unless fields.nil?
|
147
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
148
|
+
execute_or_queue_command(command, &block)
|
149
|
+
end
|
150
|
+
|
151
|
+
# Lists operations that match the specified filter in the request. If the server
|
152
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
153
|
+
# binding allows API services to override the binding to use different resource
|
154
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
155
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
156
|
+
# service configuration. For backwards compatibility, the default name includes
|
157
|
+
# the operations collection id, however overriding users must ensure the name
|
158
|
+
# binding is the parent resource, without the operations collection id.
|
159
|
+
# @param [String] name
|
160
|
+
# The name of the operation's parent resource.
|
161
|
+
# @param [String] filter
|
162
|
+
# The standard list filter.
|
163
|
+
# @param [Fixnum] page_size
|
164
|
+
# The standard list page size.
|
165
|
+
# @param [String] page_token
|
166
|
+
# The standard list page token.
|
167
|
+
# @param [String] fields
|
168
|
+
# Selector specifying which fields to include in a partial response.
|
169
|
+
# @param [String] quota_user
|
170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
172
|
+
# @param [Google::Apis::RequestOptions] options
|
173
|
+
# Request-specific options
|
174
|
+
#
|
175
|
+
# @yield [result, err] Result & error if block supplied
|
176
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse] parsed result object
|
177
|
+
# @yieldparam err [StandardError] error object if request failed
|
178
|
+
#
|
179
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse]
|
180
|
+
#
|
181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
184
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
185
|
+
command = make_simple_command(:get, 'v1beta2/{+name}/operations', options)
|
186
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse::Representation
|
187
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse
|
188
|
+
command.params['name'] = name unless name.nil?
|
189
|
+
command.query['filter'] = filter unless filter.nil?
|
190
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
191
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
192
|
+
command.query['fields'] = fields unless fields.nil?
|
193
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
194
|
+
execute_or_queue_command(command, &block)
|
195
|
+
end
|
196
|
+
|
197
|
+
# Creates a repository. The returned Operation will finish once the repository
|
198
|
+
# has been created. Its response will be the created Repository.
|
199
|
+
# @param [String] parent
|
200
|
+
# The name of the parent resource where the repository will be created.
|
201
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::Repository] repository_object
|
202
|
+
# @param [String] repository_id
|
203
|
+
# The repository id to use for this repository.
|
204
|
+
# @param [String] fields
|
205
|
+
# Selector specifying which fields to include in a partial response.
|
206
|
+
# @param [String] quota_user
|
207
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
208
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
209
|
+
# @param [Google::Apis::RequestOptions] options
|
210
|
+
# Request-specific options
|
211
|
+
#
|
212
|
+
# @yield [result, err] Result & error if block supplied
|
213
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
214
|
+
# @yieldparam err [StandardError] error object if request failed
|
215
|
+
#
|
216
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
217
|
+
#
|
218
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
+
def create_project_location_repository(parent, repository_object = nil, repository_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
222
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/repositories', options)
|
223
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::Repository::Representation
|
224
|
+
command.request_object = repository_object
|
225
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
226
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
227
|
+
command.params['parent'] = parent unless parent.nil?
|
228
|
+
command.query['repositoryId'] = repository_id unless repository_id.nil?
|
229
|
+
command.query['fields'] = fields unless fields.nil?
|
230
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
231
|
+
execute_or_queue_command(command, &block)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Deletes a repository and all of its contents. The returned Operation will
|
235
|
+
# finish once the repository has been deleted. It will not have any Operation
|
236
|
+
# metadata and will return a google.protobuf.Empty response.
|
237
|
+
# @param [String] name
|
238
|
+
# The name of the repository to delete.
|
239
|
+
# @param [String] fields
|
240
|
+
# Selector specifying which fields to include in a partial response.
|
241
|
+
# @param [String] quota_user
|
242
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
243
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
244
|
+
# @param [Google::Apis::RequestOptions] options
|
245
|
+
# Request-specific options
|
246
|
+
#
|
247
|
+
# @yield [result, err] Result & error if block supplied
|
248
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
249
|
+
# @yieldparam err [StandardError] error object if request failed
|
250
|
+
#
|
251
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
252
|
+
#
|
253
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
254
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
255
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
256
|
+
def delete_project_location_repository(name, fields: nil, quota_user: nil, options: nil, &block)
|
257
|
+
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
258
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
259
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
260
|
+
command.params['name'] = name unless name.nil?
|
261
|
+
command.query['fields'] = fields unless fields.nil?
|
262
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
263
|
+
execute_or_queue_command(command, &block)
|
264
|
+
end
|
265
|
+
|
266
|
+
# Gets a repository.
|
267
|
+
# @param [String] name
|
268
|
+
# The name of the repository to retrieve.
|
269
|
+
# @param [String] fields
|
270
|
+
# Selector specifying which fields to include in a partial response.
|
271
|
+
# @param [String] quota_user
|
272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
274
|
+
# @param [Google::Apis::RequestOptions] options
|
275
|
+
# Request-specific options
|
276
|
+
#
|
277
|
+
# @yield [result, err] Result & error if block supplied
|
278
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Repository] parsed result object
|
279
|
+
# @yieldparam err [StandardError] error object if request failed
|
280
|
+
#
|
281
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Repository]
|
282
|
+
#
|
283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
286
|
+
def get_project_location_repository(name, fields: nil, quota_user: nil, options: nil, &block)
|
287
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
288
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Repository::Representation
|
289
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Repository
|
290
|
+
command.params['name'] = name unless name.nil?
|
291
|
+
command.query['fields'] = fields unless fields.nil?
|
292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
293
|
+
execute_or_queue_command(command, &block)
|
294
|
+
end
|
295
|
+
|
296
|
+
# Gets the IAM policy for a given resource.
|
297
|
+
# @param [String] resource
|
298
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
299
|
+
# operation documentation for the appropriate value for this field.
|
300
|
+
# @param [Fixnum] options_requested_policy_version
|
301
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
302
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
303
|
+
# policies with any conditional bindings must specify version 3. Policies
|
304
|
+
# without any conditional bindings may specify any valid value or leave the
|
305
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
306
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
307
|
+
# resource-policies).
|
308
|
+
# @param [String] fields
|
309
|
+
# Selector specifying which fields to include in a partial response.
|
310
|
+
# @param [String] quota_user
|
311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
313
|
+
# @param [Google::Apis::RequestOptions] options
|
314
|
+
# Request-specific options
|
315
|
+
#
|
316
|
+
# @yield [result, err] Result & error if block supplied
|
317
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Policy] parsed result object
|
318
|
+
# @yieldparam err [StandardError] error object if request failed
|
319
|
+
#
|
320
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Policy]
|
321
|
+
#
|
322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
325
|
+
def get_project_location_repository_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
326
|
+
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
327
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Policy::Representation
|
328
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Policy
|
329
|
+
command.params['resource'] = resource unless resource.nil?
|
330
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
331
|
+
command.query['fields'] = fields unless fields.nil?
|
332
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
333
|
+
execute_or_queue_command(command, &block)
|
334
|
+
end
|
335
|
+
|
336
|
+
# Lists repositories.
|
337
|
+
# @param [String] parent
|
338
|
+
# The name of the parent resource whose repositories will be listed.
|
339
|
+
# @param [Fixnum] page_size
|
340
|
+
# The maximum number of repositories to return. Maximum page size is 10,000.
|
341
|
+
# @param [String] page_token
|
342
|
+
# The next_page_token value returned from a previous list request, if any.
|
343
|
+
# @param [String] fields
|
344
|
+
# Selector specifying which fields to include in a partial response.
|
345
|
+
# @param [String] quota_user
|
346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
348
|
+
# @param [Google::Apis::RequestOptions] options
|
349
|
+
# Request-specific options
|
350
|
+
#
|
351
|
+
# @yield [result, err] Result & error if block supplied
|
352
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListRepositoriesResponse] parsed result object
|
353
|
+
# @yieldparam err [StandardError] error object if request failed
|
354
|
+
#
|
355
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListRepositoriesResponse]
|
356
|
+
#
|
357
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
358
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
359
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
360
|
+
def list_project_location_repositories(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
361
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/repositories', options)
|
362
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListRepositoriesResponse::Representation
|
363
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListRepositoriesResponse
|
364
|
+
command.params['parent'] = parent unless parent.nil?
|
365
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
366
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
367
|
+
command.query['fields'] = fields unless fields.nil?
|
368
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
369
|
+
execute_or_queue_command(command, &block)
|
370
|
+
end
|
371
|
+
|
372
|
+
# Updates a repository.
|
373
|
+
# @param [String] name
|
374
|
+
# The name of the repository, for example: "projects/p1/locations/us-central1/
|
375
|
+
# repositories/repo1".
|
376
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::Repository] repository_object
|
377
|
+
# @param [String] update_mask
|
378
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
379
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
380
|
+
# fieldmask
|
381
|
+
# @param [String] fields
|
382
|
+
# Selector specifying which fields to include in a partial response.
|
383
|
+
# @param [String] quota_user
|
384
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
385
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
386
|
+
# @param [Google::Apis::RequestOptions] options
|
387
|
+
# Request-specific options
|
388
|
+
#
|
389
|
+
# @yield [result, err] Result & error if block supplied
|
390
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Repository] parsed result object
|
391
|
+
# @yieldparam err [StandardError] error object if request failed
|
392
|
+
#
|
393
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Repository]
|
394
|
+
#
|
395
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
396
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
|
+
def patch_project_location_repository(name, repository_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
399
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
400
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::Repository::Representation
|
401
|
+
command.request_object = repository_object
|
402
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Repository::Representation
|
403
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Repository
|
404
|
+
command.params['name'] = name unless name.nil?
|
405
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
406
|
+
command.query['fields'] = fields unless fields.nil?
|
407
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
408
|
+
execute_or_queue_command(command, &block)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Updates the IAM policy for a given resource.
|
412
|
+
# @param [String] resource
|
413
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
414
|
+
# operation documentation for the appropriate value for this field.
|
415
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
|
416
|
+
# @param [String] fields
|
417
|
+
# Selector specifying which fields to include in a partial response.
|
418
|
+
# @param [String] quota_user
|
419
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
420
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
421
|
+
# @param [Google::Apis::RequestOptions] options
|
422
|
+
# Request-specific options
|
423
|
+
#
|
424
|
+
# @yield [result, err] Result & error if block supplied
|
425
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Policy] parsed result object
|
426
|
+
# @yieldparam err [StandardError] error object if request failed
|
427
|
+
#
|
428
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Policy]
|
429
|
+
#
|
430
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
431
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
432
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
433
|
+
def set_repository_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
434
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:setIamPolicy', options)
|
435
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::SetIamPolicyRequest::Representation
|
436
|
+
command.request_object = set_iam_policy_request_object
|
437
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Policy::Representation
|
438
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Policy
|
439
|
+
command.params['resource'] = resource unless resource.nil?
|
440
|
+
command.query['fields'] = fields unless fields.nil?
|
441
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
442
|
+
execute_or_queue_command(command, &block)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Tests if the caller has a list of permissions on a resource.
|
446
|
+
# @param [String] resource
|
447
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
448
|
+
# operation documentation for the appropriate value for this field.
|
449
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
450
|
+
# @param [String] fields
|
451
|
+
# Selector specifying which fields to include in a partial response.
|
452
|
+
# @param [String] quota_user
|
453
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
454
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
455
|
+
# @param [Google::Apis::RequestOptions] options
|
456
|
+
# Request-specific options
|
457
|
+
#
|
458
|
+
# @yield [result, err] Result & error if block supplied
|
459
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::TestIamPermissionsResponse] parsed result object
|
460
|
+
# @yieldparam err [StandardError] error object if request failed
|
461
|
+
#
|
462
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::TestIamPermissionsResponse]
|
463
|
+
#
|
464
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
465
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
466
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
467
|
+
def test_repository_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
468
|
+
command = make_simple_command(:post, 'v1beta2/{+resource}:testIamPermissions', options)
|
469
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::TestIamPermissionsRequest::Representation
|
470
|
+
command.request_object = test_iam_permissions_request_object
|
471
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::TestIamPermissionsResponse::Representation
|
472
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::TestIamPermissionsResponse
|
473
|
+
command.params['resource'] = resource unless resource.nil?
|
474
|
+
command.query['fields'] = fields unless fields.nil?
|
475
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
476
|
+
execute_or_queue_command(command, &block)
|
477
|
+
end
|
478
|
+
|
479
|
+
# Gets a file.
|
480
|
+
# @param [String] name
|
481
|
+
# The name of the file to retrieve.
|
482
|
+
# @param [String] fields
|
483
|
+
# Selector specifying which fields to include in a partial response.
|
484
|
+
# @param [String] quota_user
|
485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
487
|
+
# @param [Google::Apis::RequestOptions] options
|
488
|
+
# Request-specific options
|
489
|
+
#
|
490
|
+
# @yield [result, err] Result & error if block supplied
|
491
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::File] parsed result object
|
492
|
+
# @yieldparam err [StandardError] error object if request failed
|
493
|
+
#
|
494
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::File]
|
495
|
+
#
|
496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
499
|
+
def get_project_location_repository_file(name, fields: nil, quota_user: nil, options: nil, &block)
|
500
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
501
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::File::Representation
|
502
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::File
|
503
|
+
command.params['name'] = name unless name.nil?
|
504
|
+
command.query['fields'] = fields unless fields.nil?
|
505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
506
|
+
execute_or_queue_command(command, &block)
|
507
|
+
end
|
508
|
+
|
509
|
+
# Lists files.
|
510
|
+
# @param [String] parent
|
511
|
+
# The name of the parent resource whose files will be listed.
|
512
|
+
# @param [String] filter
|
513
|
+
# An expression for filtering the results of the request. Filter rules are case
|
514
|
+
# insensitive. The fields eligible for filtering are: * `name` * `owner` An
|
515
|
+
# example of using a filter: * `name="projects/p1/locations/us-central1/
|
516
|
+
# repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `
|
517
|
+
# owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/
|
518
|
+
# versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
|
519
|
+
# @param [Fixnum] page_size
|
520
|
+
# The maximum number of files to return.
|
521
|
+
# @param [String] page_token
|
522
|
+
# The next_page_token value returned from a previous list request, if any.
|
523
|
+
# @param [String] fields
|
524
|
+
# Selector specifying which fields to include in a partial response.
|
525
|
+
# @param [String] quota_user
|
526
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
527
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
528
|
+
# @param [Google::Apis::RequestOptions] options
|
529
|
+
# Request-specific options
|
530
|
+
#
|
531
|
+
# @yield [result, err] Result & error if block supplied
|
532
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListFilesResponse] parsed result object
|
533
|
+
# @yieldparam err [StandardError] error object if request failed
|
534
|
+
#
|
535
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListFilesResponse]
|
536
|
+
#
|
537
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
538
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
539
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
540
|
+
def list_project_location_repository_files(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
541
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/files', options)
|
542
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListFilesResponse::Representation
|
543
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListFilesResponse
|
544
|
+
command.params['parent'] = parent unless parent.nil?
|
545
|
+
command.query['filter'] = filter unless filter.nil?
|
546
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
547
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
548
|
+
command.query['fields'] = fields unless fields.nil?
|
549
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
550
|
+
execute_or_queue_command(command, &block)
|
551
|
+
end
|
552
|
+
|
553
|
+
# Deletes a package and all of its versions and tags. The returned operation
|
554
|
+
# will complete once the package has been deleted.
|
555
|
+
# @param [String] name
|
556
|
+
# The name of the package to delete.
|
557
|
+
# @param [String] fields
|
558
|
+
# Selector specifying which fields to include in a partial response.
|
559
|
+
# @param [String] quota_user
|
560
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
561
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
562
|
+
# @param [Google::Apis::RequestOptions] options
|
563
|
+
# Request-specific options
|
564
|
+
#
|
565
|
+
# @yield [result, err] Result & error if block supplied
|
566
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
567
|
+
# @yieldparam err [StandardError] error object if request failed
|
568
|
+
#
|
569
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
570
|
+
#
|
571
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
572
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
|
+
def delete_project_location_repository_package(name, fields: nil, quota_user: nil, options: nil, &block)
|
575
|
+
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
576
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
577
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
578
|
+
command.params['name'] = name unless name.nil?
|
579
|
+
command.query['fields'] = fields unless fields.nil?
|
580
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
581
|
+
execute_or_queue_command(command, &block)
|
582
|
+
end
|
583
|
+
|
584
|
+
# Gets a package.
|
585
|
+
# @param [String] name
|
586
|
+
# The name of the package to retrieve.
|
587
|
+
# @param [String] fields
|
588
|
+
# Selector specifying which fields to include in a partial response.
|
589
|
+
# @param [String] quota_user
|
590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
592
|
+
# @param [Google::Apis::RequestOptions] options
|
593
|
+
# Request-specific options
|
594
|
+
#
|
595
|
+
# @yield [result, err] Result & error if block supplied
|
596
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Package] parsed result object
|
597
|
+
# @yieldparam err [StandardError] error object if request failed
|
598
|
+
#
|
599
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Package]
|
600
|
+
#
|
601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
604
|
+
def get_project_location_repository_package(name, fields: nil, quota_user: nil, options: nil, &block)
|
605
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
606
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Package::Representation
|
607
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Package
|
608
|
+
command.params['name'] = name unless name.nil?
|
609
|
+
command.query['fields'] = fields unless fields.nil?
|
610
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
611
|
+
execute_or_queue_command(command, &block)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Lists packages.
|
615
|
+
# @param [String] parent
|
616
|
+
# The name of the parent resource whose packages will be listed.
|
617
|
+
# @param [Fixnum] page_size
|
618
|
+
# The maximum number of packages to return. Maximum page size is 10,000.
|
619
|
+
# @param [String] page_token
|
620
|
+
# The next_page_token value returned from a previous list request, if any.
|
621
|
+
# @param [String] fields
|
622
|
+
# Selector specifying which fields to include in a partial response.
|
623
|
+
# @param [String] quota_user
|
624
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
625
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
626
|
+
# @param [Google::Apis::RequestOptions] options
|
627
|
+
# Request-specific options
|
628
|
+
#
|
629
|
+
# @yield [result, err] Result & error if block supplied
|
630
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListPackagesResponse] parsed result object
|
631
|
+
# @yieldparam err [StandardError] error object if request failed
|
632
|
+
#
|
633
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListPackagesResponse]
|
634
|
+
#
|
635
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
636
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
637
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
638
|
+
def list_project_location_repository_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
639
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/packages', options)
|
640
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListPackagesResponse::Representation
|
641
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListPackagesResponse
|
642
|
+
command.params['parent'] = parent unless parent.nil?
|
643
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
644
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
645
|
+
command.query['fields'] = fields unless fields.nil?
|
646
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
647
|
+
execute_or_queue_command(command, &block)
|
648
|
+
end
|
649
|
+
|
650
|
+
# Creates a tag.
|
651
|
+
# @param [String] parent
|
652
|
+
# The name of the parent resource where the tag will be created.
|
653
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::Tag] tag_object
|
654
|
+
# @param [String] tag_id
|
655
|
+
# The tag id to use for this repository.
|
656
|
+
# @param [String] fields
|
657
|
+
# Selector specifying which fields to include in a partial response.
|
658
|
+
# @param [String] quota_user
|
659
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
660
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
661
|
+
# @param [Google::Apis::RequestOptions] options
|
662
|
+
# Request-specific options
|
663
|
+
#
|
664
|
+
# @yield [result, err] Result & error if block supplied
|
665
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Tag] parsed result object
|
666
|
+
# @yieldparam err [StandardError] error object if request failed
|
667
|
+
#
|
668
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Tag]
|
669
|
+
#
|
670
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
671
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
672
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
673
|
+
def create_project_location_repository_package_tag(parent, tag_object = nil, tag_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
674
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/tags', options)
|
675
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
676
|
+
command.request_object = tag_object
|
677
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
678
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Tag
|
679
|
+
command.params['parent'] = parent unless parent.nil?
|
680
|
+
command.query['tagId'] = tag_id unless tag_id.nil?
|
681
|
+
command.query['fields'] = fields unless fields.nil?
|
682
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
683
|
+
execute_or_queue_command(command, &block)
|
684
|
+
end
|
685
|
+
|
686
|
+
# Deletes a tag.
|
687
|
+
# @param [String] name
|
688
|
+
# The name of the tag to delete.
|
689
|
+
# @param [String] fields
|
690
|
+
# Selector specifying which fields to include in a partial response.
|
691
|
+
# @param [String] quota_user
|
692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
694
|
+
# @param [Google::Apis::RequestOptions] options
|
695
|
+
# Request-specific options
|
696
|
+
#
|
697
|
+
# @yield [result, err] Result & error if block supplied
|
698
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Empty] parsed result object
|
699
|
+
# @yieldparam err [StandardError] error object if request failed
|
700
|
+
#
|
701
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Empty]
|
702
|
+
#
|
703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
706
|
+
def delete_project_location_repository_package_tag(name, fields: nil, quota_user: nil, options: nil, &block)
|
707
|
+
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
708
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Empty::Representation
|
709
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Empty
|
710
|
+
command.params['name'] = name unless name.nil?
|
711
|
+
command.query['fields'] = fields unless fields.nil?
|
712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
713
|
+
execute_or_queue_command(command, &block)
|
714
|
+
end
|
715
|
+
|
716
|
+
# Gets a tag.
|
717
|
+
# @param [String] name
|
718
|
+
# The name of the tag to retrieve.
|
719
|
+
# @param [String] fields
|
720
|
+
# Selector specifying which fields to include in a partial response.
|
721
|
+
# @param [String] quota_user
|
722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
724
|
+
# @param [Google::Apis::RequestOptions] options
|
725
|
+
# Request-specific options
|
726
|
+
#
|
727
|
+
# @yield [result, err] Result & error if block supplied
|
728
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Tag] parsed result object
|
729
|
+
# @yieldparam err [StandardError] error object if request failed
|
730
|
+
#
|
731
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Tag]
|
732
|
+
#
|
733
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
734
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
735
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
736
|
+
def get_project_location_repository_package_tag(name, fields: nil, quota_user: nil, options: nil, &block)
|
737
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
738
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
739
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Tag
|
740
|
+
command.params['name'] = name unless name.nil?
|
741
|
+
command.query['fields'] = fields unless fields.nil?
|
742
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
743
|
+
execute_or_queue_command(command, &block)
|
744
|
+
end
|
745
|
+
|
746
|
+
# Lists tags.
|
747
|
+
# @param [String] parent
|
748
|
+
# The name of the parent resource whose tags will be listed.
|
749
|
+
# @param [String] filter
|
750
|
+
# An expression for filtering the results of the request. Filter rules are case
|
751
|
+
# insensitive. The fields eligible for filtering are: * `version` An example of
|
752
|
+
# using a filter: * `version="projects/p1/locations/us-central1/repositories/
|
753
|
+
# repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1.
|
754
|
+
# 0` in package `pkg1`.
|
755
|
+
# @param [Fixnum] page_size
|
756
|
+
# The maximum number of tags to return. Maximum page size is 10,000.
|
757
|
+
# @param [String] page_token
|
758
|
+
# The next_page_token value returned from a previous list request, if any.
|
759
|
+
# @param [String] fields
|
760
|
+
# Selector specifying which fields to include in a partial response.
|
761
|
+
# @param [String] quota_user
|
762
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
763
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
764
|
+
# @param [Google::Apis::RequestOptions] options
|
765
|
+
# Request-specific options
|
766
|
+
#
|
767
|
+
# @yield [result, err] Result & error if block supplied
|
768
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListTagsResponse] parsed result object
|
769
|
+
# @yieldparam err [StandardError] error object if request failed
|
770
|
+
#
|
771
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListTagsResponse]
|
772
|
+
#
|
773
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
774
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
775
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
776
|
+
def list_project_location_repository_package_tags(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
777
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/tags', options)
|
778
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListTagsResponse::Representation
|
779
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListTagsResponse
|
780
|
+
command.params['parent'] = parent unless parent.nil?
|
781
|
+
command.query['filter'] = filter unless filter.nil?
|
782
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
783
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
784
|
+
command.query['fields'] = fields unless fields.nil?
|
785
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
786
|
+
execute_or_queue_command(command, &block)
|
787
|
+
end
|
788
|
+
|
789
|
+
# Updates a tag.
|
790
|
+
# @param [String] name
|
791
|
+
# The name of the tag, for example: "projects/p1/locations/us-central1/
|
792
|
+
# repositories/repo1/packages/pkg1/tags/tag1".
|
793
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::Tag] tag_object
|
794
|
+
# @param [String] update_mask
|
795
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
796
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
797
|
+
# fieldmask
|
798
|
+
# @param [String] fields
|
799
|
+
# Selector specifying which fields to include in a partial response.
|
800
|
+
# @param [String] quota_user
|
801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
803
|
+
# @param [Google::Apis::RequestOptions] options
|
804
|
+
# Request-specific options
|
805
|
+
#
|
806
|
+
# @yield [result, err] Result & error if block supplied
|
807
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Tag] parsed result object
|
808
|
+
# @yieldparam err [StandardError] error object if request failed
|
809
|
+
#
|
810
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Tag]
|
811
|
+
#
|
812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
814
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
815
|
+
def patch_project_location_repository_package_tag(name, tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
816
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
817
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
818
|
+
command.request_object = tag_object
|
819
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Tag::Representation
|
820
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Tag
|
821
|
+
command.params['name'] = name unless name.nil?
|
822
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
823
|
+
command.query['fields'] = fields unless fields.nil?
|
824
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
825
|
+
execute_or_queue_command(command, &block)
|
826
|
+
end
|
827
|
+
|
828
|
+
# Deletes a version and all of its content. The returned operation will complete
|
829
|
+
# once the version has been deleted.
|
830
|
+
# @param [String] name
|
831
|
+
# The name of the version to delete.
|
832
|
+
# @param [Boolean] force
|
833
|
+
# By default, a version that is tagged may not be deleted. If force=true, the
|
834
|
+
# version and any tags pointing to the version are deleted.
|
835
|
+
# @param [String] fields
|
836
|
+
# Selector specifying which fields to include in a partial response.
|
837
|
+
# @param [String] quota_user
|
838
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
839
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
840
|
+
# @param [Google::Apis::RequestOptions] options
|
841
|
+
# Request-specific options
|
842
|
+
#
|
843
|
+
# @yield [result, err] Result & error if block supplied
|
844
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
845
|
+
# @yieldparam err [StandardError] error object if request failed
|
846
|
+
#
|
847
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
848
|
+
#
|
849
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
850
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
851
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
852
|
+
def delete_project_location_repository_package_version(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
853
|
+
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
|
854
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
855
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
856
|
+
command.params['name'] = name unless name.nil?
|
857
|
+
command.query['force'] = force unless force.nil?
|
858
|
+
command.query['fields'] = fields unless fields.nil?
|
859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
860
|
+
execute_or_queue_command(command, &block)
|
861
|
+
end
|
862
|
+
|
863
|
+
# Gets a version
|
864
|
+
# @param [String] name
|
865
|
+
# The name of the version to retrieve.
|
866
|
+
# @param [String] view
|
867
|
+
# The view that should be returned in the response.
|
868
|
+
# @param [String] fields
|
869
|
+
# Selector specifying which fields to include in a partial response.
|
870
|
+
# @param [String] quota_user
|
871
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
872
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
873
|
+
# @param [Google::Apis::RequestOptions] options
|
874
|
+
# Request-specific options
|
875
|
+
#
|
876
|
+
# @yield [result, err] Result & error if block supplied
|
877
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Version] parsed result object
|
878
|
+
# @yieldparam err [StandardError] error object if request failed
|
879
|
+
#
|
880
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Version]
|
881
|
+
#
|
882
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
883
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
884
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
885
|
+
def get_project_location_repository_package_version(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
886
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
887
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Version::Representation
|
888
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Version
|
889
|
+
command.params['name'] = name unless name.nil?
|
890
|
+
command.query['view'] = view unless view.nil?
|
891
|
+
command.query['fields'] = fields unless fields.nil?
|
892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
893
|
+
execute_or_queue_command(command, &block)
|
894
|
+
end
|
895
|
+
|
896
|
+
# Lists versions.
|
897
|
+
# @param [String] parent
|
898
|
+
# The name of the parent resource whose versions will be listed.
|
899
|
+
# @param [Fixnum] page_size
|
900
|
+
# The maximum number of versions to return. Maximum page size is 10,000.
|
901
|
+
# @param [String] page_token
|
902
|
+
# The next_page_token value returned from a previous list request, if any.
|
903
|
+
# @param [String] view
|
904
|
+
# The view that should be returned in the response.
|
905
|
+
# @param [String] fields
|
906
|
+
# Selector specifying which fields to include in a partial response.
|
907
|
+
# @param [String] quota_user
|
908
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
909
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
910
|
+
# @param [Google::Apis::RequestOptions] options
|
911
|
+
# Request-specific options
|
912
|
+
#
|
913
|
+
# @yield [result, err] Result & error if block supplied
|
914
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListVersionsResponse] parsed result object
|
915
|
+
# @yieldparam err [StandardError] error object if request failed
|
916
|
+
#
|
917
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ListVersionsResponse]
|
918
|
+
#
|
919
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
920
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
921
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
922
|
+
def list_project_location_repository_package_versions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
923
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/versions', options)
|
924
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListVersionsResponse::Representation
|
925
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::ListVersionsResponse
|
926
|
+
command.params['parent'] = parent unless parent.nil?
|
927
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
928
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
929
|
+
command.query['view'] = view unless view.nil?
|
930
|
+
command.query['fields'] = fields unless fields.nil?
|
931
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
932
|
+
execute_or_queue_command(command, &block)
|
933
|
+
end
|
934
|
+
|
935
|
+
protected
|
936
|
+
|
937
|
+
def apply_command_defaults(command)
|
938
|
+
command.query['key'] = key unless key.nil?
|
939
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
940
|
+
end
|
941
|
+
end
|
942
|
+
end
|
943
|
+
end
|
944
|
+
end
|