google-api-client 0.29.0 → 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 +122 -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/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/accessapproval_v1beta1.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_v1.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/accesscontextmanager_v1beta.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/adexchangebuyer2_v2beta1.rb +1 -1
- 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/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- 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/androidmanagement_v1.rb +1 -1
- 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/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/androidpublisher_v3.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_v1.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_v1alpha.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_v1beta.rb +1 -1
- 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/classes.rb +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- 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/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- 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/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +45 -45
- data/generated/google/apis/calendar_v3.rb +1 -1
- 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/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- 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/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- 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/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.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/cloudfunctions_v1beta2.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_v1.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/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_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/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- 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_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- 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_v2.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/cloudresourcemanager_v2beta1.rb +1 -1
- 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/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_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_v1.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/cloudshell_v1alpha1.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_v2.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_v2beta2.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/cloudtasks_v2beta3.rb +1 -1
- 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/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_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_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_v1.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/container_v1beta1.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_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- 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.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/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- 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/dataflow_v1b3.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/datafusion_v1beta1.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_v1.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/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- 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/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.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/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- 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 +16 -16
- data/generated/google/apis/dns_v2beta1.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/docs_v1.rb +1 -1
- 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/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- 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/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/fcm_v1.rb +35 -0
- 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_v1.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/file_v1beta1.rb +1 -1
- 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/service.rb +3 -3
- data/generated/google/apis/genomics_v1.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_v1alpha2.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/genomics_v2alpha1.rb +1 -1
- 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/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_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- 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/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- 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/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/logging_v2.rb +1 -1
- 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/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.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/monitoring_v3.rb +1 -1
- 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/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/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- 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/service.rb +32 -32
- data/generated/google/apis/pubsub_v1.rb +1 -1
- 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/service.rb +19 -19
- data/generated/google/apis/redis_v1.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/redis_v1beta1.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_v1.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_v1alpha.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/remotebuildexecution_v2.rb +1 -1
- 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/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/run_v1alpha1.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_v1.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/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- 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/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.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_v1.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/securitycenter_v1beta1.rb +1 -1
- 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/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_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/servicecontrol_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/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- 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/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_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_v1.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/speech_v1p1beta1.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/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1.rb +1 -1
- 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/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_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/streetviewpublish_v1.rb +1 -1
- 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/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/testing_v1.rb +1 -1
- 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/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.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_v1.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/tpu_v1alpha1.rb +1 -1
- 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/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_v1.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_v1p1beta1.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/vision_v1p2beta1.rb +1 -1
- 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/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- 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_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- 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
@@ -77,7 +77,7 @@ module Google
|
|
77
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
79
|
def delete_bucket_access_control(bucket, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
|
-
command =
|
80
|
+
command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options)
|
81
81
|
command.params['bucket'] = bucket unless bucket.nil?
|
82
82
|
command.params['entity'] = entity unless entity.nil?
|
83
83
|
command.query['fields'] = fields unless fields.nil?
|
@@ -112,7 +112,7 @@ module Google
|
|
112
112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
114
|
def get_bucket_access_control(bucket, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
115
|
-
command =
|
115
|
+
command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options)
|
116
116
|
command.response_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
117
117
|
command.response_class = Google::Apis::StorageV1beta1::BucketAccessControl
|
118
118
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -147,7 +147,7 @@ module Google
|
|
147
147
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
148
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
149
|
def insert_bucket_access_control(bucket, bucket_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
150
|
-
command =
|
150
|
+
command = make_simple_command(:post, 'b/{bucket}/acl', options)
|
151
151
|
command.request_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
152
152
|
command.request_object = bucket_access_control_object
|
153
153
|
command.response_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
@@ -182,7 +182,7 @@ module Google
|
|
182
182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
183
183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
184
184
|
def list_bucket_access_controls(bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
185
|
-
command =
|
185
|
+
command = make_simple_command(:get, 'b/{bucket}/acl', options)
|
186
186
|
command.response_representation = Google::Apis::StorageV1beta1::BucketAccessControls::Representation
|
187
187
|
command.response_class = Google::Apis::StorageV1beta1::BucketAccessControls
|
188
188
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -220,7 +220,7 @@ module Google
|
|
220
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
222
|
def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
223
|
-
command =
|
223
|
+
command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options)
|
224
224
|
command.request_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
225
225
|
command.request_object = bucket_access_control_object
|
226
226
|
command.response_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
@@ -260,7 +260,7 @@ module Google
|
|
260
260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
261
261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
262
262
|
def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
263
|
-
command =
|
263
|
+
command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options)
|
264
264
|
command.request_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
265
265
|
command.request_object = bucket_access_control_object
|
266
266
|
command.response_representation = Google::Apis::StorageV1beta1::BucketAccessControl::Representation
|
@@ -296,7 +296,7 @@ module Google
|
|
296
296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
298
298
|
def delete_bucket(bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
299
|
-
command =
|
299
|
+
command = make_simple_command(:delete, 'b/{bucket}', options)
|
300
300
|
command.params['bucket'] = bucket unless bucket.nil?
|
301
301
|
command.query['fields'] = fields unless fields.nil?
|
302
302
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -329,7 +329,7 @@ module Google
|
|
329
329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
330
330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
331
331
|
def get_bucket(bucket, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
332
|
-
command =
|
332
|
+
command = make_simple_command(:get, 'b/{bucket}', options)
|
333
333
|
command.response_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
334
334
|
command.response_class = Google::Apis::StorageV1beta1::Bucket
|
335
335
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
366
366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
367
367
|
def insert_bucket(bucket_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
368
|
-
command =
|
368
|
+
command = make_simple_command(:post, 'b', options)
|
369
369
|
command.request_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
370
370
|
command.request_object = bucket_object
|
371
371
|
command.response_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
@@ -407,7 +407,7 @@ module Google
|
|
407
407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
408
408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
409
409
|
def list_buckets(project_id, max_results: nil, page_token: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
410
|
-
command =
|
410
|
+
command = make_simple_command(:get, 'b', options)
|
411
411
|
command.response_representation = Google::Apis::StorageV1beta1::Buckets::Representation
|
412
412
|
command.response_class = Google::Apis::StorageV1beta1::Buckets
|
413
413
|
command.query['max-results'] = max_results unless max_results.nil?
|
@@ -446,7 +446,7 @@ module Google
|
|
446
446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
447
447
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
448
448
|
def patch_bucket(bucket, bucket_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
449
|
-
command =
|
449
|
+
command = make_simple_command(:patch, 'b/{bucket}', options)
|
450
450
|
command.request_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
451
451
|
command.request_object = bucket_object
|
452
452
|
command.response_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
@@ -485,7 +485,7 @@ module Google
|
|
485
485
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
486
486
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
487
487
|
def update_bucket(bucket, bucket_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
488
|
-
command =
|
488
|
+
command = make_simple_command(:put, 'b/{bucket}', options)
|
489
489
|
command.request_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
490
490
|
command.request_object = bucket_object
|
491
491
|
command.response_representation = Google::Apis::StorageV1beta1::Bucket::Representation
|
@@ -526,7 +526,7 @@ module Google
|
|
526
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
527
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
528
528
|
def delete_object_access_control(bucket, object, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
529
|
-
command =
|
529
|
+
command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
530
530
|
command.params['bucket'] = bucket unless bucket.nil?
|
531
531
|
command.params['object'] = object unless object.nil?
|
532
532
|
command.params['entity'] = entity unless entity.nil?
|
@@ -564,7 +564,7 @@ module Google
|
|
564
564
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
565
565
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
566
566
|
def get_object_access_control(bucket, object, entity, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
567
|
-
command =
|
567
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
568
568
|
command.response_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
569
569
|
command.response_class = Google::Apis::StorageV1beta1::ObjectAccessControl
|
570
570
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -602,7 +602,7 @@ module Google
|
|
602
602
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
603
603
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
604
604
|
def insert_object_access_control(bucket, object, object_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
605
|
-
command =
|
605
|
+
command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options)
|
606
606
|
command.request_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
607
607
|
command.request_object = object_access_control_object
|
608
608
|
command.response_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
@@ -640,7 +640,7 @@ module Google
|
|
640
640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
641
641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
642
642
|
def list_object_access_controls(bucket, object, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
643
|
-
command =
|
643
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options)
|
644
644
|
command.response_representation = Google::Apis::StorageV1beta1::ObjectAccessControls::Representation
|
645
645
|
command.response_class = Google::Apis::StorageV1beta1::ObjectAccessControls
|
646
646
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -681,7 +681,7 @@ module Google
|
|
681
681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
682
682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
683
683
|
def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
684
|
-
command =
|
684
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
685
685
|
command.request_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
686
686
|
command.request_object = object_access_control_object
|
687
687
|
command.response_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
@@ -724,7 +724,7 @@ module Google
|
|
724
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
725
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
726
726
|
def update_object_access_control(bucket, object, entity, object_access_control_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
727
|
-
command =
|
727
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
728
728
|
command.request_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
729
729
|
command.request_object = object_access_control_object
|
730
730
|
command.response_representation = Google::Apis::StorageV1beta1::ObjectAccessControl::Representation
|
@@ -763,7 +763,7 @@ module Google
|
|
763
763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
764
764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
765
765
|
def delete_object(bucket, object, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
766
|
-
command =
|
766
|
+
command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options)
|
767
767
|
command.params['bucket'] = bucket unless bucket.nil?
|
768
768
|
command.params['object'] = object unless object.nil?
|
769
769
|
command.query['fields'] = fields unless fields.nil?
|
@@ -802,7 +802,7 @@ module Google
|
|
802
802
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
803
803
|
def get_object(bucket, object, projection: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
804
804
|
if download_dest.nil?
|
805
|
-
command =
|
805
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
|
806
806
|
else
|
807
807
|
command = make_download_command(:get, 'b/{bucket}/o/{object}', options)
|
808
808
|
command.download_dest = download_dest
|
@@ -854,7 +854,7 @@ module Google
|
|
854
854
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
855
855
|
def insert_object(bucket, object_object = nil, name: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
856
856
|
if upload_source.nil?
|
857
|
-
command =
|
857
|
+
command = make_simple_command(:post, 'b/{bucket}/o', options)
|
858
858
|
else
|
859
859
|
command = make_upload_command(:post, 'b/{bucket}/o', options)
|
860
860
|
command.upload_source = upload_source
|
@@ -912,7 +912,7 @@ module Google
|
|
912
912
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
913
913
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
914
914
|
def list_objects(bucket, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
915
|
-
command =
|
915
|
+
command = make_simple_command(:get, 'b/{bucket}/o', options)
|
916
916
|
command.response_representation = Google::Apis::StorageV1beta1::Objects::Representation
|
917
917
|
command.response_class = Google::Apis::StorageV1beta1::Objects
|
918
918
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -956,7 +956,7 @@ module Google
|
|
956
956
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
957
957
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
958
958
|
def patch_object(bucket, object, object_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
959
|
-
command =
|
959
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
|
960
960
|
command.request_representation = Google::Apis::StorageV1beta1::Object::Representation
|
961
961
|
command.request_object = object_object
|
962
962
|
command.response_representation = Google::Apis::StorageV1beta1::Object::Representation
|
@@ -1001,7 +1001,7 @@ module Google
|
|
1001
1001
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1002
1002
|
def update_object(bucket, object, object_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1003
1003
|
if download_dest.nil?
|
1004
|
-
command =
|
1004
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
|
1005
1005
|
else
|
1006
1006
|
command = make_download_command(:put, 'b/{bucket}/o/{object}', options)
|
1007
1007
|
command.download_dest = download_dest
|
@@ -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
|
@@ -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
|