google-api-client 0.41.1 → 0.43.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 +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- 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/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- 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 +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -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 -94
- 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 +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- 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 +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- 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/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- 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 +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- 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/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- 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 +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- 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_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- 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 +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -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/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- 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 +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -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 +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.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 +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- 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/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- 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
@@ -50,23 +50,22 @@ module Google
|
|
50
50
|
# Search through fact-checked claims.
|
51
51
|
# @param [String] language_code
|
52
52
|
# The BCP-47 language code, such as "en-US" or "sr-Latn". Can be used to
|
53
|
-
# restrict results by language, though we do not currently consider the
|
54
|
-
# region.
|
53
|
+
# restrict results by language, though we do not currently consider the region.
|
55
54
|
# @param [Fixnum] max_age_days
|
56
|
-
# The maximum age of the returned search results, in days.
|
57
|
-
#
|
55
|
+
# The maximum age of the returned search results, in days. Age is determined by
|
56
|
+
# either claim date or review date, whichever is newer.
|
58
57
|
# @param [Fixnum] offset
|
59
58
|
# An integer that specifies the current offset (that is, starting result
|
60
|
-
# location) in search results. This field is only considered if `page_token`
|
61
|
-
#
|
62
|
-
#
|
59
|
+
# location) in search results. This field is only considered if `page_token` is
|
60
|
+
# unset. For example, 0 means to return results starting from the first matching
|
61
|
+
# result, and 10 means to return from the 11th result.
|
63
62
|
# @param [Fixnum] page_size
|
64
|
-
# The pagination size. We will return up to that many results. Defaults to
|
65
|
-
#
|
63
|
+
# The pagination size. We will return up to that many results. Defaults to 10 if
|
64
|
+
# not set.
|
66
65
|
# @param [String] page_token
|
67
66
|
# The pagination token. You may provide the `next_page_token` returned from a
|
68
|
-
# previous List request, if any, in order to get the next page. All other
|
69
|
-
#
|
67
|
+
# previous List request, if any, in order to get the next page. All other fields
|
68
|
+
# must have the same values as in the previous request.
|
70
69
|
# @param [String] query
|
71
70
|
# Textual query string. Required unless `review_publisher_site_filter` is
|
72
71
|
# specified.
|
@@ -195,29 +194,28 @@ module Google
|
|
195
194
|
execute_or_queue_command(command, &block)
|
196
195
|
end
|
197
196
|
|
198
|
-
# List the `ClaimReview` markup pages for a specific URL or for an
|
199
|
-
# organization.
|
197
|
+
# List the `ClaimReview` markup pages for a specific URL or for an organization.
|
200
198
|
# @param [Fixnum] offset
|
201
199
|
# An integer that specifies the current offset (that is, starting result
|
202
|
-
# location) in search results. This field is only considered if `page_token`
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
200
|
+
# location) in search results. This field is only considered if `page_token` is
|
201
|
+
# unset, and if the request is not for a specific URL. For example, 0 means to
|
202
|
+
# return results starting from the first matching result, and 10 means to return
|
203
|
+
# from the 11th result.
|
206
204
|
# @param [String] organization
|
207
|
-
# The organization for which we want to fetch markups for. For instance,
|
208
|
-
#
|
205
|
+
# The organization for which we want to fetch markups for. For instance, "site.
|
206
|
+
# com". Cannot be specified along with an URL.
|
209
207
|
# @param [Fixnum] page_size
|
210
|
-
# The pagination size. We will return up to that many results. Defaults to
|
211
|
-
#
|
208
|
+
# The pagination size. We will return up to that many results. Defaults to 10 if
|
209
|
+
# not set. Has no effect if a URL is requested.
|
212
210
|
# @param [String] page_token
|
213
211
|
# The pagination token. You may provide the `next_page_token` returned from a
|
214
|
-
# previous List request, if any, in order to get the next page. All other
|
215
|
-
#
|
212
|
+
# previous List request, if any, in order to get the next page. All other fields
|
213
|
+
# must have the same values as in the previous request.
|
216
214
|
# @param [String] url
|
217
215
|
# The URL from which to get `ClaimReview` markup. There will be at most one
|
218
216
|
# result. If markup is associated with a more canonical version of the URL
|
219
|
-
# provided, we will return that URL instead. Cannot be specified along with
|
220
|
-
#
|
217
|
+
# provided, we will return that URL instead. Cannot be specified along with an
|
218
|
+
# organization.
|
221
219
|
# @param [String] fields
|
222
220
|
# Selector specifying which fields to include in a partial response.
|
223
221
|
# @param [String] quota_user
|
@@ -249,15 +247,14 @@ module Google
|
|
249
247
|
execute_or_queue_command(command, &block)
|
250
248
|
end
|
251
249
|
|
252
|
-
# Update for all `ClaimReview` markup on a page
|
253
|
-
#
|
254
|
-
#
|
255
|
-
#
|
256
|
-
# body.
|
250
|
+
# Update for all `ClaimReview` markup on a page Note that this is a full update.
|
251
|
+
# To retain the existing `ClaimReview` markup on a page, first perform a Get
|
252
|
+
# operation, then modify the returned markup, and finally call Update with the
|
253
|
+
# entire `ClaimReview` markup as the body.
|
257
254
|
# @param [String] name
|
258
|
-
# The name of this `ClaimReview` markup page resource, in the form of
|
259
|
-
#
|
260
|
-
#
|
255
|
+
# The name of this `ClaimReview` markup page resource, in the form of `pages/`
|
256
|
+
# page_id``. Except for update requests, this field is output-only and should
|
257
|
+
# not be set by the user.
|
261
258
|
# @param [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage] google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
262
259
|
# @param [String] fields
|
263
260
|
# Selector specifying which fields to include in a partial response.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/cloud-messaging
|
27
27
|
module FcmV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200720'
|
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'
|
@@ -22,27 +22,27 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module FcmV1
|
24
24
|
|
25
|
-
# Android specific options for messages sent through
|
26
|
-
#
|
25
|
+
# Android specific options for messages sent through [FCM connection server](
|
26
|
+
# https://goo.gl/4GLdUl).
|
27
27
|
class AndroidConfig
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
-
# An identifier of a group of messages that can be collapsed, so that only
|
31
|
-
#
|
32
|
-
#
|
30
|
+
# An identifier of a group of messages that can be collapsed, so that only the
|
31
|
+
# last message gets sent when delivery can be resumed. A maximum of 4 different
|
32
|
+
# collapse keys is allowed at any given time.
|
33
33
|
# Corresponds to the JSON property `collapseKey`
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :collapse_key
|
36
36
|
|
37
|
-
# Arbitrary key/value payload. If present, it will override
|
38
|
-
#
|
37
|
+
# Arbitrary key/value payload. If present, it will override google.firebase.fcm.
|
38
|
+
# v1.Message.data.
|
39
39
|
# Corresponds to the JSON property `data`
|
40
40
|
# @return [Hash<String,String>]
|
41
41
|
attr_accessor :data
|
42
42
|
|
43
|
-
# If set to true, messages will be allowed to be delivered to the app while
|
44
|
-
#
|
45
|
-
#
|
43
|
+
# If set to true, messages will be allowed to be delivered to the app while the
|
44
|
+
# device is in direct boot mode. See [Support Direct Boot mode](https://
|
45
|
+
# developer.android.com/training/articles/direct-boot).
|
46
46
|
# Corresponds to the JSON property `directBootOk`
|
47
47
|
# @return [Boolean]
|
48
48
|
attr_accessor :direct_boot_ok
|
@@ -58,9 +58,8 @@ module Google
|
|
58
58
|
# @return [Google::Apis::FcmV1::AndroidNotification]
|
59
59
|
attr_accessor :notification
|
60
60
|
|
61
|
-
# Message priority. Can take "normal" and "high" values.
|
62
|
-
#
|
63
|
-
# message](https://goo.gl/GjONJv).
|
61
|
+
# Message priority. Can take "normal" and "high" values. For more information,
|
62
|
+
# see [Setting the priority of a message](https://goo.gl/GjONJv).
|
64
63
|
# Corresponds to the JSON property `priority`
|
65
64
|
# @return [String]
|
66
65
|
attr_accessor :priority
|
@@ -71,17 +70,16 @@ module Google
|
|
71
70
|
# @return [String]
|
72
71
|
attr_accessor :restricted_package_name
|
73
72
|
|
74
|
-
# How long (in seconds) the message should be kept in FCM storage if the
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
# is preceded by the number of seconds, with nanoseconds expressed as
|
73
|
+
# How long (in seconds) the message should be kept in FCM storage if the device
|
74
|
+
# is offline. The maximum time to live supported is 4 weeks, and the default
|
75
|
+
# value is 4 weeks if not set. Set it to 0 if want to send the message
|
76
|
+
# immediately. In JSON format, the Duration type is encoded as a string rather
|
77
|
+
# than an object, where the string ends in the suffix "s" (indicating seconds)
|
78
|
+
# and is preceded by the number of seconds, with nanoseconds expressed as
|
81
79
|
# fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
82
|
-
# encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
|
83
|
-
#
|
84
|
-
#
|
80
|
+
# encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should be
|
81
|
+
# expressed in JSON format as "3.000000001s". The ttl will be rounded down to
|
82
|
+
# the nearest second.
|
85
83
|
# Corresponds to the JSON property `ttl`
|
86
84
|
# @return [String]
|
87
85
|
attr_accessor :ttl
|
@@ -126,42 +124,40 @@ module Google
|
|
126
124
|
class AndroidNotification
|
127
125
|
include Google::Apis::Core::Hashable
|
128
126
|
|
129
|
-
# The notification's body text. If present, it will override
|
130
|
-
#
|
127
|
+
# The notification's body text. If present, it will override google.firebase.fcm.
|
128
|
+
# v1.Notification.body.
|
131
129
|
# Corresponds to the JSON property `body`
|
132
130
|
# @return [String]
|
133
131
|
attr_accessor :body
|
134
132
|
|
135
133
|
# Variable string values to be used in place of the format specifiers in
|
136
134
|
# body_loc_key to use to localize the body text to the user's current
|
137
|
-
# localization.
|
138
|
-
#
|
135
|
+
# localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more
|
136
|
+
# information.
|
139
137
|
# Corresponds to the JSON property `bodyLocArgs`
|
140
138
|
# @return [Array<String>]
|
141
139
|
attr_accessor :body_loc_args
|
142
140
|
|
143
141
|
# The key to the body string in the app's string resources to use to localize
|
144
|
-
# the body text to the user's current localization.
|
145
|
-
#
|
142
|
+
# the body text to the user's current localization. See [String Resources](https:
|
143
|
+
# //goo.gl/NdFZGI) for more information.
|
146
144
|
# Corresponds to the JSON property `bodyLocKey`
|
147
145
|
# @return [String]
|
148
146
|
attr_accessor :body_loc_key
|
149
147
|
|
150
|
-
# The [notification's channel
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
# been created by the app, FCM uses the channel ID specified in the app
|
157
|
-
# manifest.
|
148
|
+
# The [notification's channel id](https://developer.android.com/guide/topics/ui/
|
149
|
+
# notifiers/notifications#ManageChannels) (new in Android O). The app must
|
150
|
+
# create a channel with this channel ID before any notification with this
|
151
|
+
# channel ID is received. If you don't send this channel ID in the request, or
|
152
|
+
# if the channel ID provided has not yet been created by the app, FCM uses the
|
153
|
+
# channel ID specified in the app manifest.
|
158
154
|
# Corresponds to the JSON property `channelId`
|
159
155
|
# @return [String]
|
160
156
|
attr_accessor :channel_id
|
161
157
|
|
162
|
-
# The action associated with a user click on the notification.
|
163
|
-
#
|
164
|
-
#
|
158
|
+
# The action associated with a user click on the notification. If specified, an
|
159
|
+
# activity with a matching intent filter is launched when a user clicks on the
|
160
|
+
# notification.
|
165
161
|
# Corresponds to the JSON property `clickAction`
|
166
162
|
# @return [String]
|
167
163
|
attr_accessor :click_action
|
@@ -171,58 +167,52 @@ module Google
|
|
171
167
|
# @return [String]
|
172
168
|
attr_accessor :color
|
173
169
|
|
174
|
-
# If set to true, use the Android framework's default LED light settings for
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
179
|
-
# set, the user-specified `light_settings` is used instead of the
|
180
|
-
# default value.
|
170
|
+
# If set to true, use the Android framework's default LED light settings for the
|
171
|
+
# notification. Default values are specified in [config.xml](https://android.
|
172
|
+
# googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.
|
173
|
+
# xml). If `default_light_settings` is set to true and `light_settings` is also
|
174
|
+
# set, the user-specified `light_settings` is used instead of the default value.
|
181
175
|
# Corresponds to the JSON property `defaultLightSettings`
|
182
176
|
# @return [Boolean]
|
183
177
|
attr_accessor :default_light_settings
|
184
178
|
alias_method :default_light_settings?, :default_light_settings
|
185
179
|
|
186
|
-
# If set to true, use the Android framework's default sound for the
|
187
|
-
#
|
188
|
-
#
|
189
|
-
# master/core/res/res/values/config.xml).
|
180
|
+
# If set to true, use the Android framework's default sound for the notification.
|
181
|
+
# Default values are specified in [config.xml](https://android.googlesource.com/
|
182
|
+
# platform/frameworks/base/+/master/core/res/res/values/config.xml).
|
190
183
|
# Corresponds to the JSON property `defaultSound`
|
191
184
|
# @return [Boolean]
|
192
185
|
attr_accessor :default_sound
|
193
186
|
alias_method :default_sound?, :default_sound
|
194
187
|
|
195
188
|
# If set to true, use the Android framework's default vibrate pattern for the
|
196
|
-
# notification. Default values are specified in
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
# `vibrate_timings`.
|
189
|
+
# notification. Default values are specified in [config.xml](https://android.
|
190
|
+
# googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.
|
191
|
+
# xml). If `default_vibrate_timings` is set to true and `vibrate_timings` is
|
192
|
+
# also set, the default value is used instead of the user-specified `
|
193
|
+
# vibrate_timings`.
|
202
194
|
# Corresponds to the JSON property `defaultVibrateTimings`
|
203
195
|
# @return [Boolean]
|
204
196
|
attr_accessor :default_vibrate_timings
|
205
197
|
alias_method :default_vibrate_timings?, :default_vibrate_timings
|
206
198
|
|
207
|
-
# Set the time that the event in the notification occurred. Notifications in
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
199
|
+
# Set the time that the event in the notification occurred. Notifications in the
|
200
|
+
# panel are sorted by this time. A point in time is represented using [protobuf.
|
201
|
+
# Timestamp](https://developers.google.com/protocol-buffers/docs/reference/java/
|
202
|
+
# com/google/protobuf/Timestamp).
|
211
203
|
# Corresponds to the JSON property `eventTime`
|
212
204
|
# @return [String]
|
213
205
|
attr_accessor :event_time
|
214
206
|
|
215
|
-
# The notification's icon.
|
216
|
-
#
|
217
|
-
#
|
218
|
-
# specified in your app manifest.
|
207
|
+
# The notification's icon. Sets the notification icon to myicon for drawable
|
208
|
+
# resource myicon. If you don't send this key in the request, FCM displays the
|
209
|
+
# launcher icon specified in your app manifest.
|
219
210
|
# Corresponds to the JSON property `icon`
|
220
211
|
# @return [String]
|
221
212
|
attr_accessor :icon
|
222
213
|
|
223
|
-
# Contains the URL of an image that is going to be displayed in a
|
224
|
-
#
|
225
|
-
# google.firebase.fcm.v1.Notification.image.
|
214
|
+
# Contains the URL of an image that is going to be displayed in a notification.
|
215
|
+
# If present, it will override google.firebase.fcm.v1.Notification.image.
|
226
216
|
# Corresponds to the JSON property `image`
|
227
217
|
# @return [String]
|
228
218
|
attr_accessor :image
|
@@ -232,114 +222,107 @@ module Google
|
|
232
222
|
# @return [Google::Apis::FcmV1::LightSettings]
|
233
223
|
attr_accessor :light_settings
|
234
224
|
|
235
|
-
# Set whether or not this notification is relevant only to the current
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
# existing-method-of-preventing-bridging)
|
225
|
+
# Set whether or not this notification is relevant only to the current device.
|
226
|
+
# Some notifications can be bridged to other devices for remote display, such as
|
227
|
+
# a Wear OS watch. This hint can be set to recommend this notification not be
|
228
|
+
# bridged. See [Wear OS guides](https://developer.android.com/training/wearables/
|
229
|
+
# notifications/bridger#existing-method-of-preventing-bridging)
|
241
230
|
# Corresponds to the JSON property `localOnly`
|
242
231
|
# @return [Boolean]
|
243
232
|
attr_accessor :local_only
|
244
233
|
alias_method :local_only?, :local_only
|
245
234
|
|
246
|
-
# Sets the number of items this notification represents. May be displayed as
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
# notification arrives.
|
235
|
+
# Sets the number of items this notification represents. May be displayed as a
|
236
|
+
# badge count for launchers that support badging.See [Notification Badge](https:/
|
237
|
+
# /developer.android.com/training/notify-user/badges). For example, this might
|
238
|
+
# be useful if you're using just one notification to represent multiple new
|
239
|
+
# messages but you want the count here to represent the number of total new
|
240
|
+
# messages. If zero or unspecified, systems that support badging use the default,
|
241
|
+
# which is to increment a number displayed on the long-press menu each time a
|
242
|
+
# new notification arrives.
|
255
243
|
# Corresponds to the JSON property `notificationCount`
|
256
244
|
# @return [Fixnum]
|
257
245
|
attr_accessor :notification_count
|
258
246
|
|
259
|
-
# Set the relative priority for this notification. Priority is an indication
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
#
|
267
|
-
#
|
268
|
-
#
|
269
|
-
# is an FCM concept that controls when the message is delivered.
|
247
|
+
# Set the relative priority for this notification. Priority is an indication of
|
248
|
+
# how much of the user's attention should be consumed by this notification. Low-
|
249
|
+
# priority notifications may be hidden from the user in certain situations,
|
250
|
+
# while the user might be interrupted for a higher-priority notification. The
|
251
|
+
# effect of setting the same priorities may differ slightly on different
|
252
|
+
# platforms. Note this priority differs from `AndroidMessagePriority`. This
|
253
|
+
# priority is processed by the client after the message has been delivered,
|
254
|
+
# whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/
|
255
|
+
# fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that
|
256
|
+
# controls when the message is delivered.
|
270
257
|
# Corresponds to the JSON property `notificationPriority`
|
271
258
|
# @return [String]
|
272
259
|
attr_accessor :notification_priority
|
273
260
|
|
274
|
-
# The sound to play when the device receives the notification.
|
275
|
-
#
|
276
|
-
#
|
261
|
+
# The sound to play when the device receives the notification. Supports "default"
|
262
|
+
# or the filename of a sound resource bundled in the app. Sound files must
|
263
|
+
# reside in /res/raw/.
|
277
264
|
# Corresponds to the JSON property `sound`
|
278
265
|
# @return [String]
|
279
266
|
attr_accessor :sound
|
280
267
|
|
281
|
-
# When set to false or unset, the notification is automatically
|
282
|
-
#
|
283
|
-
#
|
268
|
+
# When set to false or unset, the notification is automatically dismissed when
|
269
|
+
# the user clicks it in the panel. When set to true, the notification persists
|
270
|
+
# even when the user clicks it.
|
284
271
|
# Corresponds to the JSON property `sticky`
|
285
272
|
# @return [Boolean]
|
286
273
|
attr_accessor :sticky
|
287
274
|
alias_method :sticky?, :sticky
|
288
275
|
|
289
|
-
# Identifier used to replace existing notifications in the notification
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
293
|
-
# the new notification replaces the existing one in the notification drawer.
|
276
|
+
# Identifier used to replace existing notifications in the notification drawer.
|
277
|
+
# If not specified, each request creates a new notification. If specified and a
|
278
|
+
# notification with the same tag is already being shown, the new notification
|
279
|
+
# replaces the existing one in the notification drawer.
|
294
280
|
# Corresponds to the JSON property `tag`
|
295
281
|
# @return [String]
|
296
282
|
attr_accessor :tag
|
297
283
|
|
298
|
-
# Sets the "ticker" text, which is sent to accessibility services.
|
299
|
-
#
|
300
|
-
#
|
284
|
+
# Sets the "ticker" text, which is sent to accessibility services. Prior to API
|
285
|
+
# level 21 (`Lollipop`), sets the text that is displayed in the status bar when
|
286
|
+
# the notification first arrives.
|
301
287
|
# Corresponds to the JSON property `ticker`
|
302
288
|
# @return [String]
|
303
289
|
attr_accessor :ticker
|
304
290
|
|
305
|
-
# The notification's title. If present, it will override
|
306
|
-
#
|
291
|
+
# The notification's title. If present, it will override google.firebase.fcm.v1.
|
292
|
+
# Notification.title.
|
307
293
|
# Corresponds to the JSON property `title`
|
308
294
|
# @return [String]
|
309
295
|
attr_accessor :title
|
310
296
|
|
311
297
|
# Variable string values to be used in place of the format specifiers in
|
312
298
|
# title_loc_key to use to localize the title text to the user's current
|
313
|
-
# localization.
|
314
|
-
#
|
299
|
+
# localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more
|
300
|
+
# information.
|
315
301
|
# Corresponds to the JSON property `titleLocArgs`
|
316
302
|
# @return [Array<String>]
|
317
303
|
attr_accessor :title_loc_args
|
318
304
|
|
319
|
-
# The key to the title string in the app's string resources to use to
|
320
|
-
#
|
321
|
-
#
|
305
|
+
# The key to the title string in the app's string resources to use to localize
|
306
|
+
# the title text to the user's current localization. See [String Resources](
|
307
|
+
# https://goo.gl/NdFZGI) for more information.
|
322
308
|
# Corresponds to the JSON property `titleLocKey`
|
323
309
|
# @return [String]
|
324
310
|
attr_accessor :title_loc_key
|
325
311
|
|
326
|
-
# Set the vibration pattern to use. Pass in an array of
|
327
|
-
#
|
328
|
-
#
|
329
|
-
# to
|
330
|
-
#
|
331
|
-
# `Duration` to
|
332
|
-
# `
|
333
|
-
# If `vibrate_timings` is set and `default_vibrate_timings` is set to `true`,
|
312
|
+
# Set the vibration pattern to use. Pass in an array of [protobuf.Duration](
|
313
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
314
|
+
# google.protobuf.Duration) to turn on or off the vibrator. The first value
|
315
|
+
# indicates the `Duration` to wait before turning the vibrator on. The next
|
316
|
+
# value indicates the `Duration` to keep the vibrator on. Subsequent values
|
317
|
+
# alternate between `Duration` to turn the vibrator off and to turn the vibrator
|
318
|
+
# on. If `vibrate_timings` is set and `default_vibrate_timings` is set to `true`,
|
334
319
|
# the default value is used instead of the user-specified `vibrate_timings`.
|
335
320
|
# Corresponds to the JSON property `vibrateTimings`
|
336
321
|
# @return [Array<String>]
|
337
322
|
attr_accessor :vibrate_timings
|
338
323
|
|
339
|
-
# Set the
|
340
|
-
#
|
341
|
-
# Notification.html#visibility)
|
342
|
-
# of the notification.
|
324
|
+
# Set the [Notification.visibility](https://developer.android.com/reference/
|
325
|
+
# android/app/Notification.html#visibility) of the notification.
|
343
326
|
# Corresponds to the JSON property `visibility`
|
344
327
|
# @return [String]
|
345
328
|
attr_accessor :visibility
|
@@ -387,21 +370,20 @@ module Google
|
|
387
370
|
# @return [Google::Apis::FcmV1::ApnsFcmOptions]
|
388
371
|
attr_accessor :fcm_options
|
389
372
|
|
390
|
-
# HTTP request headers defined in Apple Push Notification Service. Refer to
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
373
|
+
# HTTP request headers defined in Apple Push Notification Service. Refer to [
|
374
|
+
# APNs request headers](https://developer.apple.com/documentation/
|
375
|
+
# usernotifications/setting_up_a_remote_notification_server/
|
376
|
+
# sending_notification_requests_to_apns) for supported headers, e.g. "apns-
|
377
|
+
# priority": "10".
|
395
378
|
# Corresponds to the JSON property `headers`
|
396
379
|
# @return [Hash<String,String>]
|
397
380
|
attr_accessor :headers
|
398
381
|
|
399
382
|
# APNs payload as a JSON object, including both `aps` dictionary and custom
|
400
|
-
# payload. See [Payload Key
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
# and google.firebase.fcm.v1.Notification.body.
|
383
|
+
# payload. See [Payload Key Reference](https://developer.apple.com/documentation/
|
384
|
+
# usernotifications/setting_up_a_remote_notification_server/
|
385
|
+
# generating_a_remote_notification). If present, it overrides google.firebase.
|
386
|
+
# fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.
|
405
387
|
# Corresponds to the JSON property `payload`
|
406
388
|
# @return [Hash<String,Object>]
|
407
389
|
attr_accessor :payload
|
@@ -427,9 +409,8 @@ module Google
|
|
427
409
|
# @return [String]
|
428
410
|
attr_accessor :analytics_label
|
429
411
|
|
430
|
-
# Contains the URL of an image that is going to be displayed in a
|
431
|
-
#
|
432
|
-
# google.firebase.fcm.v1.Notification.image.
|
412
|
+
# Contains the URL of an image that is going to be displayed in a notification.
|
413
|
+
# If present, it will override google.firebase.fcm.v1.Notification.image.
|
433
414
|
# Corresponds to the JSON property `image`
|
434
415
|
# @return [String]
|
435
416
|
attr_accessor :image
|
@@ -447,122 +428,61 @@ module Google
|
|
447
428
|
|
448
429
|
# Represents a color in the RGBA color space. This representation is designed
|
449
430
|
# for simplicity of conversion to/from color representations in various
|
450
|
-
# languages over compactness; for example, the fields of this representation
|
451
|
-
#
|
452
|
-
#
|
453
|
-
# method in iOS; and, with just a little work, it can be easily formatted into
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# float
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
# protocolor
|
472
|
-
# protocolor
|
473
|
-
# alpha
|
474
|
-
# `
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
# .
|
483
|
-
# .
|
484
|
-
# .
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
# .
|
492
|
-
#
|
493
|
-
# `
|
494
|
-
# return resultBuilder.build();
|
495
|
-
# `
|
496
|
-
# // ...
|
497
|
-
# Example (iOS / Obj-C):
|
498
|
-
# // ...
|
499
|
-
# static UIColor* fromProto(Color* protocolor) `
|
500
|
-
# float red = [protocolor red];
|
501
|
-
# float green = [protocolor green];
|
502
|
-
# float blue = [protocolor blue];
|
503
|
-
# FloatValue* alpha_wrapper = [protocolor alpha];
|
504
|
-
# float alpha = 1.0;
|
505
|
-
# if (alpha_wrapper != nil) `
|
506
|
-
# alpha = [alpha_wrapper value];
|
507
|
-
# `
|
508
|
-
# return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
|
509
|
-
# `
|
510
|
-
# static Color* toProto(UIColor* color) `
|
511
|
-
# CGFloat red, green, blue, alpha;
|
512
|
-
# if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
|
513
|
-
# return nil;
|
514
|
-
# `
|
515
|
-
# Color* result = [[Color alloc] init];
|
516
|
-
# [result setRed:red];
|
517
|
-
# [result setGreen:green];
|
518
|
-
# [result setBlue:blue];
|
519
|
-
# if (alpha <= 0.9999) `
|
520
|
-
# [result setAlpha:floatWrapperWithValue(alpha)];
|
521
|
-
# `
|
522
|
-
# [result autorelease];
|
523
|
-
# return result;
|
524
|
-
# `
|
525
|
-
# // ...
|
526
|
-
# Example (JavaScript):
|
527
|
-
# // ...
|
528
|
-
# var protoToCssColor = function(rgb_color) `
|
529
|
-
# var redFrac = rgb_color.red || 0.0;
|
530
|
-
# var greenFrac = rgb_color.green || 0.0;
|
531
|
-
# var blueFrac = rgb_color.blue || 0.0;
|
532
|
-
# var red = Math.floor(redFrac * 255);
|
533
|
-
# var green = Math.floor(greenFrac * 255);
|
534
|
-
# var blue = Math.floor(blueFrac * 255);
|
535
|
-
# if (!('alpha' in rgb_color)) `
|
536
|
-
# return rgbToCssColor_(red, green, blue);
|
537
|
-
# `
|
538
|
-
# var alphaFrac = rgb_color.alpha.value || 0.0;
|
539
|
-
# var rgbParams = [red, green, blue].join(',');
|
540
|
-
# return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
|
541
|
-
# `;
|
542
|
-
# var rgbToCssColor_ = function(red, green, blue) `
|
543
|
-
# var rgbNumber = new Number((red << 16) | (green << 8) | blue);
|
544
|
-
# var hexString = rgbNumber.toString(16);
|
545
|
-
# var missingZeros = 6 - hexString.length;
|
546
|
-
# var resultBuilder = ['#'];
|
547
|
-
# for (var i = 0; i < missingZeros; i++) `
|
548
|
-
# resultBuilder.push('0');
|
549
|
-
# `
|
550
|
-
# resultBuilder.push(hexString);
|
551
|
-
# return resultBuilder.join('');
|
552
|
-
# `;
|
553
|
-
# // ...
|
431
|
+
# languages over compactness; for example, the fields of this representation can
|
432
|
+
# be trivially provided to the constructor of "java.awt.Color" in Java; it can
|
433
|
+
# also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
434
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
435
|
+
# CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry
|
436
|
+
# information about the absolute color space that should be used to interpret
|
437
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
438
|
+
# applications SHOULD assume the sRGB color space. Note: when color equality
|
439
|
+
# needs to be decided, implementations, unless documented otherwise, will treat
|
440
|
+
# two colors to be equal if all their red, green, blue and alpha values each
|
441
|
+
# differ by at most 1e-5. Example (Java): import com.google.type.Color; // ...
|
442
|
+
# public static java.awt.Color fromProto(Color protocolor) ` float alpha =
|
443
|
+
# protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new
|
444
|
+
# java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(
|
445
|
+
# ), alpha); ` public static Color toProto(java.awt.Color color) ` float red = (
|
446
|
+
# float) color.getRed(); float green = (float) color.getGreen(); float blue = (
|
447
|
+
# float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder
|
448
|
+
# = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator)
|
449
|
+
# .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255)
|
450
|
+
# ` result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) /
|
451
|
+
# denominator) .build()); ` return resultBuilder.build(); ` // ... Example (iOS /
|
452
|
+
# Obj-C): // ... static UIColor* fromProto(Color* protocolor) ` float red = [
|
453
|
+
# protocolor red]; float green = [protocolor green]; float blue = [protocolor
|
454
|
+
# blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (
|
455
|
+
# alpha_wrapper != nil) ` alpha = [alpha_wrapper value]; ` return [UIColor
|
456
|
+
# colorWithRed:red green:green blue:blue alpha:alpha]; ` static Color* toProto(
|
457
|
+
# UIColor* color) ` CGFloat red, green, blue, alpha; if (![color getRed:&red
|
458
|
+
# green:&green blue:&blue alpha:&alpha]) ` return nil; ` Color* result = [[Color
|
459
|
+
# alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:
|
460
|
+
# blue]; if (alpha <= 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; `
|
461
|
+
# [result autorelease]; return result; ` // ... Example (JavaScript): // ...
|
462
|
+
# var protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
463
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
464
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
465
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
466
|
+
# rgbToCssColor_(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
467
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
468
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor_ = function(red, green, blue)
|
469
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
470
|
+
# hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length;
|
471
|
+
# var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) `
|
472
|
+
# resultBuilder.push('0'); ` resultBuilder.push(hexString); return resultBuilder.
|
473
|
+
# join(''); `; // ...
|
554
474
|
class Color
|
555
475
|
include Google::Apis::Core::Hashable
|
556
476
|
|
557
|
-
# The fraction of this color that should be applied to the pixel. That is,
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
477
|
+
# The fraction of this color that should be applied to the pixel. That is, the
|
478
|
+
# final pixel color is defined by the equation: pixel color = alpha * (this
|
479
|
+
# color) + (1.0 - alpha) * (background color) This means that a value of 1.0
|
480
|
+
# corresponds to a solid color, whereas a value of 0.0 corresponds to a
|
481
|
+
# completely transparent color. This uses a wrapper message rather than a simple
|
482
|
+
# float scalar so that it is possible to distinguish between a default value and
|
483
|
+
# the value being unset. If omitted, this color object is to be rendered as a
|
484
|
+
# solid color (as if the alpha value had been explicitly given with a value of 1.
|
485
|
+
# 0).
|
566
486
|
# Corresponds to the JSON property `alpha`
|
567
487
|
# @return [Float]
|
568
488
|
attr_accessor :alpha
|
@@ -620,126 +540,63 @@ module Google
|
|
620
540
|
|
621
541
|
# Represents a color in the RGBA color space. This representation is designed
|
622
542
|
# for simplicity of conversion to/from color representations in various
|
623
|
-
# languages over compactness; for example, the fields of this representation
|
624
|
-
#
|
625
|
-
#
|
626
|
-
# method in iOS; and, with just a little work, it can be easily formatted into
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
# float
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
# protocolor
|
645
|
-
# protocolor
|
646
|
-
# alpha
|
647
|
-
# `
|
648
|
-
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
# .
|
656
|
-
# .
|
657
|
-
# .
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
# .
|
665
|
-
#
|
666
|
-
# `
|
667
|
-
# return resultBuilder.build();
|
668
|
-
# `
|
669
|
-
# // ...
|
670
|
-
# Example (iOS / Obj-C):
|
671
|
-
# // ...
|
672
|
-
# static UIColor* fromProto(Color* protocolor) `
|
673
|
-
# float red = [protocolor red];
|
674
|
-
# float green = [protocolor green];
|
675
|
-
# float blue = [protocolor blue];
|
676
|
-
# FloatValue* alpha_wrapper = [protocolor alpha];
|
677
|
-
# float alpha = 1.0;
|
678
|
-
# if (alpha_wrapper != nil) `
|
679
|
-
# alpha = [alpha_wrapper value];
|
680
|
-
# `
|
681
|
-
# return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
|
682
|
-
# `
|
683
|
-
# static Color* toProto(UIColor* color) `
|
684
|
-
# CGFloat red, green, blue, alpha;
|
685
|
-
# if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
|
686
|
-
# return nil;
|
687
|
-
# `
|
688
|
-
# Color* result = [[Color alloc] init];
|
689
|
-
# [result setRed:red];
|
690
|
-
# [result setGreen:green];
|
691
|
-
# [result setBlue:blue];
|
692
|
-
# if (alpha <= 0.9999) `
|
693
|
-
# [result setAlpha:floatWrapperWithValue(alpha)];
|
694
|
-
# `
|
695
|
-
# [result autorelease];
|
696
|
-
# return result;
|
697
|
-
# `
|
698
|
-
# // ...
|
699
|
-
# Example (JavaScript):
|
700
|
-
# // ...
|
701
|
-
# var protoToCssColor = function(rgb_color) `
|
702
|
-
# var redFrac = rgb_color.red || 0.0;
|
703
|
-
# var greenFrac = rgb_color.green || 0.0;
|
704
|
-
# var blueFrac = rgb_color.blue || 0.0;
|
705
|
-
# var red = Math.floor(redFrac * 255);
|
706
|
-
# var green = Math.floor(greenFrac * 255);
|
707
|
-
# var blue = Math.floor(blueFrac * 255);
|
708
|
-
# if (!('alpha' in rgb_color)) `
|
709
|
-
# return rgbToCssColor_(red, green, blue);
|
710
|
-
# `
|
711
|
-
# var alphaFrac = rgb_color.alpha.value || 0.0;
|
712
|
-
# var rgbParams = [red, green, blue].join(',');
|
713
|
-
# return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
|
714
|
-
# `;
|
715
|
-
# var rgbToCssColor_ = function(red, green, blue) `
|
716
|
-
# var rgbNumber = new Number((red << 16) | (green << 8) | blue);
|
717
|
-
# var hexString = rgbNumber.toString(16);
|
718
|
-
# var missingZeros = 6 - hexString.length;
|
719
|
-
# var resultBuilder = ['#'];
|
720
|
-
# for (var i = 0; i < missingZeros; i++) `
|
721
|
-
# resultBuilder.push('0');
|
722
|
-
# `
|
723
|
-
# resultBuilder.push(hexString);
|
724
|
-
# return resultBuilder.join('');
|
725
|
-
# `;
|
726
|
-
# // ...
|
543
|
+
# languages over compactness; for example, the fields of this representation can
|
544
|
+
# be trivially provided to the constructor of "java.awt.Color" in Java; it can
|
545
|
+
# also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
546
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
547
|
+
# CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry
|
548
|
+
# information about the absolute color space that should be used to interpret
|
549
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
550
|
+
# applications SHOULD assume the sRGB color space. Note: when color equality
|
551
|
+
# needs to be decided, implementations, unless documented otherwise, will treat
|
552
|
+
# two colors to be equal if all their red, green, blue and alpha values each
|
553
|
+
# differ by at most 1e-5. Example (Java): import com.google.type.Color; // ...
|
554
|
+
# public static java.awt.Color fromProto(Color protocolor) ` float alpha =
|
555
|
+
# protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new
|
556
|
+
# java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(
|
557
|
+
# ), alpha); ` public static Color toProto(java.awt.Color color) ` float red = (
|
558
|
+
# float) color.getRed(); float green = (float) color.getGreen(); float blue = (
|
559
|
+
# float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder
|
560
|
+
# = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator)
|
561
|
+
# .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255)
|
562
|
+
# ` result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) /
|
563
|
+
# denominator) .build()); ` return resultBuilder.build(); ` // ... Example (iOS /
|
564
|
+
# Obj-C): // ... static UIColor* fromProto(Color* protocolor) ` float red = [
|
565
|
+
# protocolor red]; float green = [protocolor green]; float blue = [protocolor
|
566
|
+
# blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (
|
567
|
+
# alpha_wrapper != nil) ` alpha = [alpha_wrapper value]; ` return [UIColor
|
568
|
+
# colorWithRed:red green:green blue:blue alpha:alpha]; ` static Color* toProto(
|
569
|
+
# UIColor* color) ` CGFloat red, green, blue, alpha; if (![color getRed:&red
|
570
|
+
# green:&green blue:&blue alpha:&alpha]) ` return nil; ` Color* result = [[Color
|
571
|
+
# alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:
|
572
|
+
# blue]; if (alpha <= 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; `
|
573
|
+
# [result autorelease]; return result; ` // ... Example (JavaScript): // ...
|
574
|
+
# var protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
575
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
576
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
577
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
578
|
+
# rgbToCssColor_(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
579
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
580
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor_ = function(red, green, blue)
|
581
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var
|
582
|
+
# hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length;
|
583
|
+
# var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) `
|
584
|
+
# resultBuilder.push('0'); ` resultBuilder.push(hexString); return resultBuilder.
|
585
|
+
# join(''); `; // ...
|
727
586
|
# Corresponds to the JSON property `color`
|
728
587
|
# @return [Google::Apis::FcmV1::Color]
|
729
588
|
attr_accessor :color
|
730
589
|
|
731
590
|
# Required. Along with `light_on_duration `, define the blink rate of LED
|
732
|
-
# flashes. Resolution defined by
|
733
|
-
#
|
734
|
-
# google.protobuf#google.protobuf.Duration)
|
591
|
+
# flashes. Resolution defined by [proto.Duration](https://developers.google.com/
|
592
|
+
# protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)
|
735
593
|
# Corresponds to the JSON property `lightOffDuration`
|
736
594
|
# @return [String]
|
737
595
|
attr_accessor :light_off_duration
|
738
596
|
|
739
597
|
# Required. Along with `light_off_duration`, define the blink rate of LED
|
740
|
-
# flashes. Resolution defined by
|
741
|
-
#
|
742
|
-
# google.protobuf#google.protobuf.Duration)
|
598
|
+
# flashes. Resolution defined by [proto.Duration](https://developers.google.com/
|
599
|
+
# protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)
|
743
600
|
# Corresponds to the JSON property `lightOnDuration`
|
744
601
|
# @return [String]
|
745
602
|
attr_accessor :light_on_duration
|
@@ -760,8 +617,8 @@ module Google
|
|
760
617
|
class Message
|
761
618
|
include Google::Apis::Core::Hashable
|
762
619
|
|
763
|
-
# Android specific options for messages sent through
|
764
|
-
#
|
620
|
+
# Android specific options for messages sent through [FCM connection server](
|
621
|
+
# https://goo.gl/4GLdUl).
|
765
622
|
# Corresponds to the JSON property `android`
|
766
623
|
# @return [Google::Apis::FcmV1::AndroidConfig]
|
767
624
|
attr_accessor :android
|
@@ -771,14 +628,13 @@ module Google
|
|
771
628
|
# @return [Google::Apis::FcmV1::ApnsConfig]
|
772
629
|
attr_accessor :apns
|
773
630
|
|
774
|
-
# Condition to send a message to,
|
775
|
-
# e.g. "'foo' in topics && 'bar' in topics".
|
631
|
+
# Condition to send a message to, e.g. "'foo' in topics && 'bar' in topics".
|
776
632
|
# Corresponds to the JSON property `condition`
|
777
633
|
# @return [String]
|
778
634
|
attr_accessor :condition
|
779
635
|
|
780
|
-
# Input only. Arbitrary key/value payload. The key should not be a reserved
|
781
|
-
#
|
636
|
+
# Input only. Arbitrary key/value payload. The key should not be a reserved word
|
637
|
+
# ("from", "message_type", or any word starting with "google" or "gcm").
|
782
638
|
# Corresponds to the JSON property `data`
|
783
639
|
# @return [Hash<String,String>]
|
784
640
|
attr_accessor :data
|
@@ -788,8 +644,8 @@ module Google
|
|
788
644
|
# @return [Google::Apis::FcmV1::FcmOptions]
|
789
645
|
attr_accessor :fcm_options
|
790
646
|
|
791
|
-
# Output Only. The identifier of the message sent, in the format of
|
792
|
-
#
|
647
|
+
# Output Only. The identifier of the message sent, in the format of `projects/*/
|
648
|
+
# messages/`message_id``.
|
793
649
|
# Corresponds to the JSON property `name`
|
794
650
|
# @return [String]
|
795
651
|
attr_accessor :name
|
@@ -804,8 +660,8 @@ module Google
|
|
804
660
|
# @return [String]
|
805
661
|
attr_accessor :token
|
806
662
|
|
807
|
-
# Topic name to send a message to, e.g. "weather".
|
808
|
-
#
|
663
|
+
# Topic name to send a message to, e.g. "weather". Note: "/topics/" prefix
|
664
|
+
# should not be provided.
|
809
665
|
# Corresponds to the JSON property `topic`
|
810
666
|
# @return [String]
|
811
667
|
attr_accessor :topic
|
@@ -843,14 +699,12 @@ module Google
|
|
843
699
|
# @return [String]
|
844
700
|
attr_accessor :body
|
845
701
|
|
846
|
-
# Contains the URL of an image that is going to be downloaded on the device
|
847
|
-
#
|
848
|
-
#
|
849
|
-
#
|
850
|
-
#
|
851
|
-
#
|
852
|
-
# Quota usage and implications/costs for hosting image on Firebase Storage:
|
853
|
-
# https://firebase.google.com/pricing
|
702
|
+
# Contains the URL of an image that is going to be downloaded on the device and
|
703
|
+
# displayed in a notification. JPEG, PNG, BMP have full support across platforms.
|
704
|
+
# Animated GIF and video only work on iOS. WebP and HEIF have varying levels of
|
705
|
+
# support across platforms and platform versions. Android has 1MB image size
|
706
|
+
# limit. Quota usage and implications/costs for hosting image on Firebase
|
707
|
+
# Storage: https://firebase.google.com/pricing
|
854
708
|
# Corresponds to the JSON property `image`
|
855
709
|
# @return [String]
|
856
710
|
attr_accessor :image
|
@@ -902,8 +756,8 @@ module Google
|
|
902
756
|
class WebpushConfig
|
903
757
|
include Google::Apis::Core::Hashable
|
904
758
|
|
905
|
-
# Arbitrary key/value payload. If present, it will override
|
906
|
-
#
|
759
|
+
# Arbitrary key/value payload. If present, it will override google.firebase.fcm.
|
760
|
+
# v1.Message.data.
|
907
761
|
# Corresponds to the JSON property `data`
|
908
762
|
# @return [Hash<String,String>]
|
909
763
|
attr_accessor :data
|
@@ -913,19 +767,17 @@ module Google
|
|
913
767
|
# @return [Google::Apis::FcmV1::WebpushFcmOptions]
|
914
768
|
attr_accessor :fcm_options
|
915
769
|
|
916
|
-
# HTTP headers defined in webpush protocol. Refer to
|
917
|
-
#
|
918
|
-
# supported headers, e.g. "TTL": "15".
|
770
|
+
# HTTP headers defined in webpush protocol. Refer to [Webpush protocol](https://
|
771
|
+
# tools.ietf.org/html/rfc8030#section-5) for supported headers, e.g. "TTL": "15".
|
919
772
|
# Corresponds to the JSON property `headers`
|
920
773
|
# @return [Hash<String,String>]
|
921
774
|
attr_accessor :headers
|
922
775
|
|
923
776
|
# Web Notification options as a JSON object. Supports Notification instance
|
924
|
-
# properties as defined in [Web Notification
|
925
|
-
#
|
926
|
-
#
|
927
|
-
#
|
928
|
-
# [google.firebase.fcm.v1.Notification.body].
|
777
|
+
# properties as defined in [Web Notification API](https://developer.mozilla.org/
|
778
|
+
# en-US/docs/Web/API/Notification). If present, "title" and "body" fields
|
779
|
+
# override [google.firebase.fcm.v1.Notification.title] and [google.firebase.fcm.
|
780
|
+
# v1.Notification.body].
|
929
781
|
# Corresponds to the JSON property `notification`
|
930
782
|
# @return [Hash<String,Object>]
|
931
783
|
attr_accessor :notification
|
@@ -952,8 +804,8 @@ module Google
|
|
952
804
|
# @return [String]
|
953
805
|
attr_accessor :analytics_label
|
954
806
|
|
955
|
-
# The link to open when the user clicks on the notification.
|
956
|
-
#
|
807
|
+
# The link to open when the user clicks on the notification. For all URL values,
|
808
|
+
# HTTPS is required.
|
957
809
|
# Corresponds to the JSON property `link`
|
958
810
|
# @return [String]
|
959
811
|
attr_accessor :link
|