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
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
84
84
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
85
85
|
def delete_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
86
|
-
command =
|
86
|
+
command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options)
|
87
87
|
command.params['bucket'] = bucket unless bucket.nil?
|
88
88
|
command.params['entity'] = entity unless entity.nil?
|
89
89
|
command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
126
126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
127
127
|
def get_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
128
|
-
command =
|
128
|
+
command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options)
|
129
129
|
command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
130
130
|
command.response_class = Google::Apis::StorageV1::BucketAccessControl
|
131
131
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -167,7 +167,7 @@ module Google
|
|
167
167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
168
168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
169
169
|
def insert_bucket_access_control(bucket, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
170
|
-
command =
|
170
|
+
command = make_simple_command(:post, 'b/{bucket}/acl', options)
|
171
171
|
command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
172
172
|
command.request_object = bucket_access_control_object
|
173
173
|
command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
@@ -209,7 +209,7 @@ module Google
|
|
209
209
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
210
210
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
211
211
|
def list_bucket_access_controls(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
212
|
-
command =
|
212
|
+
command = make_simple_command(:get, 'b/{bucket}/acl', options)
|
213
213
|
command.response_representation = Google::Apis::StorageV1::BucketAccessControls::Representation
|
214
214
|
command.response_class = Google::Apis::StorageV1::BucketAccessControls
|
215
215
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -253,7 +253,7 @@ module Google
|
|
253
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
255
|
def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
256
|
-
command =
|
256
|
+
command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options)
|
257
257
|
command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
258
258
|
command.request_object = bucket_access_control_object
|
259
259
|
command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
@@ -300,7 +300,7 @@ module Google
|
|
300
300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
301
301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
302
302
|
def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
303
|
-
command =
|
303
|
+
command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options)
|
304
304
|
command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
305
305
|
command.request_object = bucket_access_control_object
|
306
306
|
command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
|
@@ -348,7 +348,7 @@ module Google
|
|
348
348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
349
349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
350
350
|
def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
351
|
-
command =
|
351
|
+
command = make_simple_command(:delete, 'b/{bucket}', options)
|
352
352
|
command.params['bucket'] = bucket unless bucket.nil?
|
353
353
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
354
354
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
@@ -396,7 +396,7 @@ module Google
|
|
396
396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
398
|
def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
399
|
-
command =
|
399
|
+
command = make_simple_command(:get, 'b/{bucket}', options)
|
400
400
|
command.response_representation = Google::Apis::StorageV1::Bucket::Representation
|
401
401
|
command.response_class = Google::Apis::StorageV1::Bucket
|
402
402
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -439,7 +439,7 @@ module Google
|
|
439
439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
440
440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
441
441
|
def get_bucket_iam_policy(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
442
|
-
command =
|
442
|
+
command = make_simple_command(:get, 'b/{bucket}/iam', options)
|
443
443
|
command.response_representation = Google::Apis::StorageV1::Policy::Representation
|
444
444
|
command.response_class = Google::Apis::StorageV1::Policy
|
445
445
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -487,7 +487,7 @@ module Google
|
|
487
487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
489
|
def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
490
|
-
command =
|
490
|
+
command = make_simple_command(:post, 'b', options)
|
491
491
|
command.request_representation = Google::Apis::StorageV1::Bucket::Representation
|
492
492
|
command.request_object = bucket_object
|
493
493
|
command.response_representation = Google::Apis::StorageV1::Bucket::Representation
|
@@ -542,7 +542,7 @@ module Google
|
|
542
542
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
543
543
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
544
544
|
def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
545
|
-
command =
|
545
|
+
command = make_simple_command(:get, 'b', options)
|
546
546
|
command.response_representation = Google::Apis::StorageV1::Buckets::Representation
|
547
547
|
command.response_class = Google::Apis::StorageV1::Buckets
|
548
548
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -589,7 +589,7 @@ module Google
|
|
589
589
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
590
590
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
591
591
|
def lock_bucket_retention_policy(bucket, if_metageneration_match, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
592
|
-
command =
|
592
|
+
command = make_simple_command(:post, 'b/{bucket}/lockRetentionPolicy', options)
|
593
593
|
command.response_representation = Google::Apis::StorageV1::Bucket::Representation
|
594
594
|
command.response_class = Google::Apis::StorageV1::Bucket
|
595
595
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -644,7 +644,7 @@ module Google
|
|
644
644
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
645
645
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
646
646
|
def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
647
|
-
command =
|
647
|
+
command = make_simple_command(:patch, 'b/{bucket}', options)
|
648
648
|
command.request_representation = Google::Apis::StorageV1::Bucket::Representation
|
649
649
|
command.request_object = bucket_object
|
650
650
|
command.response_representation = Google::Apis::StorageV1::Bucket::Representation
|
@@ -692,7 +692,7 @@ module Google
|
|
692
692
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
693
693
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
694
694
|
def set_bucket_iam_policy(bucket, policy_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
695
|
-
command =
|
695
|
+
command = make_simple_command(:put, 'b/{bucket}/iam', options)
|
696
696
|
command.request_representation = Google::Apis::StorageV1::Policy::Representation
|
697
697
|
command.request_object = policy_object
|
698
698
|
command.response_representation = Google::Apis::StorageV1::Policy::Representation
|
@@ -737,7 +737,7 @@ module Google
|
|
737
737
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
738
738
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
739
739
|
def test_bucket_iam_permissions(bucket, permissions, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
740
|
-
command =
|
740
|
+
command = make_simple_command(:get, 'b/{bucket}/iam/testPermissions', options)
|
741
741
|
command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation
|
742
742
|
command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse
|
743
743
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -792,7 +792,7 @@ module Google
|
|
792
792
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
793
793
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
794
794
|
def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
795
|
-
command =
|
795
|
+
command = make_simple_command(:put, 'b/{bucket}', options)
|
796
796
|
command.request_representation = Google::Apis::StorageV1::Bucket::Representation
|
797
797
|
command.request_object = bucket_object
|
798
798
|
command.response_representation = Google::Apis::StorageV1::Bucket::Representation
|
@@ -833,7 +833,7 @@ module Google
|
|
833
833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
835
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
836
|
-
command =
|
836
|
+
command = make_simple_command(:post, 'channels/stop', options)
|
837
837
|
command.request_representation = Google::Apis::StorageV1::Channel::Representation
|
838
838
|
command.request_object = channel_object
|
839
839
|
command.query['fields'] = fields unless fields.nil?
|
@@ -874,7 +874,7 @@ module Google
|
|
874
874
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
875
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
876
|
def delete_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
877
|
-
command =
|
877
|
+
command = make_simple_command(:delete, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
878
878
|
command.params['bucket'] = bucket unless bucket.nil?
|
879
879
|
command.params['entity'] = entity unless entity.nil?
|
880
880
|
command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
|
@@ -917,7 +917,7 @@ module Google
|
|
917
917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
918
918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
919
919
|
def get_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
920
|
-
command =
|
920
|
+
command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
921
921
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
922
922
|
command.response_class = Google::Apis::StorageV1::ObjectAccessControl
|
923
923
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -959,7 +959,7 @@ module Google
|
|
959
959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
960
960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
961
961
|
def insert_default_object_access_control(bucket, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
962
|
-
command =
|
962
|
+
command = make_simple_command(:post, 'b/{bucket}/defaultObjectAcl', options)
|
963
963
|
command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
964
964
|
command.request_object = object_access_control_object
|
965
965
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
@@ -1007,7 +1007,7 @@ module Google
|
|
1007
1007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1008
1008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1009
1009
|
def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1010
|
-
command =
|
1010
|
+
command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl', options)
|
1011
1011
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation
|
1012
1012
|
command.response_class = Google::Apis::StorageV1::ObjectAccessControls
|
1013
1013
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1053,7 +1053,7 @@ module Google
|
|
1053
1053
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1054
1054
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1055
1055
|
def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1056
|
-
command =
|
1056
|
+
command = make_simple_command(:patch, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
1057
1057
|
command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
1058
1058
|
command.request_object = object_access_control_object
|
1059
1059
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
@@ -1100,7 +1100,7 @@ module Google
|
|
1100
1100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1101
1101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1102
1102
|
def update_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1103
|
-
command =
|
1103
|
+
command = make_simple_command(:put, 'b/{bucket}/defaultObjectAcl/{entity}', options)
|
1104
1104
|
command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
1105
1105
|
command.request_object = object_access_control_object
|
1106
1106
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
@@ -1145,7 +1145,7 @@ module Google
|
|
1145
1145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1146
1146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1147
1147
|
def delete_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1148
|
-
command =
|
1148
|
+
command = make_simple_command(:delete, 'b/{bucket}/notificationConfigs/{notification}', options)
|
1149
1149
|
command.params['bucket'] = bucket unless bucket.nil?
|
1150
1150
|
command.params['notification'] = notification unless notification.nil?
|
1151
1151
|
command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
|
@@ -1186,7 +1186,7 @@ module Google
|
|
1186
1186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
1187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
1188
|
def get_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1189
|
-
command =
|
1189
|
+
command = make_simple_command(:get, 'b/{bucket}/notificationConfigs/{notification}', options)
|
1190
1190
|
command.response_representation = Google::Apis::StorageV1::Notification::Representation
|
1191
1191
|
command.response_class = Google::Apis::StorageV1::Notification
|
1192
1192
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1228,7 +1228,7 @@ module Google
|
|
1228
1228
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1229
1229
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1230
1230
|
def insert_notification(bucket, notification_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1231
|
-
command =
|
1231
|
+
command = make_simple_command(:post, 'b/{bucket}/notificationConfigs', options)
|
1232
1232
|
command.request_representation = Google::Apis::StorageV1::Notification::Representation
|
1233
1233
|
command.request_object = notification_object
|
1234
1234
|
command.response_representation = Google::Apis::StorageV1::Notification::Representation
|
@@ -1270,7 +1270,7 @@ module Google
|
|
1270
1270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1271
1271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1272
1272
|
def list_notifications(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1273
|
-
command =
|
1273
|
+
command = make_simple_command(:get, 'b/{bucket}/notificationConfigs', options)
|
1274
1274
|
command.response_representation = Google::Apis::StorageV1::Notifications::Representation
|
1275
1275
|
command.response_class = Google::Apis::StorageV1::Notifications
|
1276
1276
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1320,7 +1320,7 @@ module Google
|
|
1320
1320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1321
1321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1322
1322
|
def delete_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1323
|
-
command =
|
1323
|
+
command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
1324
1324
|
command.params['bucket'] = bucket unless bucket.nil?
|
1325
1325
|
command.params['object'] = object unless object.nil?
|
1326
1326
|
command.params['entity'] = entity unless entity.nil?
|
@@ -1370,7 +1370,7 @@ module Google
|
|
1370
1370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1371
1371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1372
1372
|
def get_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1373
|
-
command =
|
1373
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
1374
1374
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
1375
1375
|
command.response_class = Google::Apis::StorageV1::ObjectAccessControl
|
1376
1376
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1420,7 +1420,7 @@ module Google
|
|
1420
1420
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1421
1421
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1422
1422
|
def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1423
|
-
command =
|
1423
|
+
command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options)
|
1424
1424
|
command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
1425
1425
|
command.request_object = object_access_control_object
|
1426
1426
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
@@ -1470,7 +1470,7 @@ module Google
|
|
1470
1470
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1471
1471
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1472
1472
|
def list_object_access_controls(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1473
|
-
command =
|
1473
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options)
|
1474
1474
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation
|
1475
1475
|
command.response_class = Google::Apis::StorageV1::ObjectAccessControls
|
1476
1476
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -1522,7 +1522,7 @@ module Google
|
|
1522
1522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1523
1523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1524
1524
|
def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1525
|
-
command =
|
1525
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
1526
1526
|
command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
1527
1527
|
command.request_object = object_access_control_object
|
1528
1528
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
@@ -1577,7 +1577,7 @@ module Google
|
|
1577
1577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1578
1578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1579
1579
|
def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1580
|
-
command =
|
1580
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options)
|
1581
1581
|
command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
1582
1582
|
command.request_object = object_access_control_object
|
1583
1583
|
command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
|
@@ -1640,7 +1640,7 @@ module Google
|
|
1640
1640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1641
1641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1642
1642
|
def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1643
|
-
command =
|
1643
|
+
command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
|
1644
1644
|
command.request_representation = Google::Apis::StorageV1::ComposeRequest::Representation
|
1645
1645
|
command.request_object = compose_request_object
|
1646
1646
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
@@ -1733,7 +1733,7 @@ module Google
|
|
1733
1733
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1734
1734
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1735
1735
|
def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_predefined_acl: 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, provisional_user_project: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1736
|
-
command =
|
1736
|
+
command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
|
1737
1737
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
1738
1738
|
command.request_object = object_object
|
1739
1739
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
@@ -1811,7 +1811,7 @@ module Google
|
|
1811
1811
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1812
1812
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1813
1813
|
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, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1814
|
-
command =
|
1814
|
+
command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options)
|
1815
1815
|
command.params['bucket'] = bucket unless bucket.nil?
|
1816
1816
|
command.params['object'] = object unless object.nil?
|
1817
1817
|
command.query['generation'] = generation unless generation.nil?
|
@@ -1881,7 +1881,7 @@ module Google
|
|
1881
1881
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1882
1882
|
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, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1883
1883
|
if download_dest.nil?
|
1884
|
-
command =
|
1884
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
|
1885
1885
|
else
|
1886
1886
|
command = make_download_command(:get, 'b/{bucket}/o/{object}', options)
|
1887
1887
|
command.download_dest = download_dest
|
@@ -1938,7 +1938,7 @@ module Google
|
|
1938
1938
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1939
1939
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1940
1940
|
def get_object_iam_policy(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1941
|
-
command =
|
1941
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam', options)
|
1942
1942
|
command.response_representation = Google::Apis::StorageV1::Policy::Representation
|
1943
1943
|
command.response_class = Google::Apis::StorageV1::Policy
|
1944
1944
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -2021,7 +2021,7 @@ module Google
|
|
2021
2021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2022
2022
|
def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
2023
2023
|
if upload_source.nil?
|
2024
|
-
command =
|
2024
|
+
command = make_simple_command(:post, 'b/{bucket}/o', options)
|
2025
2025
|
else
|
2026
2026
|
command = make_upload_command(:post, 'b/{bucket}/o', options)
|
2027
2027
|
command.upload_source = upload_source
|
@@ -2101,7 +2101,7 @@ module Google
|
|
2101
2101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2102
2102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2103
2103
|
def list_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2104
|
-
command =
|
2104
|
+
command = make_simple_command(:get, 'b/{bucket}/o', options)
|
2105
2105
|
command.response_representation = Google::Apis::StorageV1::Objects::Representation
|
2106
2106
|
command.response_class = Google::Apis::StorageV1::Objects
|
2107
2107
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -2174,7 +2174,7 @@ module Google
|
|
2174
2174
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2175
2175
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2176
2176
|
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, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2177
|
-
command =
|
2177
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
|
2178
2178
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
2179
2179
|
command.request_object = object_object
|
2180
2180
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
@@ -2289,7 +2289,7 @@ module Google
|
|
2289
2289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2290
2290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2291
2291
|
def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: 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, max_bytes_rewritten_per_call: nil, projection: nil, provisional_user_project: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2292
|
-
command =
|
2292
|
+
command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options)
|
2293
2293
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
2294
2294
|
command.request_object = object_object
|
2295
2295
|
command.response_representation = Google::Apis::StorageV1::RewriteResponse::Representation
|
@@ -2355,7 +2355,7 @@ module Google
|
|
2355
2355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2356
2356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2357
2357
|
def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2358
|
-
command =
|
2358
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}/iam', options)
|
2359
2359
|
command.request_representation = Google::Apis::StorageV1::Policy::Representation
|
2360
2360
|
command.request_object = policy_object
|
2361
2361
|
command.response_representation = Google::Apis::StorageV1::Policy::Representation
|
@@ -2408,7 +2408,7 @@ module Google
|
|
2408
2408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2409
2409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2410
2410
|
def test_object_iam_permissions(bucket, object, permissions, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2411
|
-
command =
|
2411
|
+
command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam/testPermissions', options)
|
2412
2412
|
command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation
|
2413
2413
|
command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse
|
2414
2414
|
command.params['bucket'] = bucket unless bucket.nil?
|
@@ -2477,7 +2477,7 @@ module Google
|
|
2477
2477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2478
2478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2479
2479
|
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, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2480
|
-
command =
|
2480
|
+
command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
|
2481
2481
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
2482
2482
|
command.request_object = object_object
|
2483
2483
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
@@ -2552,7 +2552,7 @@ module Google
|
|
2552
2552
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2553
2553
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2554
2554
|
def watch_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2555
|
-
command =
|
2555
|
+
command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
|
2556
2556
|
command.request_representation = Google::Apis::StorageV1::Channel::Representation
|
2557
2557
|
command.request_object = channel_object
|
2558
2558
|
command.response_representation = Google::Apis::StorageV1::Channel::Representation
|
@@ -2600,7 +2600,7 @@ module Google
|
|
2600
2600
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2601
2601
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2602
2602
|
def create_project_hmac_key(project_id, service_account_email, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2603
|
-
command =
|
2603
|
+
command = make_simple_command(:post, 'projects/{projectId}/hmacKeys', options)
|
2604
2604
|
command.response_representation = Google::Apis::StorageV1::HmacKey::Representation
|
2605
2605
|
command.response_class = Google::Apis::StorageV1::HmacKey
|
2606
2606
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -2639,7 +2639,7 @@ module Google
|
|
2639
2639
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2640
2640
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2641
2641
|
def delete_project_hmac_key(project_id, access_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2642
|
-
command =
|
2642
|
+
command = make_simple_command(:delete, 'projects/{projectId}/hmacKeys/{accessId}', options)
|
2643
2643
|
command.params['projectId'] = project_id unless project_id.nil?
|
2644
2644
|
command.params['accessId'] = access_id unless access_id.nil?
|
2645
2645
|
command.query['userProject'] = user_project unless user_project.nil?
|
@@ -2676,7 +2676,7 @@ module Google
|
|
2676
2676
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2677
2677
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2678
2678
|
def get_project_hmac_key(project_id, access_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2679
|
-
command =
|
2679
|
+
command = make_simple_command(:get, 'projects/{projectId}/hmacKeys/{accessId}', options)
|
2680
2680
|
command.response_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation
|
2681
2681
|
command.response_class = Google::Apis::StorageV1::HmacKeyMetadata
|
2682
2682
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -2726,7 +2726,7 @@ module Google
|
|
2726
2726
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2727
2727
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2728
2728
|
def list_project_hmac_keys(project_id, max_results: nil, page_token: nil, service_account_email: nil, show_deleted_keys: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2729
|
-
command =
|
2729
|
+
command = make_simple_command(:get, 'projects/{projectId}/hmacKeys', options)
|
2730
2730
|
command.response_representation = Google::Apis::StorageV1::HmacKeysMetadata::Representation
|
2731
2731
|
command.response_class = Google::Apis::StorageV1::HmacKeysMetadata
|
2732
2732
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -2770,7 +2770,7 @@ module Google
|
|
2770
2770
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2771
2771
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2772
2772
|
def update_project_hmac_key(project_id, access_id, hmac_key_metadata_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2773
|
-
command =
|
2773
|
+
command = make_simple_command(:put, 'projects/{projectId}/hmacKeys/{accessId}', options)
|
2774
2774
|
command.request_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation
|
2775
2775
|
command.request_object = hmac_key_metadata_object
|
2776
2776
|
command.response_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation
|
@@ -2812,7 +2812,7 @@ module Google
|
|
2812
2812
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2813
2813
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2814
2814
|
def get_project_service_account(project_id, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2815
|
-
command =
|
2815
|
+
command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
|
2816
2816
|
command.response_representation = Google::Apis::StorageV1::ServiceAccount::Representation
|
2817
2817
|
command.response_class = Google::Apis::StorageV1::ServiceAccount
|
2818
2818
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -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
|