google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200326'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -1192,6 +1192,12 @@ module Google
|
|
1192
1192
|
# @return [Google::Apis::DriveV3::User]
|
1193
1193
|
attr_accessor :sharing_user
|
1194
1194
|
|
1195
|
+
# Shortcut file details. Only populated for shortcut files, which have the
|
1196
|
+
# mimeType field set to application/vnd.google-apps.shortcut.
|
1197
|
+
# Corresponds to the JSON property `shortcutDetails`
|
1198
|
+
# @return [Google::Apis::DriveV3::File::ShortcutDetails]
|
1199
|
+
attr_accessor :shortcut_details
|
1200
|
+
|
1195
1201
|
# The size of the file's content in bytes. This is only applicable to files with
|
1196
1202
|
# binary content in Google Drive.
|
1197
1203
|
# Corresponds to the JSON property `size`
|
@@ -1337,6 +1343,7 @@ module Google
|
|
1337
1343
|
@shared = args[:shared] if args.key?(:shared)
|
1338
1344
|
@shared_with_me_time = args[:shared_with_me_time] if args.key?(:shared_with_me_time)
|
1339
1345
|
@sharing_user = args[:sharing_user] if args.key?(:sharing_user)
|
1346
|
+
@shortcut_details = args[:shortcut_details] if args.key?(:shortcut_details)
|
1340
1347
|
@size = args[:size] if args.key?(:size)
|
1341
1348
|
@spaces = args[:spaces] if args.key?(:spaces)
|
1342
1349
|
@starred = args[:starred] if args.key?(:starred)
|
@@ -1368,6 +1375,13 @@ module Google
|
|
1368
1375
|
attr_accessor :can_add_children
|
1369
1376
|
alias_method :can_add_children?, :can_add_children
|
1370
1377
|
|
1378
|
+
# Whether the current user can add a parent for the item without removing an
|
1379
|
+
# existing parent in the same request. Not populated for shared drive files.
|
1380
|
+
# Corresponds to the JSON property `canAddMyDriveParent`
|
1381
|
+
# @return [Boolean]
|
1382
|
+
attr_accessor :can_add_my_drive_parent
|
1383
|
+
alias_method :can_add_my_drive_parent?, :can_add_my_drive_parent
|
1384
|
+
|
1371
1385
|
# Whether the current user can change the copyRequiresWriterPermission
|
1372
1386
|
# restriction of this file.
|
1373
1387
|
# Corresponds to the JSON property `canChangeCopyRequiresWriterPermission`
|
@@ -1532,6 +1546,13 @@ module Google
|
|
1532
1546
|
attr_accessor :can_remove_children
|
1533
1547
|
alias_method :can_remove_children?, :can_remove_children
|
1534
1548
|
|
1549
|
+
# Whether the current user can remove a parent from the item without adding
|
1550
|
+
# another parent in the same request. Not populated for shared drive files.
|
1551
|
+
# Corresponds to the JSON property `canRemoveMyDriveParent`
|
1552
|
+
# @return [Boolean]
|
1553
|
+
attr_accessor :can_remove_my_drive_parent
|
1554
|
+
alias_method :can_remove_my_drive_parent?, :can_remove_my_drive_parent
|
1555
|
+
|
1535
1556
|
# Whether the current user can rename this file.
|
1536
1557
|
# Corresponds to the JSON property `canRename`
|
1537
1558
|
# @return [Boolean]
|
@@ -1570,6 +1591,7 @@ module Google
|
|
1570
1591
|
# Update properties of this object
|
1571
1592
|
def update!(**args)
|
1572
1593
|
@can_add_children = args[:can_add_children] if args.key?(:can_add_children)
|
1594
|
+
@can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
|
1573
1595
|
@can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
|
1574
1596
|
@can_change_viewers_can_copy_content = args[:can_change_viewers_can_copy_content] if args.key?(:can_change_viewers_can_copy_content)
|
1575
1597
|
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
@@ -1594,6 +1616,7 @@ module Google
|
|
1594
1616
|
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
|
1595
1617
|
@can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
|
1596
1618
|
@can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children)
|
1619
|
+
@can_remove_my_drive_parent = args[:can_remove_my_drive_parent] if args.key?(:can_remove_my_drive_parent)
|
1597
1620
|
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
1598
1621
|
@can_share = args[:can_share] if args.key?(:can_share)
|
1599
1622
|
@can_trash = args[:can_trash] if args.key?(:can_trash)
|
@@ -1738,7 +1761,8 @@ module Google
|
|
1738
1761
|
# @return [String]
|
1739
1762
|
attr_accessor :metering_mode
|
1740
1763
|
|
1741
|
-
# The
|
1764
|
+
# The number of clockwise 90 degree rotations applied from the image's original
|
1765
|
+
# orientation.
|
1742
1766
|
# Corresponds to the JSON property `rotation`
|
1743
1767
|
# @return [Fixnum]
|
1744
1768
|
attr_accessor :rotation
|
@@ -1829,6 +1853,34 @@ module Google
|
|
1829
1853
|
end
|
1830
1854
|
end
|
1831
1855
|
|
1856
|
+
# Shortcut file details. Only populated for shortcut files, which have the
|
1857
|
+
# mimeType field set to application/vnd.google-apps.shortcut.
|
1858
|
+
class ShortcutDetails
|
1859
|
+
include Google::Apis::Core::Hashable
|
1860
|
+
|
1861
|
+
# The ID of the file that this shortcut points to.
|
1862
|
+
# Corresponds to the JSON property `targetId`
|
1863
|
+
# @return [String]
|
1864
|
+
attr_accessor :target_id
|
1865
|
+
|
1866
|
+
# The MIME type of the file that this shortcut points to. The value of this
|
1867
|
+
# field is a snapshot of the target's MIME type, captured when the shortcut is
|
1868
|
+
# created.
|
1869
|
+
# Corresponds to the JSON property `targetMimeType`
|
1870
|
+
# @return [String]
|
1871
|
+
attr_accessor :target_mime_type
|
1872
|
+
|
1873
|
+
def initialize(**args)
|
1874
|
+
update!(**args)
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# Update properties of this object
|
1878
|
+
def update!(**args)
|
1879
|
+
@target_id = args[:target_id] if args.key?(:target_id)
|
1880
|
+
@target_mime_type = args[:target_mime_type] if args.key?(:target_mime_type)
|
1881
|
+
end
|
1882
|
+
end
|
1883
|
+
|
1832
1884
|
# Additional metadata about video media. This may not be available immediately
|
1833
1885
|
# upon upload.
|
1834
1886
|
class VideoMediaMetadata
|
@@ -2076,7 +2128,7 @@ module Google
|
|
2076
2128
|
alias_method :inherited?, :inherited
|
2077
2129
|
|
2078
2130
|
# The ID of the item from which this permission is inherited. This is an output-
|
2079
|
-
# only field
|
2131
|
+
# only field.
|
2080
2132
|
# Corresponds to the JSON property `inheritedFrom`
|
2081
2133
|
# @return [String]
|
2082
2134
|
attr_accessor :inherited_from
|
@@ -145,6 +145,12 @@ module Google
|
|
145
145
|
include Google::Apis::Core::JsonObjectSupport
|
146
146
|
end
|
147
147
|
|
148
|
+
class ShortcutDetails
|
149
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
150
|
+
|
151
|
+
include Google::Apis::Core::JsonObjectSupport
|
152
|
+
end
|
153
|
+
|
148
154
|
class VideoMediaMetadata
|
149
155
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
150
156
|
|
@@ -531,6 +537,8 @@ module Google
|
|
531
537
|
|
532
538
|
property :sharing_user, as: 'sharingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
|
533
539
|
|
540
|
+
property :shortcut_details, as: 'shortcutDetails', class: Google::Apis::DriveV3::File::ShortcutDetails, decorator: Google::Apis::DriveV3::File::ShortcutDetails::Representation
|
541
|
+
|
534
542
|
property :size, :numeric_string => true, as: 'size'
|
535
543
|
collection :spaces, as: 'spaces'
|
536
544
|
property :starred, as: 'starred'
|
@@ -558,6 +566,7 @@ module Google
|
|
558
566
|
# @private
|
559
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
560
568
|
property :can_add_children, as: 'canAddChildren'
|
569
|
+
property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
|
561
570
|
property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
|
562
571
|
property :can_change_viewers_can_copy_content, as: 'canChangeViewersCanCopyContent'
|
563
572
|
property :can_comment, as: 'canComment'
|
@@ -582,6 +591,7 @@ module Google
|
|
582
591
|
property :can_read_revisions, as: 'canReadRevisions'
|
583
592
|
property :can_read_team_drive, as: 'canReadTeamDrive'
|
584
593
|
property :can_remove_children, as: 'canRemoveChildren'
|
594
|
+
property :can_remove_my_drive_parent, as: 'canRemoveMyDriveParent'
|
585
595
|
property :can_rename, as: 'canRename'
|
586
596
|
property :can_share, as: 'canShare'
|
587
597
|
property :can_trash, as: 'canTrash'
|
@@ -644,6 +654,14 @@ module Google
|
|
644
654
|
end
|
645
655
|
end
|
646
656
|
|
657
|
+
class ShortcutDetails
|
658
|
+
# @private
|
659
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
660
|
+
property :target_id, as: 'targetId'
|
661
|
+
property :target_mime_type, as: 'targetMimeType'
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
647
665
|
class VideoMediaMetadata
|
648
666
|
# @private
|
649
667
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -785,6 +785,10 @@ module Google
|
|
785
785
|
# @param [String] file_id
|
786
786
|
# The ID of the file.
|
787
787
|
# @param [Google::Apis::DriveV3::File] file_object
|
788
|
+
# @param [Boolean] enforce_single_parent
|
789
|
+
# Set to true to opt in to API behavior that aims for all items to have exactly
|
790
|
+
# one parent. This parameter will only take effect if the item is not in a
|
791
|
+
# shared drive. Requests that specify more than one parent will fail.
|
788
792
|
# @param [Boolean] ignore_default_visibility
|
789
793
|
# Whether to ignore the domain's default visibility settings for the created
|
790
794
|
# file. Domain administrators can choose to make all uploaded files visible to
|
@@ -822,13 +826,14 @@ module Google
|
|
822
826
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
823
827
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
824
828
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
825
|
-
def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
829
|
+
def copy_file(file_id, file_object = nil, enforce_single_parent: nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
826
830
|
command = make_simple_command(:post, 'files/{fileId}/copy', options)
|
827
831
|
command.request_representation = Google::Apis::DriveV3::File::Representation
|
828
832
|
command.request_object = file_object
|
829
833
|
command.response_representation = Google::Apis::DriveV3::File::Representation
|
830
834
|
command.response_class = Google::Apis::DriveV3::File
|
831
835
|
command.params['fileId'] = file_id unless file_id.nil?
|
836
|
+
command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
|
832
837
|
command.query['ignoreDefaultVisibility'] = ignore_default_visibility unless ignore_default_visibility.nil?
|
833
838
|
command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil?
|
834
839
|
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
|
@@ -842,6 +847,10 @@ module Google
|
|
842
847
|
|
843
848
|
# Creates a new file.
|
844
849
|
# @param [Google::Apis::DriveV3::File] file_object
|
850
|
+
# @param [Boolean] enforce_single_parent
|
851
|
+
# Set to true to opt in to API behavior that aims for all items to have exactly
|
852
|
+
# one parent. This parameter will only take effect if the item is not in a
|
853
|
+
# shared drive. Requests that specify more than one parent will fail.
|
845
854
|
# @param [Boolean] ignore_default_visibility
|
846
855
|
# Whether to ignore the domain's default visibility settings for the created
|
847
856
|
# file. Domain administrators can choose to make all uploaded files visible to
|
@@ -885,7 +894,7 @@ module Google
|
|
885
894
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
886
895
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
887
896
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
888
|
-
def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
897
|
+
def create_file(file_object = nil, enforce_single_parent: nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
889
898
|
if upload_source.nil?
|
890
899
|
command = make_simple_command(:post, 'files', options)
|
891
900
|
else
|
@@ -897,6 +906,7 @@ module Google
|
|
897
906
|
command.request_object = file_object
|
898
907
|
command.response_representation = Google::Apis::DriveV3::File::Representation
|
899
908
|
command.response_class = Google::Apis::DriveV3::File
|
909
|
+
command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
|
900
910
|
command.query['ignoreDefaultVisibility'] = ignore_default_visibility unless ignore_default_visibility.nil?
|
901
911
|
command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil?
|
902
912
|
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
|
@@ -1201,6 +1211,14 @@ module Google
|
|
1201
1211
|
# @param [Google::Apis::DriveV3::File] file_object
|
1202
1212
|
# @param [String] add_parents
|
1203
1213
|
# A comma-separated list of parent IDs to add.
|
1214
|
+
# @param [Boolean] enforce_single_parent
|
1215
|
+
# Set to true to opt in to API behavior that aims for all items to have exactly
|
1216
|
+
# one parent. This parameter will only take effect if the item is not in a
|
1217
|
+
# shared drive. If the item's owner makes a request to add a single parent, the
|
1218
|
+
# item will be removed from all current folders and placed in the requested
|
1219
|
+
# folder. Other requests that increase the number of parents will fail, except
|
1220
|
+
# when the canAddMyDriveParent file capability is true and a single parent is
|
1221
|
+
# being added.
|
1204
1222
|
# @param [Boolean] keep_revision_forever
|
1205
1223
|
# Whether to set the 'keepForever' field in the new head revision. This is only
|
1206
1224
|
# applicable to files with binary content in Google Drive. Only 200 revisions
|
@@ -1241,7 +1259,7 @@ module Google
|
|
1241
1259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1242
1260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1243
1261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1244
|
-
def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1262
|
+
def update_file(file_id, file_object = nil, add_parents: nil, enforce_single_parent: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1245
1263
|
if upload_source.nil?
|
1246
1264
|
command = make_simple_command(:patch, 'files/{fileId}', options)
|
1247
1265
|
else
|
@@ -1255,6 +1273,7 @@ module Google
|
|
1255
1273
|
command.response_class = Google::Apis::DriveV3::File
|
1256
1274
|
command.params['fileId'] = file_id unless file_id.nil?
|
1257
1275
|
command.query['addParents'] = add_parents unless add_parents.nil?
|
1276
|
+
command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
|
1258
1277
|
command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil?
|
1259
1278
|
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
|
1260
1279
|
command.query['removeParents'] = remove_parents unless remove_parents.nil?
|
@@ -1328,6 +1347,18 @@ module Google
|
|
1328
1347
|
# @param [Google::Apis::DriveV3::Permission] permission_object
|
1329
1348
|
# @param [String] email_message
|
1330
1349
|
# A plain text custom message to include in the notification email.
|
1350
|
+
# @param [Boolean] enforce_single_parent
|
1351
|
+
# Set to true to opt in to API behavior that aims for all items to have exactly
|
1352
|
+
# one parent. This parameter will only take effect if the item is not in a
|
1353
|
+
# shared drive. See moveToNewOwnersRoot for details.
|
1354
|
+
# @param [Boolean] move_to_new_owners_root
|
1355
|
+
# This parameter will only take effect if the item is not in a shared drive and
|
1356
|
+
# the request is attempting to transfer the ownership of the item. When set to
|
1357
|
+
# true, the item will be moved to the new owner's My Drive root folder and all
|
1358
|
+
# prior parents removed. If set to false, when enforceSingleParent=true, parents
|
1359
|
+
# are not changed. If set to false, when enforceSingleParent=false, existing
|
1360
|
+
# parents are not changed; however, the file will be added to the new owner's My
|
1361
|
+
# Drive root folder, unless it is already in the new owner's My Drive.
|
1331
1362
|
# @param [Boolean] send_notification_email
|
1332
1363
|
# Whether to send a notification email when sharing to users or groups. This
|
1333
1364
|
# defaults to true for users and groups, and is not allowed for other requests.
|
@@ -1366,7 +1397,7 @@ module Google
|
|
1366
1397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1367
1398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1368
1399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1369
|
-
def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1400
|
+
def create_permission(file_id, permission_object = nil, email_message: nil, enforce_single_parent: nil, move_to_new_owners_root: nil, send_notification_email: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1370
1401
|
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
|
1371
1402
|
command.request_representation = Google::Apis::DriveV3::Permission::Representation
|
1372
1403
|
command.request_object = permission_object
|
@@ -1374,6 +1405,8 @@ module Google
|
|
1374
1405
|
command.response_class = Google::Apis::DriveV3::Permission
|
1375
1406
|
command.params['fileId'] = file_id unless file_id.nil?
|
1376
1407
|
command.query['emailMessage'] = email_message unless email_message.nil?
|
1408
|
+
command.query['enforceSingleParent'] = enforce_single_parent unless enforce_single_parent.nil?
|
1409
|
+
command.query['moveToNewOwnersRoot'] = move_to_new_owners_root unless move_to_new_owners_root.nil?
|
1377
1410
|
command.query['sendNotificationEmail'] = send_notification_email unless send_notification_email.nil?
|
1378
1411
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
1379
1412
|
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
26
26
|
module FileV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200320'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
26
26
|
module FileV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200320'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -681,11 +681,11 @@ module Google
|
|
681
681
|
# @return [String]
|
682
682
|
attr_accessor :network
|
683
683
|
|
684
|
-
# A /29 CIDR block in one of the
|
684
|
+
# A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the
|
685
685
|
# [internal IP address
|
686
686
|
# ranges](https://www.arin.net/knowledge/address_filters.html) that
|
687
687
|
# identifies the range of IP addresses reserved for this instance. For
|
688
|
-
# example, 10.0.0.0/29 or 192.168.0.0/
|
688
|
+
# example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can't overlap
|
689
689
|
# with either existing subnets or assigned IP address ranges for other Cloud
|
690
690
|
# Filestore instances in the selected VPC network.
|
691
691
|
# Corresponds to the JSON property `reservedIpRange`
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com
|
27
27
|
module FirebaseV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200402'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -893,11 +893,14 @@ module Google
|
|
893
893
|
# resource location has already been set for the Project, then this setting
|
894
894
|
# cannot be changed.
|
895
895
|
# <br>
|
896
|
-
# <br>This call checks for any
|
897
|
-
#
|
898
|
-
#
|
899
|
-
#
|
900
|
-
#
|
896
|
+
# <br>This call checks for any possible
|
897
|
+
# [location
|
898
|
+
# restrictions](https://cloud.google.com/resource-manager/docs/organization-
|
899
|
+
# policy/defining-locations)
|
900
|
+
# for the specified Project and, thus, might return a subset of all possible
|
901
|
+
# GCP resource locations. To list all GCP resource locations (regardless of
|
902
|
+
# any restrictions), call the endpoint without specifying a `projectId` (that
|
903
|
+
# is, `/v1beta1/`parent=projects/-`/listAvailableLocations`).
|
901
904
|
# <br>
|
902
905
|
# <br>To call `ListAvailableLocations` with a specified project, a member
|
903
906
|
# must be at minimum a Viewer of the project. Calls without a specified
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://firebase.google.com/docs/hosting/
|
28
28
|
module FirebasehostingV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200407'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -366,7 +366,7 @@ module Google
|
|
366
366
|
end
|
367
367
|
end
|
368
368
|
|
369
|
-
#
|
369
|
+
# The response to listing Domains.
|
370
370
|
class ListDomainsResponse
|
371
371
|
include Google::Apis::Core::Hashable
|
372
372
|
|
@@ -391,7 +391,7 @@ module Google
|
|
391
391
|
end
|
392
392
|
end
|
393
393
|
|
394
|
-
#
|
394
|
+
# The response when listing Releases.
|
395
395
|
class ListReleasesResponse
|
396
396
|
include Google::Apis::Core::Hashable
|
397
397
|
|
@@ -419,7 +419,7 @@ module Google
|
|
419
419
|
end
|
420
420
|
end
|
421
421
|
|
422
|
-
#
|
422
|
+
# The response when listing a Version's Files..
|
423
423
|
class ListVersionFilesResponse
|
424
424
|
include Google::Apis::Core::Hashable
|
425
425
|
|
@@ -444,7 +444,7 @@ module Google
|
|
444
444
|
end
|
445
445
|
end
|
446
446
|
|
447
|
-
#
|
447
|
+
# The response when listing Versions.
|
448
448
|
class ListVersionsResponse
|
449
449
|
include Google::Apis::Core::Hashable
|
450
450
|
|
@@ -552,7 +552,7 @@ module Google
|
|
552
552
|
end
|
553
553
|
end
|
554
554
|
|
555
|
-
#
|
555
|
+
# The request to populate a Version's Files.
|
556
556
|
class PopulateVersionFilesRequest
|
557
557
|
include Google::Apis::Core::Hashable
|
558
558
|
|
@@ -574,7 +574,7 @@ module Google
|
|
574
574
|
end
|
575
575
|
end
|
576
576
|
|
577
|
-
#
|
577
|
+
# The response to a PopulateVersionFilesRequest.
|
578
578
|
class PopulateVersionFilesResponse
|
579
579
|
include Google::Apis::Core::Hashable
|
580
580
|
|
@@ -81,6 +81,684 @@ module Google
|
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
84
|
+
# Gets the Hosting metadata for a specific site.
|
85
|
+
# @param [String] name
|
86
|
+
# Required. The site for which to get the SiteConfig, in the format:
|
87
|
+
# <code>sites/<var>site-name</var>/config</code>
|
88
|
+
# @param [String] fields
|
89
|
+
# Selector specifying which fields to include in a partial response.
|
90
|
+
# @param [String] quota_user
|
91
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
93
|
+
# @param [Google::Apis::RequestOptions] options
|
94
|
+
# Request-specific options
|
95
|
+
#
|
96
|
+
# @yield [result, err] Result & error if block supplied
|
97
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::SiteConfig] parsed result object
|
98
|
+
# @yieldparam err [StandardError] error object if request failed
|
99
|
+
#
|
100
|
+
# @return [Google::Apis::FirebasehostingV1beta1::SiteConfig]
|
101
|
+
#
|
102
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
103
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
|
+
def get_project_site_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
107
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation
|
108
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::SiteConfig
|
109
|
+
command.params['name'] = name unless name.nil?
|
110
|
+
command.query['fields'] = fields unless fields.nil?
|
111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
|
+
execute_or_queue_command(command, &block)
|
113
|
+
end
|
114
|
+
|
115
|
+
# Sets the Hosting metadata for a specific site.
|
116
|
+
# @param [String] name
|
117
|
+
# Required. The site for which to update the SiteConfig, in the format:
|
118
|
+
# <code>sites/<var>site-name</var>/config</code>
|
119
|
+
# @param [Google::Apis::FirebasehostingV1beta1::SiteConfig] site_config_object
|
120
|
+
# @param [String] update_mask
|
121
|
+
# A set of field names from your [site configuration](../sites.SiteConfig)
|
122
|
+
# that you want to update.
|
123
|
+
# <br>A field will be overwritten if, and only if, it's in the mask.
|
124
|
+
# <br>If a mask is not provided then a default mask of only
|
125
|
+
# [`max_versions`](../sites.SiteConfig.max_versions) will be used.
|
126
|
+
# @param [String] fields
|
127
|
+
# Selector specifying which fields to include in a partial response.
|
128
|
+
# @param [String] quota_user
|
129
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
130
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
131
|
+
# @param [Google::Apis::RequestOptions] options
|
132
|
+
# Request-specific options
|
133
|
+
#
|
134
|
+
# @yield [result, err] Result & error if block supplied
|
135
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::SiteConfig] parsed result object
|
136
|
+
# @yieldparam err [StandardError] error object if request failed
|
137
|
+
#
|
138
|
+
# @return [Google::Apis::FirebasehostingV1beta1::SiteConfig]
|
139
|
+
#
|
140
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
141
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
|
+
def update_project_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
144
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
145
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation
|
146
|
+
command.request_object = site_config_object
|
147
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation
|
148
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::SiteConfig
|
149
|
+
command.params['name'] = name unless name.nil?
|
150
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
151
|
+
command.query['fields'] = fields unless fields.nil?
|
152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
153
|
+
execute_or_queue_command(command, &block)
|
154
|
+
end
|
155
|
+
|
156
|
+
# Creates a new release which makes the content of the specified version
|
157
|
+
# actively display on the appropriate URL(s).
|
158
|
+
# @param [String] parent
|
159
|
+
# Required. The site that the release belongs to, in the format:
|
160
|
+
# <code>sites/<var>site-name</var></code>
|
161
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
162
|
+
# @param [String] version_name
|
163
|
+
# The unique identifier for a version, in the format:
|
164
|
+
# <code>/sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
165
|
+
# The <var>site-name</var> in this version identifier must match the
|
166
|
+
# <var>site-name</var> in the `parent` parameter.
|
167
|
+
# <br>
|
168
|
+
# <br>This query parameter must be empty if the `type` field in the
|
169
|
+
# request body is `SITE_DISABLE`.
|
170
|
+
# @param [String] fields
|
171
|
+
# Selector specifying which fields to include in a partial response.
|
172
|
+
# @param [String] quota_user
|
173
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
174
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
175
|
+
# @param [Google::Apis::RequestOptions] options
|
176
|
+
# Request-specific options
|
177
|
+
#
|
178
|
+
# @yield [result, err] Result & error if block supplied
|
179
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
|
180
|
+
# @yieldparam err [StandardError] error object if request failed
|
181
|
+
#
|
182
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Release]
|
183
|
+
#
|
184
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
185
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
186
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
187
|
+
def create_project_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
188
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/releases', options)
|
189
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
|
190
|
+
command.request_object = release_object
|
191
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
|
192
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Release
|
193
|
+
command.params['parent'] = parent unless parent.nil?
|
194
|
+
command.query['versionName'] = version_name unless version_name.nil?
|
195
|
+
command.query['fields'] = fields unless fields.nil?
|
196
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
197
|
+
execute_or_queue_command(command, &block)
|
198
|
+
end
|
199
|
+
|
200
|
+
# Lists the releases that have been created on the specified site.
|
201
|
+
# @param [String] parent
|
202
|
+
# Required. The parent for which to list files, in the format:
|
203
|
+
# <code>sites/<var>site-name</var></code>
|
204
|
+
# @param [Fixnum] page_size
|
205
|
+
# The page size to return. Defaults to 100.
|
206
|
+
# @param [String] page_token
|
207
|
+
# The next_page_token from a previous request, if provided.
|
208
|
+
# @param [String] fields
|
209
|
+
# Selector specifying which fields to include in a partial response.
|
210
|
+
# @param [String] quota_user
|
211
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
212
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
213
|
+
# @param [Google::Apis::RequestOptions] options
|
214
|
+
# Request-specific options
|
215
|
+
#
|
216
|
+
# @yield [result, err] Result & error if block supplied
|
217
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListReleasesResponse] parsed result object
|
218
|
+
# @yieldparam err [StandardError] error object if request failed
|
219
|
+
#
|
220
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListReleasesResponse]
|
221
|
+
#
|
222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
225
|
+
def list_project_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
226
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/releases', options)
|
227
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation
|
228
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
|
229
|
+
command.params['parent'] = parent unless parent.nil?
|
230
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
231
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
232
|
+
command.query['fields'] = fields unless fields.nil?
|
233
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
234
|
+
execute_or_queue_command(command, &block)
|
235
|
+
end
|
236
|
+
|
237
|
+
# Creates a domain mapping on the specified site.
|
238
|
+
# @param [String] parent
|
239
|
+
# Required. The parent to create the domain association for, in the format:
|
240
|
+
# <code>sites/<var>site-name</var></code>
|
241
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Domain] domain_object
|
242
|
+
# @param [String] fields
|
243
|
+
# Selector specifying which fields to include in a partial response.
|
244
|
+
# @param [String] quota_user
|
245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
247
|
+
# @param [Google::Apis::RequestOptions] options
|
248
|
+
# Request-specific options
|
249
|
+
#
|
250
|
+
# @yield [result, err] Result & error if block supplied
|
251
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Domain] parsed result object
|
252
|
+
# @yieldparam err [StandardError] error object if request failed
|
253
|
+
#
|
254
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Domain]
|
255
|
+
#
|
256
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
257
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
258
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
259
|
+
def create_project_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
260
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/domains', options)
|
261
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation
|
262
|
+
command.request_object = domain_object
|
263
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation
|
264
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Domain
|
265
|
+
command.params['parent'] = parent unless parent.nil?
|
266
|
+
command.query['fields'] = fields unless fields.nil?
|
267
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
268
|
+
execute_or_queue_command(command, &block)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Deletes the existing domain mapping on the specified site.
|
272
|
+
# @param [String] name
|
273
|
+
# Required. The name of the domain association to delete.
|
274
|
+
# @param [String] fields
|
275
|
+
# Selector specifying which fields to include in a partial response.
|
276
|
+
# @param [String] quota_user
|
277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
279
|
+
# @param [Google::Apis::RequestOptions] options
|
280
|
+
# Request-specific options
|
281
|
+
#
|
282
|
+
# @yield [result, err] Result & error if block supplied
|
283
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Empty] parsed result object
|
284
|
+
# @yieldparam err [StandardError] error object if request failed
|
285
|
+
#
|
286
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Empty]
|
287
|
+
#
|
288
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
289
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
290
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
291
|
+
def delete_project_site_domain(name, fields: nil, quota_user: nil, options: nil, &block)
|
292
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
293
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation
|
294
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Empty
|
295
|
+
command.params['name'] = name unless name.nil?
|
296
|
+
command.query['fields'] = fields unless fields.nil?
|
297
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
298
|
+
execute_or_queue_command(command, &block)
|
299
|
+
end
|
300
|
+
|
301
|
+
# Gets a domain mapping on the specified site.
|
302
|
+
# @param [String] name
|
303
|
+
# Required. The name of the domain configuration to get.
|
304
|
+
# @param [String] fields
|
305
|
+
# Selector specifying which fields to include in a partial response.
|
306
|
+
# @param [String] quota_user
|
307
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
308
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
309
|
+
# @param [Google::Apis::RequestOptions] options
|
310
|
+
# Request-specific options
|
311
|
+
#
|
312
|
+
# @yield [result, err] Result & error if block supplied
|
313
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Domain] parsed result object
|
314
|
+
# @yieldparam err [StandardError] error object if request failed
|
315
|
+
#
|
316
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Domain]
|
317
|
+
#
|
318
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
319
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
320
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
321
|
+
def get_project_site_domain(name, fields: nil, quota_user: nil, options: nil, &block)
|
322
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
323
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation
|
324
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Domain
|
325
|
+
command.params['name'] = name unless name.nil?
|
326
|
+
command.query['fields'] = fields unless fields.nil?
|
327
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
328
|
+
execute_or_queue_command(command, &block)
|
329
|
+
end
|
330
|
+
|
331
|
+
# Lists the domains for the specified site.
|
332
|
+
# @param [String] parent
|
333
|
+
# Required. The parent for which to list domains, in the format:
|
334
|
+
# <code>sites/<var>site-name</var></code>
|
335
|
+
# @param [Fixnum] page_size
|
336
|
+
# The page size to return. Defaults to 50.
|
337
|
+
# @param [String] page_token
|
338
|
+
# The next_page_token from a previous request, if provided.
|
339
|
+
# @param [String] fields
|
340
|
+
# Selector specifying which fields to include in a partial response.
|
341
|
+
# @param [String] quota_user
|
342
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
343
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
344
|
+
# @param [Google::Apis::RequestOptions] options
|
345
|
+
# Request-specific options
|
346
|
+
#
|
347
|
+
# @yield [result, err] Result & error if block supplied
|
348
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListDomainsResponse] parsed result object
|
349
|
+
# @yieldparam err [StandardError] error object if request failed
|
350
|
+
#
|
351
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListDomainsResponse]
|
352
|
+
#
|
353
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
354
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
355
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
356
|
+
def list_project_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
357
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/domains', options)
|
358
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListDomainsResponse::Representation
|
359
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListDomainsResponse
|
360
|
+
command.params['parent'] = parent unless parent.nil?
|
361
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
362
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
363
|
+
command.query['fields'] = fields unless fields.nil?
|
364
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
365
|
+
execute_or_queue_command(command, &block)
|
366
|
+
end
|
367
|
+
|
368
|
+
# Updates the specified domain mapping, creating the mapping as if it does
|
369
|
+
# not exist.
|
370
|
+
# @param [String] name
|
371
|
+
# Required. The name of the domain association to update or create, if an
|
372
|
+
# association doesn't already exist.
|
373
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Domain] domain_object
|
374
|
+
# @param [String] fields
|
375
|
+
# Selector specifying which fields to include in a partial response.
|
376
|
+
# @param [String] quota_user
|
377
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
378
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
379
|
+
# @param [Google::Apis::RequestOptions] options
|
380
|
+
# Request-specific options
|
381
|
+
#
|
382
|
+
# @yield [result, err] Result & error if block supplied
|
383
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Domain] parsed result object
|
384
|
+
# @yieldparam err [StandardError] error object if request failed
|
385
|
+
#
|
386
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Domain]
|
387
|
+
#
|
388
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
389
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
390
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
391
|
+
def update_project_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
392
|
+
command = make_simple_command(:put, 'v1beta1/{+name}', options)
|
393
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation
|
394
|
+
command.request_object = domain_object
|
395
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation
|
396
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Domain
|
397
|
+
command.params['name'] = name unless name.nil?
|
398
|
+
command.query['fields'] = fields unless fields.nil?
|
399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
400
|
+
execute_or_queue_command(command, &block)
|
401
|
+
end
|
402
|
+
|
403
|
+
# Creates a new release which makes the content of the specified version
|
404
|
+
# actively display on the appropriate URL(s).
|
405
|
+
# @param [String] parent
|
406
|
+
# Required. The site that the release belongs to, in the format:
|
407
|
+
# <code>sites/<var>site-name</var></code>
|
408
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
409
|
+
# @param [String] version_name
|
410
|
+
# The unique identifier for a version, in the format:
|
411
|
+
# <code>/sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
412
|
+
# The <var>site-name</var> in this version identifier must match the
|
413
|
+
# <var>site-name</var> in the `parent` parameter.
|
414
|
+
# <br>
|
415
|
+
# <br>This query parameter must be empty if the `type` field in the
|
416
|
+
# request body is `SITE_DISABLE`.
|
417
|
+
# @param [String] fields
|
418
|
+
# Selector specifying which fields to include in a partial response.
|
419
|
+
# @param [String] quota_user
|
420
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
421
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
422
|
+
# @param [Google::Apis::RequestOptions] options
|
423
|
+
# Request-specific options
|
424
|
+
#
|
425
|
+
# @yield [result, err] Result & error if block supplied
|
426
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
|
427
|
+
# @yieldparam err [StandardError] error object if request failed
|
428
|
+
#
|
429
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Release]
|
430
|
+
#
|
431
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
+
def create_project_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/releases', options)
|
436
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
|
437
|
+
command.request_object = release_object
|
438
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
|
439
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Release
|
440
|
+
command.params['parent'] = parent unless parent.nil?
|
441
|
+
command.query['versionName'] = version_name unless version_name.nil?
|
442
|
+
command.query['fields'] = fields unless fields.nil?
|
443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
444
|
+
execute_or_queue_command(command, &block)
|
445
|
+
end
|
446
|
+
|
447
|
+
# Lists the releases that have been created on the specified site.
|
448
|
+
# @param [String] parent
|
449
|
+
# Required. The parent for which to list files, in the format:
|
450
|
+
# <code>sites/<var>site-name</var></code>
|
451
|
+
# @param [Fixnum] page_size
|
452
|
+
# The page size to return. Defaults to 100.
|
453
|
+
# @param [String] page_token
|
454
|
+
# The next_page_token from a previous request, if provided.
|
455
|
+
# @param [String] fields
|
456
|
+
# Selector specifying which fields to include in a partial response.
|
457
|
+
# @param [String] quota_user
|
458
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
459
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
460
|
+
# @param [Google::Apis::RequestOptions] options
|
461
|
+
# Request-specific options
|
462
|
+
#
|
463
|
+
# @yield [result, err] Result & error if block supplied
|
464
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListReleasesResponse] parsed result object
|
465
|
+
# @yieldparam err [StandardError] error object if request failed
|
466
|
+
#
|
467
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListReleasesResponse]
|
468
|
+
#
|
469
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
470
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
471
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
472
|
+
def list_project_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
473
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/releases', options)
|
474
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation
|
475
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
|
476
|
+
command.params['parent'] = parent unless parent.nil?
|
477
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
478
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
479
|
+
command.query['fields'] = fields unless fields.nil?
|
480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
481
|
+
execute_or_queue_command(command, &block)
|
482
|
+
end
|
483
|
+
|
484
|
+
# Creates a new version on the target site using the content
|
485
|
+
# of the specified version.
|
486
|
+
# @param [String] parent
|
487
|
+
# Required. The target site where the cloned version will reside,
|
488
|
+
# in the format: `sites/`site``
|
489
|
+
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
490
|
+
# @param [String] fields
|
491
|
+
# Selector specifying which fields to include in a partial response.
|
492
|
+
# @param [String] quota_user
|
493
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
494
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
495
|
+
# @param [Google::Apis::RequestOptions] options
|
496
|
+
# Request-specific options
|
497
|
+
#
|
498
|
+
# @yield [result, err] Result & error if block supplied
|
499
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Operation] parsed result object
|
500
|
+
# @yieldparam err [StandardError] error object if request failed
|
501
|
+
#
|
502
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Operation]
|
503
|
+
#
|
504
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
505
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
506
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
507
|
+
def clone_project_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
508
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/versions:clone', options)
|
509
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::CloneVersionRequest::Representation
|
510
|
+
command.request_object = clone_version_request_object
|
511
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Operation::Representation
|
512
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Operation
|
513
|
+
command.params['parent'] = parent unless parent.nil?
|
514
|
+
command.query['fields'] = fields unless fields.nil?
|
515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
516
|
+
execute_or_queue_command(command, &block)
|
517
|
+
end
|
518
|
+
|
519
|
+
# Creates a new version for a site.
|
520
|
+
# @param [String] parent
|
521
|
+
# Required. The parent to create the version for, in the format:
|
522
|
+
# <code>sites/<var>site-name</var></code>
|
523
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
524
|
+
# @param [Fixnum] size_bytes
|
525
|
+
# The self-reported size of the version. This value is used for a pre-emptive
|
526
|
+
# quota check for legacy version uploads.
|
527
|
+
# @param [String] version_id
|
528
|
+
# A unique id for the new version. This is only specified for legacy version
|
529
|
+
# creations.
|
530
|
+
# @param [String] fields
|
531
|
+
# Selector specifying which fields to include in a partial response.
|
532
|
+
# @param [String] quota_user
|
533
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
534
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
535
|
+
# @param [Google::Apis::RequestOptions] options
|
536
|
+
# Request-specific options
|
537
|
+
#
|
538
|
+
# @yield [result, err] Result & error if block supplied
|
539
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Version] parsed result object
|
540
|
+
# @yieldparam err [StandardError] error object if request failed
|
541
|
+
#
|
542
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Version]
|
543
|
+
#
|
544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
547
|
+
def create_project_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
548
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/versions', options)
|
549
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation
|
550
|
+
command.request_object = version_object
|
551
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation
|
552
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Version
|
553
|
+
command.params['parent'] = parent unless parent.nil?
|
554
|
+
command.query['sizeBytes'] = size_bytes unless size_bytes.nil?
|
555
|
+
command.query['versionId'] = version_id unless version_id.nil?
|
556
|
+
command.query['fields'] = fields unless fields.nil?
|
557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
558
|
+
execute_or_queue_command(command, &block)
|
559
|
+
end
|
560
|
+
|
561
|
+
# Deletes the specified version.
|
562
|
+
# @param [String] name
|
563
|
+
# Required. The name of the version to be deleted, in the format:
|
564
|
+
# <code>sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
565
|
+
# @param [String] fields
|
566
|
+
# Selector specifying which fields to include in a partial response.
|
567
|
+
# @param [String] quota_user
|
568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
570
|
+
# @param [Google::Apis::RequestOptions] options
|
571
|
+
# Request-specific options
|
572
|
+
#
|
573
|
+
# @yield [result, err] Result & error if block supplied
|
574
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Empty] parsed result object
|
575
|
+
# @yieldparam err [StandardError] error object if request failed
|
576
|
+
#
|
577
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Empty]
|
578
|
+
#
|
579
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
580
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
581
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
582
|
+
def delete_project_site_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
583
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
584
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation
|
585
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Empty
|
586
|
+
command.params['name'] = name unless name.nil?
|
587
|
+
command.query['fields'] = fields unless fields.nil?
|
588
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
589
|
+
execute_or_queue_command(command, &block)
|
590
|
+
end
|
591
|
+
|
592
|
+
# Lists the versions that have been created on the specified site.
|
593
|
+
# Will include filtering in the future.
|
594
|
+
# @param [String] parent
|
595
|
+
# Required. The parent for which to list files, in the format:
|
596
|
+
# <code>sites/<var>site-name</var></code>
|
597
|
+
# @param [String] filter
|
598
|
+
# The filter string used to return a subset of versions in the response.
|
599
|
+
# Currently supported fields for filtering are: name, status,
|
600
|
+
# and create_time. Filter processing will be implemented in accordance
|
601
|
+
# with go/filtering.
|
602
|
+
# @param [Fixnum] page_size
|
603
|
+
# The maximum number of versions to return. The service may return fewer than
|
604
|
+
# this value.
|
605
|
+
# If unspecified, at most 25 versions will be returned.
|
606
|
+
# The maximum value is 100; values above 100 will be coerced to 100
|
607
|
+
# @param [String] page_token
|
608
|
+
# The next_page_token from a previous request, if provided.
|
609
|
+
# @param [String] fields
|
610
|
+
# Selector specifying which fields to include in a partial response.
|
611
|
+
# @param [String] quota_user
|
612
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
613
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
614
|
+
# @param [Google::Apis::RequestOptions] options
|
615
|
+
# Request-specific options
|
616
|
+
#
|
617
|
+
# @yield [result, err] Result & error if block supplied
|
618
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListVersionsResponse] parsed result object
|
619
|
+
# @yieldparam err [StandardError] error object if request failed
|
620
|
+
#
|
621
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListVersionsResponse]
|
622
|
+
#
|
623
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
624
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
625
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
626
|
+
def list_project_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
627
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
|
628
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse::Representation
|
629
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
|
630
|
+
command.params['parent'] = parent unless parent.nil?
|
631
|
+
command.query['filter'] = filter unless filter.nil?
|
632
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
633
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
634
|
+
command.query['fields'] = fields unless fields.nil?
|
635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
636
|
+
execute_or_queue_command(command, &block)
|
637
|
+
end
|
638
|
+
|
639
|
+
# Updates the specified metadata for a version. Note that this method will
|
640
|
+
# fail with `FAILED_PRECONDITION` in the event of an invalid state
|
641
|
+
# transition. The only valid transition for a version is currently from a
|
642
|
+
# `CREATED` status to a `FINALIZED` status.
|
643
|
+
# Use [`DeleteVersion`](../sites.versions/delete) to set the status of a
|
644
|
+
# version to `DELETED`.
|
645
|
+
# @param [String] name
|
646
|
+
# The unique identifier for a version, in the format:
|
647
|
+
# <code>sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
648
|
+
# This name is provided in the response body when you call the
|
649
|
+
# [`CreateVersion`](../sites.versions/create) endpoint.
|
650
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
651
|
+
# @param [String] update_mask
|
652
|
+
# A set of field names from your [version](../sites.versions) that you want
|
653
|
+
# to update.
|
654
|
+
# <br>A field will be overwritten if, and only if, it's in the mask.
|
655
|
+
# <br>If a mask is not provided then a default mask of only
|
656
|
+
# [`status`](../sites.versions#Version.FIELDS.status) will be used.
|
657
|
+
# @param [String] fields
|
658
|
+
# Selector specifying which fields to include in a partial response.
|
659
|
+
# @param [String] quota_user
|
660
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
661
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
662
|
+
# @param [Google::Apis::RequestOptions] options
|
663
|
+
# Request-specific options
|
664
|
+
#
|
665
|
+
# @yield [result, err] Result & error if block supplied
|
666
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Version] parsed result object
|
667
|
+
# @yieldparam err [StandardError] error object if request failed
|
668
|
+
#
|
669
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Version]
|
670
|
+
#
|
671
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
672
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
673
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
674
|
+
def patch_project_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
675
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
676
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation
|
677
|
+
command.request_object = version_object
|
678
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation
|
679
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Version
|
680
|
+
command.params['name'] = name unless name.nil?
|
681
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
682
|
+
command.query['fields'] = fields unless fields.nil?
|
683
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
684
|
+
execute_or_queue_command(command, &block)
|
685
|
+
end
|
686
|
+
|
687
|
+
# Adds content files to a version.
|
688
|
+
# @param [String] parent
|
689
|
+
# Required. The version to add files to, in the format:
|
690
|
+
# <code>sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
691
|
+
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
692
|
+
# @param [String] fields
|
693
|
+
# Selector specifying which fields to include in a partial response.
|
694
|
+
# @param [String] quota_user
|
695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
697
|
+
# @param [Google::Apis::RequestOptions] options
|
698
|
+
# Request-specific options
|
699
|
+
#
|
700
|
+
# @yield [result, err] Result & error if block supplied
|
701
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse] parsed result object
|
702
|
+
# @yieldparam err [StandardError] error object if request failed
|
703
|
+
#
|
704
|
+
# @return [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse]
|
705
|
+
#
|
706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
709
|
+
def populate_project_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
710
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}:populateFiles', options)
|
711
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest::Representation
|
712
|
+
command.request_object = populate_version_files_request_object
|
713
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse::Representation
|
714
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
|
715
|
+
command.params['parent'] = parent unless parent.nil?
|
716
|
+
command.query['fields'] = fields unless fields.nil?
|
717
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
718
|
+
execute_or_queue_command(command, &block)
|
719
|
+
end
|
720
|
+
|
721
|
+
# Lists the remaining files to be uploaded for the specified version.
|
722
|
+
# @param [String] parent
|
723
|
+
# Required. The parent to list files for, in the format:
|
724
|
+
# <code>sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
725
|
+
# @param [Fixnum] page_size
|
726
|
+
# The page size to return. Defaults to 1000.
|
727
|
+
# @param [String] page_token
|
728
|
+
# The next_page_token from a previous request, if provided. This will be the
|
729
|
+
# encoded version of a firebase.hosting.proto.metadata.ListFilesPageToken.
|
730
|
+
# @param [String] status
|
731
|
+
# The type of files in the version that should be listed.
|
732
|
+
# @param [String] fields
|
733
|
+
# Selector specifying which fields to include in a partial response.
|
734
|
+
# @param [String] quota_user
|
735
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
736
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
737
|
+
# @param [Google::Apis::RequestOptions] options
|
738
|
+
# Request-specific options
|
739
|
+
#
|
740
|
+
# @yield [result, err] Result & error if block supplied
|
741
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse] parsed result object
|
742
|
+
# @yieldparam err [StandardError] error object if request failed
|
743
|
+
#
|
744
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse]
|
745
|
+
#
|
746
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
747
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
748
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
749
|
+
def list_project_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil, &block)
|
750
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/files', options)
|
751
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse::Representation
|
752
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse
|
753
|
+
command.params['parent'] = parent unless parent.nil?
|
754
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
755
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
756
|
+
command.query['status'] = status unless status.nil?
|
757
|
+
command.query['fields'] = fields unless fields.nil?
|
758
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
759
|
+
execute_or_queue_command(command, &block)
|
760
|
+
end
|
761
|
+
|
84
762
|
# Gets the Hosting metadata for a specific site.
|
85
763
|
# @param [String] name
|
86
764
|
# Required. The site for which to get the SiteConfig, in the format:
|
@@ -153,6 +831,87 @@ module Google
|
|
153
831
|
execute_or_queue_command(command, &block)
|
154
832
|
end
|
155
833
|
|
834
|
+
# Creates a new release which makes the content of the specified version
|
835
|
+
# actively display on the appropriate URL(s).
|
836
|
+
# @param [String] parent
|
837
|
+
# Required. The site that the release belongs to, in the format:
|
838
|
+
# <code>sites/<var>site-name</var></code>
|
839
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
840
|
+
# @param [String] version_name
|
841
|
+
# The unique identifier for a version, in the format:
|
842
|
+
# <code>/sites/<var>site-name</var>/versions/<var>versionID</var></code>
|
843
|
+
# The <var>site-name</var> in this version identifier must match the
|
844
|
+
# <var>site-name</var> in the `parent` parameter.
|
845
|
+
# <br>
|
846
|
+
# <br>This query parameter must be empty if the `type` field in the
|
847
|
+
# request body is `SITE_DISABLE`.
|
848
|
+
# @param [String] fields
|
849
|
+
# Selector specifying which fields to include in a partial response.
|
850
|
+
# @param [String] quota_user
|
851
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
852
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
853
|
+
# @param [Google::Apis::RequestOptions] options
|
854
|
+
# Request-specific options
|
855
|
+
#
|
856
|
+
# @yield [result, err] Result & error if block supplied
|
857
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
|
858
|
+
# @yieldparam err [StandardError] error object if request failed
|
859
|
+
#
|
860
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Release]
|
861
|
+
#
|
862
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
+
def create_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
866
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/releases', options)
|
867
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
|
868
|
+
command.request_object = release_object
|
869
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
|
870
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Release
|
871
|
+
command.params['parent'] = parent unless parent.nil?
|
872
|
+
command.query['versionName'] = version_name unless version_name.nil?
|
873
|
+
command.query['fields'] = fields unless fields.nil?
|
874
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
875
|
+
execute_or_queue_command(command, &block)
|
876
|
+
end
|
877
|
+
|
878
|
+
# Lists the releases that have been created on the specified site.
|
879
|
+
# @param [String] parent
|
880
|
+
# Required. The parent for which to list files, in the format:
|
881
|
+
# <code>sites/<var>site-name</var></code>
|
882
|
+
# @param [Fixnum] page_size
|
883
|
+
# The page size to return. Defaults to 100.
|
884
|
+
# @param [String] page_token
|
885
|
+
# The next_page_token from a previous request, if provided.
|
886
|
+
# @param [String] fields
|
887
|
+
# Selector specifying which fields to include in a partial response.
|
888
|
+
# @param [String] quota_user
|
889
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
890
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
891
|
+
# @param [Google::Apis::RequestOptions] options
|
892
|
+
# Request-specific options
|
893
|
+
#
|
894
|
+
# @yield [result, err] Result & error if block supplied
|
895
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListReleasesResponse] parsed result object
|
896
|
+
# @yieldparam err [StandardError] error object if request failed
|
897
|
+
#
|
898
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListReleasesResponse]
|
899
|
+
#
|
900
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
901
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
902
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
903
|
+
def list_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
904
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/releases', options)
|
905
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation
|
906
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
|
907
|
+
command.params['parent'] = parent unless parent.nil?
|
908
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
909
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
910
|
+
command.query['fields'] = fields unless fields.nil?
|
911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
912
|
+
execute_or_queue_command(command, &block)
|
913
|
+
end
|
914
|
+
|
156
915
|
# Creates a domain mapping on the specified site.
|
157
916
|
# @param [String] parent
|
158
917
|
# Required. The parent to create the domain association for, in the format:
|
@@ -320,9 +1079,9 @@ module Google
|
|
320
1079
|
end
|
321
1080
|
|
322
1081
|
# Creates a new release which makes the content of the specified version
|
323
|
-
# actively display on the
|
1082
|
+
# actively display on the appropriate URL(s).
|
324
1083
|
# @param [String] parent
|
325
|
-
# The site that the release belongs to, in the format:
|
1084
|
+
# Required. The site that the release belongs to, in the format:
|
326
1085
|
# <code>sites/<var>site-name</var></code>
|
327
1086
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
328
1087
|
# @param [String] version_name
|
@@ -423,7 +1182,7 @@ module Google
|
|
423
1182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
424
1183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
425
1184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
426
|
-
def
|
1185
|
+
def clone_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
427
1186
|
command = make_simple_command(:post, 'v1beta1/{+parent}/versions:clone', options)
|
428
1187
|
command.request_representation = Google::Apis::FirebasehostingV1beta1::CloneVersionRequest::Representation
|
429
1188
|
command.request_object = clone_version_request_object
|