google-api-client 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -22,6 +22,12 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module StoragetransferV1
|
|
24
24
|
|
|
25
|
+
class UpdateTransferJobRequest
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
class ObjectConditions
|
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
33
|
|
|
@@ -161,9 +167,13 @@ module Google
|
|
|
161
167
|
end
|
|
162
168
|
|
|
163
169
|
class UpdateTransferJobRequest
|
|
164
|
-
|
|
170
|
+
# @private
|
|
171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
172
|
+
property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
165
173
|
|
|
166
|
-
|
|
174
|
+
property :project_id, as: 'projectId'
|
|
175
|
+
property :update_transfer_job_field_mask, as: 'updateTransferJobFieldMask'
|
|
176
|
+
end
|
|
167
177
|
end
|
|
168
178
|
|
|
169
179
|
class ObjectConditions
|
|
@@ -179,27 +189,31 @@ module Google
|
|
|
179
189
|
class Operation
|
|
180
190
|
# @private
|
|
181
191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
182
|
-
property :error, as: 'error', class: Google::Apis::StoragetransferV1::Status, decorator: Google::Apis::StoragetransferV1::Status::Representation
|
|
183
|
-
|
|
184
|
-
hash :metadata, as: 'metadata'
|
|
185
192
|
property :done, as: 'done'
|
|
186
193
|
hash :response, as: 'response'
|
|
187
194
|
property :name, as: 'name'
|
|
195
|
+
property :error, as: 'error', class: Google::Apis::StoragetransferV1::Status, decorator: Google::Apis::StoragetransferV1::Status::Representation
|
|
196
|
+
|
|
197
|
+
hash :metadata, as: 'metadata'
|
|
188
198
|
end
|
|
189
199
|
end
|
|
190
200
|
|
|
191
201
|
class TransferOptions
|
|
192
202
|
# @private
|
|
193
203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
194
|
-
property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer'
|
|
195
204
|
property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink'
|
|
196
205
|
property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink'
|
|
206
|
+
property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer'
|
|
197
207
|
end
|
|
198
208
|
end
|
|
199
209
|
|
|
200
210
|
class TransferSpec
|
|
201
211
|
# @private
|
|
202
212
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
213
|
+
property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
|
214
|
+
|
|
215
|
+
property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
|
|
216
|
+
|
|
203
217
|
property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation
|
|
204
218
|
|
|
205
219
|
property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation
|
|
@@ -208,10 +222,6 @@ module Google
|
|
|
208
222
|
|
|
209
223
|
property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
|
210
224
|
|
|
211
|
-
property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
|
|
212
|
-
|
|
213
|
-
property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
|
|
214
|
-
|
|
215
225
|
end
|
|
216
226
|
end
|
|
217
227
|
|
|
@@ -249,10 +259,10 @@ module Google
|
|
|
249
259
|
class TimeOfDay
|
|
250
260
|
# @private
|
|
251
261
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
252
|
-
property :hours, as: 'hours'
|
|
253
|
-
property :nanos, as: 'nanos'
|
|
254
262
|
property :seconds, as: 'seconds'
|
|
255
263
|
property :minutes, as: 'minutes'
|
|
264
|
+
property :hours, as: 'hours'
|
|
265
|
+
property :nanos, as: 'nanos'
|
|
256
266
|
end
|
|
257
267
|
end
|
|
258
268
|
|
|
@@ -267,7 +277,6 @@ module Google
|
|
|
267
277
|
class TransferJob
|
|
268
278
|
# @private
|
|
269
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
270
|
-
property :description, as: 'description'
|
|
271
280
|
property :creation_time, as: 'creationTime'
|
|
272
281
|
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
|
273
282
|
|
|
@@ -276,20 +285,21 @@ module Google
|
|
|
276
285
|
|
|
277
286
|
property :name, as: 'name'
|
|
278
287
|
property :deletion_time, as: 'deletionTime'
|
|
279
|
-
property :project_id, as: 'projectId'
|
|
280
288
|
property :last_modification_time, as: 'lastModificationTime'
|
|
289
|
+
property :project_id, as: 'projectId'
|
|
290
|
+
property :description, as: 'description'
|
|
281
291
|
end
|
|
282
292
|
end
|
|
283
293
|
|
|
284
294
|
class Schedule
|
|
285
295
|
# @private
|
|
286
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
297
|
+
property :schedule_end_date, as: 'scheduleEndDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation
|
|
298
|
+
|
|
287
299
|
property :start_time_of_day, as: 'startTimeOfDay', class: Google::Apis::StoragetransferV1::TimeOfDay, decorator: Google::Apis::StoragetransferV1::TimeOfDay::Representation
|
|
288
300
|
|
|
289
301
|
property :schedule_start_date, as: 'scheduleStartDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation
|
|
290
302
|
|
|
291
|
-
property :schedule_end_date, as: 'scheduleEndDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation
|
|
292
|
-
|
|
293
303
|
end
|
|
294
304
|
end
|
|
295
305
|
|
|
@@ -305,35 +315,35 @@ module Google
|
|
|
305
315
|
class TransferOperation
|
|
306
316
|
# @private
|
|
307
317
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
308
|
-
property :project_id, as: 'projectId'
|
|
309
|
-
property :end_time, as: 'endTime'
|
|
310
318
|
property :start_time, as: 'startTime'
|
|
311
319
|
property :transfer_job_name, as: 'transferJobName'
|
|
312
320
|
property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
|
|
313
321
|
|
|
314
|
-
property :status, as: 'status'
|
|
315
322
|
property :counters, as: 'counters', class: Google::Apis::StoragetransferV1::TransferCounters, decorator: Google::Apis::StoragetransferV1::TransferCounters::Representation
|
|
316
323
|
|
|
324
|
+
property :status, as: 'status'
|
|
317
325
|
collection :error_breakdowns, as: 'errorBreakdowns', class: Google::Apis::StoragetransferV1::ErrorSummary, decorator: Google::Apis::StoragetransferV1::ErrorSummary::Representation
|
|
318
326
|
|
|
319
327
|
property :name, as: 'name'
|
|
328
|
+
property :project_id, as: 'projectId'
|
|
329
|
+
property :end_time, as: 'endTime'
|
|
320
330
|
end
|
|
321
331
|
end
|
|
322
332
|
|
|
323
333
|
class AwsS3Data
|
|
324
334
|
# @private
|
|
325
335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
326
|
-
property :bucket_name, as: 'bucketName'
|
|
327
336
|
property :aws_access_key, as: 'awsAccessKey', class: Google::Apis::StoragetransferV1::AwsAccessKey, decorator: Google::Apis::StoragetransferV1::AwsAccessKey::Representation
|
|
328
337
|
|
|
338
|
+
property :bucket_name, as: 'bucketName'
|
|
329
339
|
end
|
|
330
340
|
end
|
|
331
341
|
|
|
332
342
|
class AwsAccessKey
|
|
333
343
|
# @private
|
|
334
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
335
|
-
property :access_key_id, as: 'accessKeyId'
|
|
336
345
|
property :secret_access_key, as: 'secretAccessKey'
|
|
346
|
+
property :access_key_id, as: 'accessKeyId'
|
|
337
347
|
end
|
|
338
348
|
end
|
|
339
349
|
|
|
@@ -352,18 +362,18 @@ module Google
|
|
|
352
362
|
class TransferCounters
|
|
353
363
|
# @private
|
|
354
364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
355
|
-
property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink'
|
|
356
365
|
property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink'
|
|
366
|
+
property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink'
|
|
357
367
|
property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
|
|
358
368
|
property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
|
|
359
369
|
property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed'
|
|
360
370
|
property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
|
|
361
371
|
property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
|
|
362
372
|
property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink'
|
|
363
|
-
property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync'
|
|
364
373
|
property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource'
|
|
365
|
-
property :
|
|
374
|
+
property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync'
|
|
366
375
|
property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource'
|
|
376
|
+
property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource'
|
|
367
377
|
property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink'
|
|
368
378
|
property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink'
|
|
369
379
|
property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
|
|
@@ -374,10 +384,10 @@ module Google
|
|
|
374
384
|
class ErrorSummary
|
|
375
385
|
# @private
|
|
376
386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
387
|
+
property :error_code, as: 'errorCode'
|
|
377
388
|
property :error_count, :numeric_string => true, as: 'errorCount'
|
|
378
389
|
collection :error_log_entries, as: 'errorLogEntries', class: Google::Apis::StoragetransferV1::ErrorLogEntry, decorator: Google::Apis::StoragetransferV1::ErrorLogEntry::Representation
|
|
379
390
|
|
|
380
|
-
property :error_code, as: 'errorCode'
|
|
381
391
|
end
|
|
382
392
|
end
|
|
383
393
|
|
|
@@ -403,16 +413,6 @@ module Google
|
|
|
403
413
|
|
|
404
414
|
end
|
|
405
415
|
end
|
|
406
|
-
|
|
407
|
-
class UpdateTransferJobRequest
|
|
408
|
-
# @private
|
|
409
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
410
|
-
property :project_id, as: 'projectId'
|
|
411
|
-
property :update_transfer_job_field_mask, as: 'updateTransferJobFieldMask'
|
|
412
|
-
property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
413
|
-
|
|
414
|
-
end
|
|
415
|
-
end
|
|
416
416
|
end
|
|
417
417
|
end
|
|
418
418
|
end
|
|
@@ -87,6 +87,36 @@ module Google
|
|
|
87
87
|
execute_or_queue_command(command, &block)
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
# Creates a transfer job that runs periodically.
|
|
91
|
+
# @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object
|
|
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 [String] fields
|
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
|
98
|
+
# Request-specific options
|
|
99
|
+
#
|
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
|
101
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object
|
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
103
|
+
#
|
|
104
|
+
# @return [Google::Apis::StoragetransferV1::TransferJob]
|
|
105
|
+
#
|
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
109
|
+
def create_transfer_job(transfer_job_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
110
|
+
command = make_simple_command(:post, 'v1/transferJobs', options)
|
|
111
|
+
command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
112
|
+
command.request_object = transfer_job_object
|
|
113
|
+
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
114
|
+
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
116
|
+
command.query['fields'] = fields unless fields.nil?
|
|
117
|
+
execute_or_queue_command(command, &block)
|
|
118
|
+
end
|
|
119
|
+
|
|
90
120
|
# Updates a transfer job. Updating a job's transfer spec does not affect
|
|
91
121
|
# transfer operations that are running already. Updating the scheduling
|
|
92
122
|
# of a job is not allowed.
|
|
@@ -159,10 +189,6 @@ module Google
|
|
|
159
189
|
end
|
|
160
190
|
|
|
161
191
|
# Lists transfer jobs.
|
|
162
|
-
# @param [String] page_token
|
|
163
|
-
# The list page token.
|
|
164
|
-
# @param [Fixnum] page_size
|
|
165
|
-
# The list page size. The max allowed value is 256.
|
|
166
192
|
# @param [String] filter
|
|
167
193
|
# A list of query parameters specified as JSON text in the form of
|
|
168
194
|
# `"project_id":"my_project_id",
|
|
@@ -172,6 +198,10 @@ module Google
|
|
|
172
198
|
# must be specified with array notation. `project_id` is required. `job_names`
|
|
173
199
|
# and `job_statuses` are optional. The valid values for `job_statuses` are
|
|
174
200
|
# case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
|
|
201
|
+
# @param [String] page_token
|
|
202
|
+
# The list page token.
|
|
203
|
+
# @param [Fixnum] page_size
|
|
204
|
+
# The list page size. The max allowed value is 256.
|
|
175
205
|
# @param [String] quota_user
|
|
176
206
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
177
207
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -189,77 +219,13 @@ module Google
|
|
|
189
219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
190
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
191
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
192
|
-
def list_transfer_jobs(
|
|
222
|
+
def list_transfer_jobs(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
193
223
|
command = make_simple_command(:get, 'v1/transferJobs', options)
|
|
194
224
|
command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation
|
|
195
225
|
command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse
|
|
226
|
+
command.query['filter'] = filter unless filter.nil?
|
|
196
227
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
197
228
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
198
|
-
command.query['filter'] = filter unless filter.nil?
|
|
199
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
200
|
-
command.query['fields'] = fields unless fields.nil?
|
|
201
|
-
execute_or_queue_command(command, &block)
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
# Creates a transfer job that runs periodically.
|
|
205
|
-
# @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object
|
|
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 [String] fields
|
|
210
|
-
# Selector specifying which fields to include in a partial response.
|
|
211
|
-
# @param [Google::Apis::RequestOptions] options
|
|
212
|
-
# Request-specific options
|
|
213
|
-
#
|
|
214
|
-
# @yield [result, err] Result & error if block supplied
|
|
215
|
-
# @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object
|
|
216
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
217
|
-
#
|
|
218
|
-
# @return [Google::Apis::StoragetransferV1::TransferJob]
|
|
219
|
-
#
|
|
220
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
221
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
222
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
223
|
-
def create_transfer_job(transfer_job_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
224
|
-
command = make_simple_command(:post, 'v1/transferJobs', options)
|
|
225
|
-
command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
226
|
-
command.request_object = transfer_job_object
|
|
227
|
-
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
|
228
|
-
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
|
229
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
230
|
-
command.query['fields'] = fields unless fields.nil?
|
|
231
|
-
execute_or_queue_command(command, &block)
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
# Pauses a transfer operation.
|
|
235
|
-
# @param [String] name
|
|
236
|
-
# The name of the transfer operation.
|
|
237
|
-
# Required.
|
|
238
|
-
# @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
|
|
239
|
-
# @param [String] quota_user
|
|
240
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
241
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
242
|
-
# @param [String] fields
|
|
243
|
-
# Selector specifying which fields to include in a partial response.
|
|
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::StoragetransferV1::Empty] parsed result object
|
|
249
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
250
|
-
#
|
|
251
|
-
# @return [Google::Apis::StoragetransferV1::Empty]
|
|
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 pause_transfer_operation(name, pause_transfer_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
257
|
-
command = make_simple_command(:post, 'v1/{+name}:pause', options)
|
|
258
|
-
command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation
|
|
259
|
-
command.request_object = pause_transfer_operation_request_object
|
|
260
|
-
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
|
261
|
-
command.response_class = Google::Apis::StoragetransferV1::Empty
|
|
262
|
-
command.params['name'] = name unless name.nil?
|
|
263
229
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
264
230
|
command.query['fields'] = fields unless fields.nil?
|
|
265
231
|
execute_or_queue_command(command, &block)
|
|
@@ -443,6 +409,40 @@ module Google
|
|
|
443
409
|
command.query['fields'] = fields unless fields.nil?
|
|
444
410
|
execute_or_queue_command(command, &block)
|
|
445
411
|
end
|
|
412
|
+
|
|
413
|
+
# Pauses a transfer operation.
|
|
414
|
+
# @param [String] name
|
|
415
|
+
# The name of the transfer operation.
|
|
416
|
+
# Required.
|
|
417
|
+
# @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
|
|
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 [String] fields
|
|
422
|
+
# Selector specifying which fields to include in a partial response.
|
|
423
|
+
# @param [Google::Apis::RequestOptions] options
|
|
424
|
+
# Request-specific options
|
|
425
|
+
#
|
|
426
|
+
# @yield [result, err] Result & error if block supplied
|
|
427
|
+
# @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
|
|
428
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
429
|
+
#
|
|
430
|
+
# @return [Google::Apis::StoragetransferV1::Empty]
|
|
431
|
+
#
|
|
432
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
433
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
434
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
435
|
+
def pause_transfer_operation(name, pause_transfer_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
436
|
+
command = make_simple_command(:post, 'v1/{+name}:pause', options)
|
|
437
|
+
command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation
|
|
438
|
+
command.request_object = pause_transfer_operation_request_object
|
|
439
|
+
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
|
440
|
+
command.response_class = Google::Apis::StoragetransferV1::Empty
|
|
441
|
+
command.params['name'] = name unless name.nil?
|
|
442
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
443
|
+
command.query['fields'] = fields unless fields.nil?
|
|
444
|
+
execute_or_queue_command(command, &block)
|
|
445
|
+
end
|
|
446
446
|
|
|
447
447
|
protected
|
|
448
448
|
|
|
@@ -187,7 +187,7 @@ module Google
|
|
|
187
187
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
188
188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
189
189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
190
|
-
def
|
|
190
|
+
def create_container(account_id, container_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
191
191
|
command = make_simple_command(:post, 'accounts/{accountId}/containers', options)
|
|
192
192
|
command.request_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
193
193
|
command.request_object = container_object
|
|
@@ -226,7 +226,7 @@ module Google
|
|
|
226
226
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
227
227
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
228
228
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
229
|
-
def
|
|
229
|
+
def delete_container(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
230
230
|
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}', options)
|
|
231
231
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
232
232
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
@@ -262,7 +262,7 @@ module Google
|
|
|
262
262
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
263
263
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
264
264
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
265
|
-
def
|
|
265
|
+
def get_container(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
266
266
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}', options)
|
|
267
267
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
268
268
|
command.response_class = Google::Apis::TagmanagerV1::Container
|
|
@@ -298,7 +298,7 @@ module Google
|
|
|
298
298
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
299
299
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
300
300
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
301
|
-
def
|
|
301
|
+
def list_containers(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
302
302
|
command = make_simple_command(:get, 'accounts/{accountId}/containers', options)
|
|
303
303
|
command.response_representation = Google::Apis::TagmanagerV1::ListContainersResponse::Representation
|
|
304
304
|
command.response_class = Google::Apis::TagmanagerV1::ListContainersResponse
|
|
@@ -339,7 +339,7 @@ module Google
|
|
|
339
339
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
340
340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
341
341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
342
|
-
def
|
|
342
|
+
def update_container(account_id, container_id, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
343
343
|
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}', options)
|
|
344
344
|
command.request_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
345
345
|
command.request_object = container_object
|
|
@@ -979,7 +979,7 @@ module Google
|
|
|
979
979
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
980
980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
981
981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
982
|
-
def
|
|
982
|
+
def create_tag(account_id, container_id, tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
983
983
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/tags', options)
|
|
984
984
|
command.request_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
985
985
|
command.request_object = tag_object
|
|
@@ -1021,7 +1021,7 @@ module Google
|
|
|
1021
1021
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1022
1022
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1023
1023
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1024
|
-
def
|
|
1024
|
+
def delete_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1025
1025
|
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
1026
1026
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1027
1027
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
@@ -1060,7 +1060,7 @@ module Google
|
|
|
1060
1060
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1061
1061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1062
1062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1063
|
-
def
|
|
1063
|
+
def get_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1064
1064
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
1065
1065
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
1066
1066
|
command.response_class = Google::Apis::TagmanagerV1::Tag
|
|
@@ -1099,7 +1099,7 @@ module Google
|
|
|
1099
1099
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1100
1100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1101
1101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1102
|
-
def
|
|
1102
|
+
def list_tags(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1103
1103
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/tags', options)
|
|
1104
1104
|
command.response_representation = Google::Apis::TagmanagerV1::ListTagsResponse::Representation
|
|
1105
1105
|
command.response_class = Google::Apis::TagmanagerV1::ListTagsResponse
|
|
@@ -1143,7 +1143,7 @@ module Google
|
|
|
1143
1143
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1144
1144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1145
1145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1146
|
-
def
|
|
1146
|
+
def update_tag(account_id, container_id, tag_id, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1147
1147
|
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
1148
1148
|
command.request_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
1149
1149
|
command.request_object = tag_object
|
|
@@ -1186,7 +1186,7 @@ module Google
|
|
|
1186
1186
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1187
1187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1188
1188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1189
|
-
def
|
|
1189
|
+
def create_trigger(account_id, container_id, trigger_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1190
1190
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/triggers', options)
|
|
1191
1191
|
command.request_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
1192
1192
|
command.request_object = trigger_object
|
|
@@ -1228,7 +1228,7 @@ module Google
|
|
|
1228
1228
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1229
1229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1230
1230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1231
|
-
def
|
|
1231
|
+
def delete_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1232
1232
|
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1233
1233
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1234
1234
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
@@ -1267,7 +1267,7 @@ module Google
|
|
|
1267
1267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1268
1268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1269
1269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1270
|
-
def
|
|
1270
|
+
def get_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1271
1271
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1272
1272
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
1273
1273
|
command.response_class = Google::Apis::TagmanagerV1::Trigger
|
|
@@ -1306,7 +1306,7 @@ module Google
|
|
|
1306
1306
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1307
1307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1308
1308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1309
|
-
def
|
|
1309
|
+
def list_triggers(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1310
1310
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/triggers', options)
|
|
1311
1311
|
command.response_representation = Google::Apis::TagmanagerV1::ListTriggersResponse::Representation
|
|
1312
1312
|
command.response_class = Google::Apis::TagmanagerV1::ListTriggersResponse
|
|
@@ -1350,7 +1350,7 @@ module Google
|
|
|
1350
1350
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1351
1351
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1352
1352
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1353
|
-
def
|
|
1353
|
+
def update_trigger(account_id, container_id, trigger_id, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1354
1354
|
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1355
1355
|
command.request_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
1356
1356
|
command.request_object = trigger_object
|
|
@@ -1393,7 +1393,7 @@ module Google
|
|
|
1393
1393
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1394
1394
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1395
1395
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1396
|
-
def
|
|
1396
|
+
def create_variable(account_id, container_id, variable_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1397
1397
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/variables', options)
|
|
1398
1398
|
command.request_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
1399
1399
|
command.request_object = variable_object
|
|
@@ -1435,7 +1435,7 @@ module Google
|
|
|
1435
1435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1436
1436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1437
1437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1438
|
-
def
|
|
1438
|
+
def delete_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1439
1439
|
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1440
1440
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1441
1441
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
@@ -1474,7 +1474,7 @@ module Google
|
|
|
1474
1474
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1475
1475
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1476
1476
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1477
|
-
def
|
|
1477
|
+
def get_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1478
1478
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1479
1479
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
1480
1480
|
command.response_class = Google::Apis::TagmanagerV1::Variable
|
|
@@ -1513,7 +1513,7 @@ module Google
|
|
|
1513
1513
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1514
1514
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1515
1515
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1516
|
-
def
|
|
1516
|
+
def list_variables(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1517
1517
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/variables', options)
|
|
1518
1518
|
command.response_representation = Google::Apis::TagmanagerV1::ListVariablesResponse::Representation
|
|
1519
1519
|
command.response_class = Google::Apis::TagmanagerV1::ListVariablesResponse
|
|
@@ -1557,7 +1557,7 @@ module Google
|
|
|
1557
1557
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1558
1558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1559
1559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1560
|
-
def
|
|
1560
|
+
def update_variable(account_id, container_id, variable_id, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1561
1561
|
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1562
1562
|
command.request_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
1563
1563
|
command.request_object = variable_object
|
|
@@ -1600,7 +1600,7 @@ module Google
|
|
|
1600
1600
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1601
1601
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1602
1602
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1603
|
-
def
|
|
1603
|
+
def create_version(account_id, container_id, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1604
1604
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions', options)
|
|
1605
1605
|
command.request_representation = Google::Apis::TagmanagerV1::CreateContainerVersionRequestVersionOptions::Representation
|
|
1606
1606
|
command.request_object = create_container_version_request_version_options_object
|
|
@@ -1642,7 +1642,7 @@ module Google
|
|
|
1642
1642
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1643
1643
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1644
1644
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1645
|
-
def
|
|
1645
|
+
def delete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1646
1646
|
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1647
1647
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1648
1648
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
@@ -1682,7 +1682,7 @@ module Google
|
|
|
1682
1682
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1683
1683
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1684
1684
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1685
|
-
def
|
|
1685
|
+
def get_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1686
1686
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1687
1687
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1688
1688
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
|
@@ -1725,7 +1725,7 @@ module Google
|
|
|
1725
1725
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1726
1726
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1727
1727
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1728
|
-
def
|
|
1728
|
+
def list_versions(account_id, container_id, headers: nil, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1729
1729
|
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/versions', options)
|
|
1730
1730
|
command.response_representation = Google::Apis::TagmanagerV1::ListContainerVersionsResponse::Representation
|
|
1731
1731
|
command.response_class = Google::Apis::TagmanagerV1::ListContainerVersionsResponse
|
|
@@ -1770,7 +1770,7 @@ module Google
|
|
|
1770
1770
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1771
1771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1772
1772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1773
|
-
def
|
|
1773
|
+
def publish_version(account_id, container_id, container_version_id, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1774
1774
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', options)
|
|
1775
1775
|
command.response_representation = Google::Apis::TagmanagerV1::PublishContainerVersionResponse::Representation
|
|
1776
1776
|
command.response_class = Google::Apis::TagmanagerV1::PublishContainerVersionResponse
|
|
@@ -1815,7 +1815,7 @@ module Google
|
|
|
1815
1815
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1816
1816
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1817
1817
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1818
|
-
def
|
|
1818
|
+
def restore_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1819
1819
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', options)
|
|
1820
1820
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1821
1821
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
|
@@ -1856,7 +1856,7 @@ module Google
|
|
|
1856
1856
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1857
1857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1858
1858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1859
|
-
def
|
|
1859
|
+
def undelete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1860
1860
|
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', options)
|
|
1861
1861
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1862
1862
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
|
@@ -1901,7 +1901,7 @@ module Google
|
|
|
1901
1901
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1902
1902
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1903
1903
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1904
|
-
def
|
|
1904
|
+
def update_version(account_id, container_id, container_version_id, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1905
1905
|
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1906
1906
|
command.request_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1907
1907
|
command.request_object = container_version_object
|
|
@@ -1942,7 +1942,7 @@ module Google
|
|
|
1942
1942
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1943
1943
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1944
1944
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1945
|
-
def
|
|
1945
|
+
def create_permission(account_id, user_access_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1946
1946
|
command = make_simple_command(:post, 'accounts/{accountId}/permissions', options)
|
|
1947
1947
|
command.request_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
1948
1948
|
command.request_object = user_access_object
|
|
@@ -1982,7 +1982,7 @@ module Google
|
|
|
1982
1982
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1983
1983
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1984
1984
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1985
|
-
def
|
|
1985
|
+
def delete_permission(account_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1986
1986
|
command = make_simple_command(:delete, 'accounts/{accountId}/permissions/{permissionId}', options)
|
|
1987
1987
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1988
1988
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
|
@@ -2018,7 +2018,7 @@ module Google
|
|
|
2018
2018
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2019
2019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2020
2020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2021
|
-
def
|
|
2021
|
+
def get_permission(account_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2022
2022
|
command = make_simple_command(:get, 'accounts/{accountId}/permissions/{permissionId}', options)
|
|
2023
2023
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
2024
2024
|
command.response_class = Google::Apis::TagmanagerV1::UserAccess
|
|
@@ -2055,7 +2055,7 @@ module Google
|
|
|
2055
2055
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2056
2056
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2057
2057
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2058
|
-
def
|
|
2058
|
+
def list_permissions(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2059
2059
|
command = make_simple_command(:get, 'accounts/{accountId}/permissions', options)
|
|
2060
2060
|
command.response_representation = Google::Apis::TagmanagerV1::ListAccountUsersResponse::Representation
|
|
2061
2061
|
command.response_class = Google::Apis::TagmanagerV1::ListAccountUsersResponse
|
|
@@ -2093,7 +2093,7 @@ module Google
|
|
|
2093
2093
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2094
2094
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2095
2095
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2096
|
-
def
|
|
2096
|
+
def update_permission(account_id, permission_id, user_access_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2097
2097
|
command = make_simple_command(:put, 'accounts/{accountId}/permissions/{permissionId}', options)
|
|
2098
2098
|
command.request_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
2099
2099
|
command.request_object = user_access_object
|