google-api-client 0.29.1 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +102 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/service.rb +37 -37
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- 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 +14 -14
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +15 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
80
|
def delete_bucket_access_control(bucket, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
81
|
-
command =
|
81
|
+
command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options)
|
82
82
|
command.params['bucket'] = bucket unless bucket.nil?
|
83
83
|
command.params['entity'] = entity unless entity.nil?
|
84
84
|
command.query['fields'] = fields unless fields.nil?
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
115
|
def get_bucket_access_control(bucket, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
116
|
-
command =
|
116
|
+
command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options)
|
117
117
|
command.response_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
118
118
|
command.response_class = Google::Apis::StorageV1beta2::BucketAccessControl
|
119
119
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -148,7 +148,7 @@ module Google
|
|
148
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
150
|
def insert_bucket_access_control(bucket, bucket_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
151
|
-
command =
|
151
|
+
command = make_simple_command(:post, 'b/{bucket}/acl', options)
|
152
152
|
command.request_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
153
153
|
command.request_object = bucket_access_control_object
|
154
154
|
command.response_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
@@ -183,7 +183,7 @@ module Google
|
|
183
183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
185
|
def list_bucket_access_controls(bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
186
|
-
command =
|
186
|
+
command = make_simple_command(:get, 'b/{bucket}/acl', options)
|
187
187
|
command.response_representation = Google::Apis::StorageV1beta2::BucketAccessControls::Representation
|
188
188
|
command.response_class = Google::Apis::StorageV1beta2::BucketAccessControls
|
189
189
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -221,7 +221,7 @@ module Google
|
|
221
221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
222
222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
223
223
|
def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
224
|
-
command =
|
224
|
+
command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options)
|
225
225
|
command.request_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
226
226
|
command.request_object = bucket_access_control_object
|
227
227
|
command.response_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
@@ -261,7 +261,7 @@ module Google
|
|
261
261
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
262
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
263
|
def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
264
|
-
command =
|
264
|
+
command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options)
|
265
265
|
command.request_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
266
266
|
command.request_object = bucket_access_control_object
|
267
267
|
command.response_representation = Google::Apis::StorageV1beta2::BucketAccessControl::Representation
|
@@ -303,7 +303,7 @@ module Google
|
|
303
303
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
304
304
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
305
305
|
def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
306
|
-
command =
|
306
|
+
command = make_simple_command(:delete, 'b/{bucket}', options)
|
307
307
|
command.params['bucket'] = bucket unless bucket.nil?
|
308
308
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
309
309
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
@@ -344,7 +344,7 @@ module Google
|
|
344
344
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
345
345
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
346
346
|
def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
347
|
-
command =
|
347
|
+
command = make_simple_command(:get, 'b/{bucket}', options)
|
348
348
|
command.response_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
349
349
|
command.response_class = Google::Apis::StorageV1beta2::Bucket
|
350
350
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -384,7 +384,7 @@ module Google
|
|
384
384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
385
385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
386
386
|
def insert_bucket(project, bucket_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
387
|
-
command =
|
387
|
+
command = make_simple_command(:post, 'b', options)
|
388
388
|
command.request_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
389
389
|
command.request_object = bucket_object
|
390
390
|
command.response_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
428
428
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
429
429
|
def list_buckets(project, max_results: nil, page_token: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
430
|
-
command =
|
430
|
+
command = make_simple_command(:get, 'b', options)
|
431
431
|
command.response_representation = Google::Apis::StorageV1beta2::Buckets::Representation
|
432
432
|
command.response_class = Google::Apis::StorageV1beta2::Buckets
|
433
433
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -472,7 +472,7 @@ module Google
|
|
472
472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
474
|
def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
475
|
-
command =
|
475
|
+
command = make_simple_command(:patch, 'b/{bucket}', options)
|
476
476
|
command.request_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
477
477
|
command.request_object = bucket_object
|
478
478
|
command.response_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
@@ -519,7 +519,7 @@ module Google
|
|
519
519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
520
520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
521
521
|
def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
522
|
-
command =
|
522
|
+
command = make_simple_command(:put, 'b/{bucket}', options)
|
523
523
|
command.request_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
524
524
|
command.request_object = bucket_object
|
525
525
|
command.response_representation = Google::Apis::StorageV1beta2::Bucket::Representation
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
558
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
559
|
-
command =
|
559
|
+
command = make_simple_command(:post, 'channels/stop', options)
|
560
560
|
command.request_representation = Google::Apis::StorageV1beta2::Channel::Representation
|
561
561
|
command.request_object = channel_object
|
562
562
|
command.query['fields'] = fields unless fields.nil?
|
@@ -592,7 +592,7 @@ module Google
|
|
592
592
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
593
593
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
594
594
|
def delete_default_object_access_control(bucket, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
595
|
-
command =
|
595
|
+
command = make_simple_command(:delete, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
596
596
|
command.params['bucket'] = bucket unless bucket.nil?
|
597
597
|
command.params['entity'] = entity unless entity.nil?
|
598
598
|
command.query['fields'] = fields unless fields.nil?
|
@@ -628,7 +628,7 @@ module Google
|
|
628
628
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
629
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
630
|
def get_default_object_access_control(bucket, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
631
|
-
command =
|
631
|
+
command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
632
632
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
633
633
|
command.response_class = Google::Apis::StorageV1beta2::ObjectAccessControl
|
634
634
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -663,7 +663,7 @@ module Google
|
|
663
663
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
664
664
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
665
665
|
def insert_default_object_access_control(bucket, object_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
666
|
-
command =
|
666
|
+
command = make_simple_command(:post, 'b/{bucket}/defaultObjectAcl', options)
|
667
667
|
command.request_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
668
668
|
command.request_object = object_access_control_object
|
669
669
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
@@ -704,7 +704,7 @@ module Google
|
|
704
704
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
705
705
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
706
706
|
def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
707
|
-
command =
|
707
|
+
command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl', options)
|
708
708
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControls::Representation
|
709
709
|
command.response_class = Google::Apis::StorageV1beta2::ObjectAccessControls
|
710
710
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -744,7 +744,7 @@ module Google
|
|
744
744
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
745
745
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
746
746
|
def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
747
|
-
command =
|
747
|
+
command = make_simple_command(:patch, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
748
748
|
command.request_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
749
749
|
command.request_object = object_access_control_object
|
750
750
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
@@ -784,7 +784,7 @@ module Google
|
|
784
784
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
785
785
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
786
786
|
def update_default_object_access_control(bucket, entity, object_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
787
|
-
command =
|
787
|
+
command = make_simple_command(:put, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
788
788
|
command.request_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
789
789
|
command.request_object = object_access_control_object
|
790
790
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
@@ -829,7 +829,7 @@ module Google
|
|
829
829
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
830
830
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
831
831
|
def delete_object_access_control(bucket, object, entity, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
832
|
-
command =
|
832
|
+
command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
833
833
|
command.params['bucket'] = bucket unless bucket.nil?
|
834
834
|
command.params['object'] = object unless object.nil?
|
835
835
|
command.params['entity'] = entity unless entity.nil?
|
@@ -871,7 +871,7 @@ module Google
|
|
871
871
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
872
872
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
873
873
|
def get_object_access_control(bucket, object, entity, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
874
|
-
command =
|
874
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
875
875
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
876
876
|
command.response_class = Google::Apis::StorageV1beta2::ObjectAccessControl
|
877
877
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -913,7 +913,7 @@ module Google
|
|
913
913
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
914
914
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
915
915
|
def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
916
|
-
command =
|
916
|
+
command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options)
|
917
917
|
command.request_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
918
918
|
command.request_object = object_access_control_object
|
919
919
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
@@ -955,7 +955,7 @@ module Google
|
|
955
955
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
956
956
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
957
957
|
def list_object_access_controls(bucket, object, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
958
|
-
command =
|
958
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options)
|
959
959
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControls::Representation
|
960
960
|
command.response_class = Google::Apis::StorageV1beta2::ObjectAccessControls
|
961
961
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1000,7 +1000,7 @@ module Google
|
|
1000
1000
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1001
1001
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1002
1002
|
def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1003
|
-
command =
|
1003
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
1004
1004
|
command.request_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
1005
1005
|
command.request_object = object_access_control_object
|
1006
1006
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
@@ -1047,7 +1047,7 @@ module Google
|
|
1047
1047
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1048
1048
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1049
1049
|
def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1050
|
-
command =
|
1050
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
1051
1051
|
command.request_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
1052
1052
|
command.request_object = object_access_control_object
|
1053
1053
|
command.response_representation = Google::Apis::StorageV1beta2::ObjectAccessControl::Representation
|
@@ -1098,7 +1098,7 @@ module Google
|
|
1098
1098
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1099
1099
|
def compose_object(destination_bucket, destination_object, compose_request_object = nil, if_generation_match: nil, if_metageneration_match: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1100
1100
|
if download_dest.nil?
|
1101
|
-
command =
|
1101
|
+
command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
|
1102
1102
|
else
|
1103
1103
|
command = make_download_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
|
1104
1104
|
command.download_dest = download_dest
|
@@ -1183,7 +1183,7 @@ module Google
|
|
1183
1183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1184
1184
|
def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, source_generation: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1185
1185
|
if download_dest.nil?
|
1186
|
-
command =
|
1186
|
+
command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
|
1187
1187
|
else
|
1188
1188
|
command = make_download_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
|
1189
1189
|
command.download_dest = download_dest
|
@@ -1254,7 +1254,7 @@ module Google
|
|
1254
1254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1255
1255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1256
1256
|
def delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1257
|
-
command =
|
1257
|
+
command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options)
|
1258
1258
|
command.params['bucket'] = bucket unless bucket.nil?
|
1259
1259
|
command.params['object'] = object unless object.nil?
|
1260
1260
|
command.query['generation'] = generation unless generation.nil?
|
@@ -1313,7 +1313,7 @@ module Google
|
|
1313
1313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1314
1314
|
def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1315
1315
|
if download_dest.nil?
|
1316
|
-
command =
|
1316
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
|
1317
1317
|
else
|
1318
1318
|
command = make_download_command(:get, 'b/{bucket}/o/{object}', options)
|
1319
1319
|
command.download_dest = download_dest
|
@@ -1382,7 +1382,7 @@ module Google
|
|
1382
1382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1383
1383
|
def insert_object(bucket, object_object = nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, name: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1384
1384
|
if upload_source.nil?
|
1385
|
-
command =
|
1385
|
+
command = make_simple_command(:post, 'b/{bucket}/o', options)
|
1386
1386
|
else
|
1387
1387
|
command = make_upload_command(:post, 'b/{bucket}/o', options)
|
1388
1388
|
command.upload_source = upload_source
|
@@ -1446,7 +1446,7 @@ module Google
|
|
1446
1446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1447
1447
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1448
1448
|
def list_objects(bucket, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1449
|
-
command =
|
1449
|
+
command = make_simple_command(:get, 'b/{bucket}/o', options)
|
1450
1450
|
command.response_representation = Google::Apis::StorageV1beta2::Objects::Representation
|
1451
1451
|
command.response_class = Google::Apis::StorageV1beta2::Objects
|
1452
1452
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1506,7 +1506,7 @@ module Google
|
|
1506
1506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1507
1507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1508
1508
|
def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1509
|
-
command =
|
1509
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
|
1510
1510
|
command.request_representation = Google::Apis::StorageV1beta2::Object::Representation
|
1511
1511
|
command.request_object = object_object
|
1512
1512
|
command.response_representation = Google::Apis::StorageV1beta2::Object::Representation
|
@@ -1571,7 +1571,7 @@ module Google
|
|
1571
1571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1572
1572
|
def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1573
1573
|
if download_dest.nil?
|
1574
|
-
command =
|
1574
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
|
1575
1575
|
else
|
1576
1576
|
command = make_download_command(:put, 'b/{bucket}/o/{object}', options)
|
1577
1577
|
command.download_dest = download_dest
|
@@ -1636,7 +1636,7 @@ module Google
|
|
1636
1636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1637
1637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1638
1638
|
def watch_object_all(bucket, channel_object = nil, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1639
|
-
command =
|
1639
|
+
command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
|
1640
1640
|
command.request_representation = Google::Apis::StorageV1beta2::Channel::Representation
|
1641
1641
|
command.request_object = channel_object
|
1642
1642
|
command.response_representation = Google::Apis::StorageV1beta2::Channel::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/storage-transfer/docs
|
27
27
|
module StoragetransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190513'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -29,14 +29,13 @@ module Google
|
|
29
29
|
class AwsAccessKey
|
30
30
|
include Google::Apis::Core::Hashable
|
31
31
|
|
32
|
-
# AWS access key ID.
|
33
|
-
# Required.
|
32
|
+
# Required. AWS access key ID.
|
34
33
|
# Corresponds to the JSON property `accessKeyId`
|
35
34
|
# @return [String]
|
36
35
|
attr_accessor :access_key_id
|
37
36
|
|
38
|
-
# AWS secret access key. This field is not returned in RPC
|
39
|
-
#
|
37
|
+
# Required. AWS secret access key. This field is not returned in RPC
|
38
|
+
# responses.
|
40
39
|
# Corresponds to the JSON property `secretAccessKey`
|
41
40
|
# @return [String]
|
42
41
|
attr_accessor :secret_access_key
|
@@ -65,11 +64,10 @@ module Google
|
|
65
64
|
# @return [Google::Apis::StoragetransferV1::AwsAccessKey]
|
66
65
|
attr_accessor :aws_access_key
|
67
66
|
|
68
|
-
# S3 Bucket name (see
|
67
|
+
# Required. S3 Bucket name (see
|
69
68
|
# [Creating a
|
70
69
|
# bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-
|
71
70
|
# location-example.html)).
|
72
|
-
# Required.
|
73
71
|
# Corresponds to the JSON property `bucketName`
|
74
72
|
# @return [String]
|
75
73
|
attr_accessor :bucket_name
|
@@ -155,9 +153,8 @@ module Google
|
|
155
153
|
# @return [Array<String>]
|
156
154
|
attr_accessor :error_details
|
157
155
|
|
158
|
-
# A URL that refers to the target (a data source, a data sink,
|
156
|
+
# Required. A URL that refers to the target (a data source, a data sink,
|
159
157
|
# or an object) with which the error is associated.
|
160
|
-
# Required.
|
161
158
|
# Corresponds to the JSON property `url`
|
162
159
|
# @return [String]
|
163
160
|
attr_accessor :url
|
@@ -183,8 +180,7 @@ module Google
|
|
183
180
|
# @return [String]
|
184
181
|
attr_accessor :error_code
|
185
182
|
|
186
|
-
# Count of this type of error.
|
187
|
-
# Required.
|
183
|
+
# Required. Count of this type of error.
|
188
184
|
# Corresponds to the JSON property `errorCount`
|
189
185
|
# @return [Fixnum]
|
190
186
|
attr_accessor :error_count
|
@@ -214,10 +210,9 @@ module Google
|
|
214
210
|
class GcsData
|
215
211
|
include Google::Apis::Core::Hashable
|
216
212
|
|
217
|
-
# Google Cloud Storage bucket name (see
|
213
|
+
# Required. Google Cloud Storage bucket name (see
|
218
214
|
# [Bucket Name
|
219
215
|
# Requirements](https://cloud.google.com/storage/docs/naming#requirements)).
|
220
|
-
# Required.
|
221
216
|
# Corresponds to the JSON property `bucketName`
|
222
217
|
# @return [String]
|
223
218
|
attr_accessor :bucket_name
|
@@ -236,7 +231,7 @@ module Google
|
|
236
231
|
class GoogleServiceAccount
|
237
232
|
include Google::Apis::Core::Hashable
|
238
233
|
|
239
|
-
#
|
234
|
+
# Email address of the service account.
|
240
235
|
# Corresponds to the JSON property `accountEmail`
|
241
236
|
# @return [String]
|
242
237
|
attr_accessor :account_email
|
@@ -285,10 +280,9 @@ module Google
|
|
285
280
|
class HttpData
|
286
281
|
include Google::Apis::Core::Hashable
|
287
282
|
|
288
|
-
# The URL that points to the file that stores the object list
|
289
|
-
# This file must allow public access. Currently, only URLs with
|
290
|
-
# HTTPS schemes are supported.
|
291
|
-
# Required.
|
283
|
+
# Required. The URL that points to the file that stores the object list
|
284
|
+
# entries. This file must allow public access. Currently, only URLs with
|
285
|
+
# HTTP and HTTPS schemes are supported.
|
292
286
|
# Corresponds to the JSON property `listUrl`
|
293
287
|
# @return [String]
|
294
288
|
attr_accessor :list_url
|
@@ -929,7 +923,6 @@ module Google
|
|
929
923
|
attr_accessor :name
|
930
924
|
|
931
925
|
# The ID of the Google Cloud Platform Project that owns the operation.
|
932
|
-
# Required.
|
933
926
|
# Corresponds to the JSON property `projectId`
|
934
927
|
# @return [String]
|
935
928
|
attr_accessor :project_id
|
@@ -1101,8 +1094,8 @@ module Google
|
|
1101
1094
|
class UpdateTransferJobRequest
|
1102
1095
|
include Google::Apis::Core::Hashable
|
1103
1096
|
|
1104
|
-
# The ID of the Google Cloud Platform Console project that owns the
|
1105
|
-
#
|
1097
|
+
# Required. The ID of the Google Cloud Platform Console project that owns the
|
1098
|
+
# job.
|
1106
1099
|
# Corresponds to the JSON property `projectId`
|
1107
1100
|
# @return [String]
|
1108
1101
|
attr_accessor :project_id
|
@@ -57,9 +57,8 @@ module Google
|
|
57
57
|
# account is created and owned by Storage Transfer Service and can
|
58
58
|
# only be used by Storage Transfer Service.
|
59
59
|
# @param [String] project_id
|
60
|
-
# The ID of the Google Cloud Platform Console project that the
|
61
|
-
# account is associated with.
|
62
|
-
# Required.
|
60
|
+
# Required. The ID of the Google Cloud Platform Console project that the
|
61
|
+
# Google service account is associated with.
|
63
62
|
# @param [String] fields
|
64
63
|
# Selector specifying which fields to include in a partial response.
|
65
64
|
# @param [String] quota_user
|
@@ -78,7 +77,7 @@ module Google
|
|
78
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
79
|
def get_google_service_account(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
-
command =
|
80
|
+
command = make_simple_command(:get, 'v1/googleServiceAccounts/{projectId}', options)
|
82
81
|
command.response_representation = Google::Apis::StoragetransferV1::GoogleServiceAccount::Representation
|
83
82
|
command.response_class = Google::Apis::StoragetransferV1::GoogleServiceAccount
|
84
83
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -107,7 +106,7 @@ module Google
|
|
107
106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
108
|
def create_transfer_job(transfer_job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
-
command =
|
109
|
+
command = make_simple_command(:post, 'v1/transferJobs', options)
|
111
110
|
command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
112
111
|
command.request_object = transfer_job_object
|
113
112
|
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
@@ -119,11 +118,10 @@ module Google
|
|
119
118
|
|
120
119
|
# Gets a transfer job.
|
121
120
|
# @param [String] job_name
|
122
|
-
# The job to get.
|
123
|
-
# Required.
|
121
|
+
# Required. The job to get.
|
124
122
|
# @param [String] project_id
|
125
|
-
# The ID of the Google Cloud Platform Console project that owns the
|
126
|
-
#
|
123
|
+
# Required. The ID of the Google Cloud Platform Console project that owns the
|
124
|
+
# job.
|
127
125
|
# @param [String] fields
|
128
126
|
# Selector specifying which fields to include in a partial response.
|
129
127
|
# @param [String] quota_user
|
@@ -142,7 +140,7 @@ module Google
|
|
142
140
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
143
141
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
144
142
|
def get_transfer_job(job_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
145
|
-
command =
|
143
|
+
command = make_simple_command(:get, 'v1/{+jobName}', options)
|
146
144
|
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
147
145
|
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
148
146
|
command.params['jobName'] = job_name unless job_name.nil?
|
@@ -154,7 +152,7 @@ module Google
|
|
154
152
|
|
155
153
|
# Lists transfer jobs.
|
156
154
|
# @param [String] filter
|
157
|
-
# A list of query parameters specified as JSON text in the form of
|
155
|
+
# Required. A list of query parameters specified as JSON text in the form of:
|
158
156
|
# `"project_id":"my_project_id",
|
159
157
|
# "job_names":["jobid1","jobid2",...],
|
160
158
|
# "job_statuses":["status1","status2",...]`.
|
@@ -184,7 +182,7 @@ module Google
|
|
184
182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
184
|
def list_transfer_jobs(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
187
|
-
command =
|
185
|
+
command = make_simple_command(:get, 'v1/transferJobs', options)
|
188
186
|
command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation
|
189
187
|
command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse
|
190
188
|
command.query['filter'] = filter unless filter.nil?
|
@@ -199,8 +197,7 @@ module Google
|
|
199
197
|
# transfer operations that are running already. Updating the scheduling
|
200
198
|
# of a job is not allowed.
|
201
199
|
# @param [String] job_name
|
202
|
-
# The name of job to update.
|
203
|
-
# Required.
|
200
|
+
# Required. The name of job to update.
|
204
201
|
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
|
205
202
|
# @param [String] fields
|
206
203
|
# Selector specifying which fields to include in a partial response.
|
@@ -220,7 +217,7 @@ module Google
|
|
220
217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
219
|
def patch_transfer_job(job_name, update_transfer_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
-
command =
|
220
|
+
command = make_simple_command(:patch, 'v1/{+jobName}', options)
|
224
221
|
command.request_representation = Google::Apis::StoragetransferV1::UpdateTransferJobRequest::Representation
|
225
222
|
command.request_object = update_transfer_job_request_object
|
226
223
|
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
@@ -253,7 +250,7 @@ module Google
|
|
253
250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
252
|
def cancel_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
256
|
-
command =
|
253
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
257
254
|
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
258
255
|
command.response_class = Google::Apis::StoragetransferV1::Empty
|
259
256
|
command.params['name'] = name unless name.nil?
|
@@ -283,7 +280,7 @@ module Google
|
|
283
280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
284
281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
285
282
|
def delete_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
286
|
-
command =
|
283
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
287
284
|
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
288
285
|
command.response_class = Google::Apis::StoragetransferV1::Empty
|
289
286
|
command.params['name'] = name unless name.nil?
|
@@ -315,7 +312,7 @@ module Google
|
|
315
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
314
|
def get_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
318
|
-
command =
|
315
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
319
316
|
command.response_representation = Google::Apis::StoragetransferV1::Operation::Representation
|
320
317
|
command.response_class = Google::Apis::StoragetransferV1::Operation
|
321
318
|
command.params['name'] = name unless name.nil?
|
@@ -334,14 +331,18 @@ module Google
|
|
334
331
|
# collection id, however overriding users must ensure the name binding
|
335
332
|
# is the parent resource, without the operations collection id.
|
336
333
|
# @param [String] name
|
337
|
-
# The value `transferOperations`.
|
334
|
+
# Required. The value `transferOperations`.
|
338
335
|
# @param [String] filter
|
339
|
-
# A list of query parameters specified as JSON text in the form of
|
340
|
-
# "
|
341
|
-
#
|
342
|
-
#
|
343
|
-
# transfer_statuses
|
344
|
-
#
|
336
|
+
# Required. A list of query parameters specified as JSON text in the form of: `"
|
337
|
+
# project_id":"my_project_id",
|
338
|
+
# "job_names":["jobid1","jobid2",...],
|
339
|
+
# "operation_names":["opid1","opid2",...],
|
340
|
+
# "transfer_statuses":["status1","status2",...]`.
|
341
|
+
# Since `job_names`, `operation_names`, and `transfer_statuses` support multiple
|
342
|
+
# values, they must be specified with array notation. `project_id` is required. `
|
343
|
+
# job_names`, `operation_names`, and `transfer_statuses` are optional. The valid
|
344
|
+
# values for `transfer_statuses` are case-insensitive: `IN_PROGRESS`, `PAUSED`, `
|
345
|
+
# SUCCESS`, `FAILED`, and `ABORTED`.
|
345
346
|
# @param [Fixnum] page_size
|
346
347
|
# The list page size. The max allowed value is 256.
|
347
348
|
# @param [String] page_token
|
@@ -364,7 +365,7 @@ module Google
|
|
364
365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
365
366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
366
367
|
def list_transfer_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
367
|
-
command =
|
368
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
368
369
|
command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation
|
369
370
|
command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse
|
370
371
|
command.params['name'] = name unless name.nil?
|
@@ -378,8 +379,7 @@ module Google
|
|
378
379
|
|
379
380
|
# Pauses a transfer operation.
|
380
381
|
# @param [String] name
|
381
|
-
# The name of the transfer operation.
|
382
|
-
# Required.
|
382
|
+
# Required. The name of the transfer operation.
|
383
383
|
# @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
|
384
384
|
# @param [String] fields
|
385
385
|
# Selector specifying which fields to include in a partial response.
|
@@ -399,7 +399,7 @@ module Google
|
|
399
399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
400
400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
401
401
|
def pause_transfer_operation(name, pause_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
402
|
-
command =
|
402
|
+
command = make_simple_command(:post, 'v1/{+name}:pause', options)
|
403
403
|
command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation
|
404
404
|
command.request_object = pause_transfer_operation_request_object
|
405
405
|
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|
@@ -412,8 +412,7 @@ module Google
|
|
412
412
|
|
413
413
|
# Resumes a transfer operation that is paused.
|
414
414
|
# @param [String] name
|
415
|
-
# The name of the transfer operation.
|
416
|
-
# Required.
|
415
|
+
# Required. The name of the transfer operation.
|
417
416
|
# @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object
|
418
417
|
# @param [String] fields
|
419
418
|
# Selector specifying which fields to include in a partial response.
|
@@ -433,7 +432,7 @@ module Google
|
|
433
432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
434
433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
435
434
|
def resume_transfer_operation(name, resume_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
436
|
-
command =
|
435
|
+
command = make_simple_command(:post, 'v1/{+name}:resume', options)
|
437
436
|
command.request_representation = Google::Apis::StoragetransferV1::ResumeTransferOperationRequest::Representation
|
438
437
|
command.request_object = resume_transfer_operation_request_object
|
439
438
|
command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
|