google-api-client 0.40.2 → 0.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +285 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +113 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +403 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +16 -12
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +7 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +7 -6
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +634 -104
- data/generated/google/apis/compute_alpha/representations.rb +170 -0
- data/generated/google/apis/compute_alpha/service.rb +888 -139
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +703 -102
- data/generated/google/apis/compute_beta/representations.rb +182 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +989 -80
- data/generated/google/apis/compute_v1/representations.rb +290 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -24
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +8 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +266 -8
- data/generated/google/apis/content_v2_1/representations.rb +108 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +58 -11
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +53 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +80 -6
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +75 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +49 -88
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -59
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +50 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +577 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +27 -3
- data/generated/google/apis/iam_v1/service.rb +22 -6
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +119 -48
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +10 -7
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +118 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +15 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +15 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +74 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +20 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +594 -2
- data/generated/google/apis/youtube_v3/representations.rb +308 -0
- data/generated/google/apis/youtube_v3/service.rb +292 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +35 -19
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -12,23 +12,22 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
-
require 'google/apis/
|
16
|
-
require 'google/apis/
|
17
|
-
require 'google/apis/
|
15
|
+
require 'google/apis/firebasehosting_v1/service.rb'
|
16
|
+
require 'google/apis/firebasehosting_v1/classes.rb'
|
17
|
+
require 'google/apis/firebasehosting_v1/representations.rb'
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Firebase Hosting API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# The Firebase Hosting REST API enables programmatic and customizable
|
24
|
+
# deployments to your Firebase-hosted sites. Use this REST API to deploy new or
|
25
|
+
# updated hosting configurations and content files.
|
24
26
|
#
|
25
|
-
# @see https://
|
26
|
-
module
|
27
|
-
VERSION = '
|
28
|
-
REVISION = '
|
29
|
-
|
30
|
-
# View and manage your Google Play Developer account
|
31
|
-
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
27
|
+
# @see https://firebase.google.com/docs/hosting/
|
28
|
+
module FirebasehostingV1
|
29
|
+
VERSION = 'V1'
|
30
|
+
REVISION = '20200629'
|
32
31
|
end
|
33
32
|
end
|
34
33
|
end
|
@@ -0,0 +1,186 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module FirebasehostingV1
|
24
|
+
|
25
|
+
# The request message for Operations.CancelOperation.
|
26
|
+
class CancelOperationRequest
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
def initialize(**args)
|
30
|
+
update!(**args)
|
31
|
+
end
|
32
|
+
|
33
|
+
# Update properties of this object
|
34
|
+
def update!(**args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
39
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
40
|
+
# or the response type of an API method. For instance:
|
41
|
+
# service Foo `
|
42
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
43
|
+
# `
|
44
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
45
|
+
class Empty
|
46
|
+
include Google::Apis::Core::Hashable
|
47
|
+
|
48
|
+
def initialize(**args)
|
49
|
+
update!(**args)
|
50
|
+
end
|
51
|
+
|
52
|
+
# Update properties of this object
|
53
|
+
def update!(**args)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# The response message for Operations.ListOperations.
|
58
|
+
class ListOperationsResponse
|
59
|
+
include Google::Apis::Core::Hashable
|
60
|
+
|
61
|
+
# The standard List next-page token.
|
62
|
+
# Corresponds to the JSON property `nextPageToken`
|
63
|
+
# @return [String]
|
64
|
+
attr_accessor :next_page_token
|
65
|
+
|
66
|
+
# A list of operations that matches the specified filter in the request.
|
67
|
+
# Corresponds to the JSON property `operations`
|
68
|
+
# @return [Array<Google::Apis::FirebasehostingV1::Operation>]
|
69
|
+
attr_accessor :operations
|
70
|
+
|
71
|
+
def initialize(**args)
|
72
|
+
update!(**args)
|
73
|
+
end
|
74
|
+
|
75
|
+
# Update properties of this object
|
76
|
+
def update!(**args)
|
77
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
78
|
+
@operations = args[:operations] if args.key?(:operations)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# This resource represents a long-running operation that is the result of a
|
83
|
+
# network API call.
|
84
|
+
class Operation
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# If the value is `false`, it means the operation is still in progress.
|
88
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
89
|
+
# available.
|
90
|
+
# Corresponds to the JSON property `done`
|
91
|
+
# @return [Boolean]
|
92
|
+
attr_accessor :done
|
93
|
+
alias_method :done?, :done
|
94
|
+
|
95
|
+
# The `Status` type defines a logical error model that is suitable for
|
96
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
97
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
98
|
+
# three pieces of data: error code, error message, and error details.
|
99
|
+
# You can find out more about this error model and how to work with it in the
|
100
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
101
|
+
# Corresponds to the JSON property `error`
|
102
|
+
# @return [Google::Apis::FirebasehostingV1::Status]
|
103
|
+
attr_accessor :error
|
104
|
+
|
105
|
+
# Service-specific metadata associated with the operation. It typically
|
106
|
+
# contains progress information and common metadata such as create time.
|
107
|
+
# Some services might not provide such metadata. Any method that returns a
|
108
|
+
# long-running operation should document the metadata type, if any.
|
109
|
+
# Corresponds to the JSON property `metadata`
|
110
|
+
# @return [Hash<String,Object>]
|
111
|
+
attr_accessor :metadata
|
112
|
+
|
113
|
+
# The server-assigned name, which is only unique within the same service that
|
114
|
+
# originally returns it. If you use the default HTTP mapping, the
|
115
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
116
|
+
# Corresponds to the JSON property `name`
|
117
|
+
# @return [String]
|
118
|
+
attr_accessor :name
|
119
|
+
|
120
|
+
# The normal response of the operation in case of success. If the original
|
121
|
+
# method returns no data on success, such as `Delete`, the response is
|
122
|
+
# `google.protobuf.Empty`. If the original method is standard
|
123
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
124
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
125
|
+
# is the original method name. For example, if the original method name
|
126
|
+
# is `TakeSnapshot()`, the inferred response type is
|
127
|
+
# `TakeSnapshotResponse`.
|
128
|
+
# Corresponds to the JSON property `response`
|
129
|
+
# @return [Hash<String,Object>]
|
130
|
+
attr_accessor :response
|
131
|
+
|
132
|
+
def initialize(**args)
|
133
|
+
update!(**args)
|
134
|
+
end
|
135
|
+
|
136
|
+
# Update properties of this object
|
137
|
+
def update!(**args)
|
138
|
+
@done = args[:done] if args.key?(:done)
|
139
|
+
@error = args[:error] if args.key?(:error)
|
140
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
141
|
+
@name = args[:name] if args.key?(:name)
|
142
|
+
@response = args[:response] if args.key?(:response)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
# The `Status` type defines a logical error model that is suitable for
|
147
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
148
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
149
|
+
# three pieces of data: error code, error message, and error details.
|
150
|
+
# You can find out more about this error model and how to work with it in the
|
151
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
152
|
+
class Status
|
153
|
+
include Google::Apis::Core::Hashable
|
154
|
+
|
155
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
156
|
+
# Corresponds to the JSON property `code`
|
157
|
+
# @return [Fixnum]
|
158
|
+
attr_accessor :code
|
159
|
+
|
160
|
+
# A list of messages that carry the error details. There is a common set of
|
161
|
+
# message types for APIs to use.
|
162
|
+
# Corresponds to the JSON property `details`
|
163
|
+
# @return [Array<Hash<String,Object>>]
|
164
|
+
attr_accessor :details
|
165
|
+
|
166
|
+
# A developer-facing error message, which should be in English. Any
|
167
|
+
# user-facing error message should be localized and sent in the
|
168
|
+
# google.rpc.Status.details field, or localized by the client.
|
169
|
+
# Corresponds to the JSON property `message`
|
170
|
+
# @return [String]
|
171
|
+
attr_accessor :message
|
172
|
+
|
173
|
+
def initialize(**args)
|
174
|
+
update!(**args)
|
175
|
+
end
|
176
|
+
|
177
|
+
# Update properties of this object
|
178
|
+
def update!(**args)
|
179
|
+
@code = args[:code] if args.key?(:code)
|
180
|
+
@details = args[:details] if args.key?(:details)
|
181
|
+
@message = args[:message] if args.key?(:message)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
@@ -20,87 +20,77 @@ require 'google/apis/errors'
|
|
20
20
|
|
21
21
|
module Google
|
22
22
|
module Apis
|
23
|
-
module
|
23
|
+
module FirebasehostingV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class CancelOperationRequest
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Empty
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class ListOperationsResponse
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class Operation
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class Status
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class CancelOperationRequest
|
56
56
|
# @private
|
57
57
|
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
-
property :result_per_page, as: 'resultPerPage'
|
59
|
-
property :start_index, as: 'startIndex'
|
60
|
-
property :total_results, as: 'totalResults'
|
61
58
|
end
|
62
59
|
end
|
63
60
|
|
64
|
-
class
|
61
|
+
class Empty
|
65
62
|
# @private
|
66
63
|
class Representation < Google::Apis::Core::JsonRepresentation
|
67
|
-
property :consumption_state, as: 'consumptionState'
|
68
|
-
property :developer_payload, as: 'developerPayload'
|
69
|
-
property :kind, as: 'kind'
|
70
|
-
property :order_id, as: 'orderId'
|
71
|
-
property :purchase_state, as: 'purchaseState'
|
72
|
-
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
|
73
|
-
property :purchase_type, as: 'purchaseType'
|
74
64
|
end
|
75
65
|
end
|
76
66
|
|
77
|
-
class
|
67
|
+
class ListOperationsResponse
|
78
68
|
# @private
|
79
69
|
class Representation < Google::Apis::Core::JsonRepresentation
|
80
70
|
property :next_page_token, as: 'nextPageToken'
|
81
|
-
|
71
|
+
collection :operations, as: 'operations', class: Google::Apis::FirebasehostingV1::Operation, decorator: Google::Apis::FirebasehostingV1::Operation::Representation
|
72
|
+
|
82
73
|
end
|
83
74
|
end
|
84
75
|
|
85
|
-
class
|
76
|
+
class Operation
|
86
77
|
# @private
|
87
78
|
class Representation < Google::Apis::Core::JsonRepresentation
|
88
|
-
property :
|
89
|
-
property :
|
90
|
-
|
91
|
-
|
79
|
+
property :done, as: 'done'
|
80
|
+
property :error, as: 'error', class: Google::Apis::FirebasehostingV1::Status, decorator: Google::Apis::FirebasehostingV1::Status::Representation
|
81
|
+
|
82
|
+
hash :metadata, as: 'metadata'
|
83
|
+
property :name, as: 'name'
|
84
|
+
hash :response, as: 'response'
|
92
85
|
end
|
93
86
|
end
|
94
87
|
|
95
|
-
class
|
88
|
+
class Status
|
96
89
|
# @private
|
97
90
|
class Representation < Google::Apis::Core::JsonRepresentation
|
98
|
-
property :
|
99
|
-
|
100
|
-
property :
|
101
|
-
|
102
|
-
collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV2::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV2::VoidedPurchase::Representation
|
103
|
-
|
91
|
+
property :code, as: 'code'
|
92
|
+
collection :details, as: 'details'
|
93
|
+
property :message, as: 'message'
|
104
94
|
end
|
105
95
|
end
|
106
96
|
end
|
@@ -0,0 +1,183 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module FirebasehostingV1
|
23
|
+
# Firebase Hosting API
|
24
|
+
#
|
25
|
+
# The Firebase Hosting REST API enables programmatic and customizable
|
26
|
+
# deployments to your Firebase-hosted sites. Use this REST API to deploy new or
|
27
|
+
# updated hosting configurations and content files.
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
# require 'google/apis/firebasehosting_v1'
|
31
|
+
#
|
32
|
+
# Firebasehosting = Google::Apis::FirebasehostingV1 # Alias the module
|
33
|
+
# service = Firebasehosting::FirebaseHostingService.new
|
34
|
+
#
|
35
|
+
# @see https://firebase.google.com/docs/hosting/
|
36
|
+
class FirebaseHostingService < Google::Apis::Core::BaseService
|
37
|
+
# @return [String]
|
38
|
+
# API key. Your API key identifies your project and provides you with API access,
|
39
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
40
|
+
attr_accessor :key
|
41
|
+
|
42
|
+
# @return [String]
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
|
+
def initialize
|
48
|
+
super('https://firebasehosting.googleapis.com/', '')
|
49
|
+
@batch_path = 'batch'
|
50
|
+
end
|
51
|
+
|
52
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
53
|
+
# makes a best effort to cancel the operation, but success is not
|
54
|
+
# guaranteed. If the server doesn't support this method, it returns
|
55
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
56
|
+
# Operations.GetOperation or
|
57
|
+
# other methods to check whether the cancellation succeeded or whether the
|
58
|
+
# operation completed despite cancellation. On successful cancellation,
|
59
|
+
# the operation is not deleted; instead, it becomes an operation with
|
60
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
61
|
+
# corresponding to `Code.CANCELLED`.
|
62
|
+
# @param [String] name
|
63
|
+
# The name of the operation resource to be cancelled.
|
64
|
+
# @param [Google::Apis::FirebasehostingV1::CancelOperationRequest] cancel_operation_request_object
|
65
|
+
# @param [String] fields
|
66
|
+
# Selector specifying which fields to include in a partial response.
|
67
|
+
# @param [String] quota_user
|
68
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
69
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1::Empty] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::FirebasehostingV1::Empty]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
84
|
+
command.request_representation = Google::Apis::FirebasehostingV1::CancelOperationRequest::Representation
|
85
|
+
command.request_object = cancel_operation_request_object
|
86
|
+
command.response_representation = Google::Apis::FirebasehostingV1::Empty::Representation
|
87
|
+
command.response_class = Google::Apis::FirebasehostingV1::Empty
|
88
|
+
command.params['name'] = name unless name.nil?
|
89
|
+
command.query['fields'] = fields unless fields.nil?
|
90
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
+
execute_or_queue_command(command, &block)
|
92
|
+
end
|
93
|
+
|
94
|
+
# Deletes a long-running operation. This method indicates that the client is
|
95
|
+
# no longer interested in the operation result. It does not cancel the
|
96
|
+
# operation. If the server doesn't support this method, it returns
|
97
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
98
|
+
# @param [String] name
|
99
|
+
# The name of the operation resource to be deleted.
|
100
|
+
# @param [String] fields
|
101
|
+
# Selector specifying which fields to include in a partial response.
|
102
|
+
# @param [String] quota_user
|
103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
105
|
+
# @param [Google::Apis::RequestOptions] options
|
106
|
+
# Request-specific options
|
107
|
+
#
|
108
|
+
# @yield [result, err] Result & error if block supplied
|
109
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1::Empty] parsed result object
|
110
|
+
# @yieldparam err [StandardError] error object if request failed
|
111
|
+
#
|
112
|
+
# @return [Google::Apis::FirebasehostingV1::Empty]
|
113
|
+
#
|
114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
119
|
+
command.response_representation = Google::Apis::FirebasehostingV1::Empty::Representation
|
120
|
+
command.response_class = Google::Apis::FirebasehostingV1::Empty
|
121
|
+
command.params['name'] = name unless name.nil?
|
122
|
+
command.query['fields'] = fields unless fields.nil?
|
123
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
+
execute_or_queue_command(command, &block)
|
125
|
+
end
|
126
|
+
|
127
|
+
# Lists operations that match the specified filter in the request. If the
|
128
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
129
|
+
# NOTE: the `name` binding allows API services to override the binding
|
130
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
131
|
+
# override the binding, API services can add a binding such as
|
132
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
133
|
+
# For backwards compatibility, the default name includes the operations
|
134
|
+
# collection id, however overriding users must ensure the name binding
|
135
|
+
# is the parent resource, without the operations collection id.
|
136
|
+
# @param [String] name
|
137
|
+
# The name of the operation's parent resource.
|
138
|
+
# @param [String] filter
|
139
|
+
# The standard list filter.
|
140
|
+
# @param [Fixnum] page_size
|
141
|
+
# The standard list page size.
|
142
|
+
# @param [String] page_token
|
143
|
+
# The standard list page token.
|
144
|
+
# @param [String] fields
|
145
|
+
# Selector specifying which fields to include in a partial response.
|
146
|
+
# @param [String] quota_user
|
147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
149
|
+
# @param [Google::Apis::RequestOptions] options
|
150
|
+
# Request-specific options
|
151
|
+
#
|
152
|
+
# @yield [result, err] Result & error if block supplied
|
153
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1::ListOperationsResponse] parsed result object
|
154
|
+
# @yieldparam err [StandardError] error object if request failed
|
155
|
+
#
|
156
|
+
# @return [Google::Apis::FirebasehostingV1::ListOperationsResponse]
|
157
|
+
#
|
158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
163
|
+
command.response_representation = Google::Apis::FirebasehostingV1::ListOperationsResponse::Representation
|
164
|
+
command.response_class = Google::Apis::FirebasehostingV1::ListOperationsResponse
|
165
|
+
command.params['name'] = name unless name.nil?
|
166
|
+
command.query['filter'] = filter unless filter.nil?
|
167
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
168
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
169
|
+
command.query['fields'] = fields unless fields.nil?
|
170
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
171
|
+
execute_or_queue_command(command, &block)
|
172
|
+
end
|
173
|
+
|
174
|
+
protected
|
175
|
+
|
176
|
+
def apply_command_defaults(command)
|
177
|
+
command.query['key'] = key unless key.nil?
|
178
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|