google-api-client 0.42.1 → 0.44.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +550 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- 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 +59 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- 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/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- 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/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- 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 +193 -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/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/{accessapproval_v1beta1.rb → apigateway_v1alpha1.rb} +9 -9
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → apigateway_v1beta.rb} +9 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +925 -1226
- data/generated/google/apis/apigee_v1/representations.rb +66 -2
- data/generated/google/apis/apigee_v1/service.rb +1000 -1142
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -44
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -43
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +564 -541
- data/generated/google/apis/bigquery_v2/representations.rb +86 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +350 -65
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +746 -543
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +386 -141
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- 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/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +109 -115
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +65 -38
- 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 +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- 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 +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +893 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +342 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +802 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +510 -754
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +197 -246
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +265 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +134 -175
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- 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 +265 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- 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 +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +607 -82
- data/generated/google/apis/compute_beta/representations.rb +114 -1
- data/generated/google/apis/compute_beta/service.rb +623 -612
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1014 -99
- data/generated/google/apis/compute_v1/representations.rb +390 -15
- data/generated/google/apis/compute_v1/service.rb +809 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +996 -965
- data/generated/google/apis/container_v1/representations.rb +75 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1066 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +76 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +20 -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 +122 -5
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -570
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +143 -94
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +249 -327
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- 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 +272 -322
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -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 +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- 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_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1381 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +68 -15
- 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 +1462 -1643
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -988
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8192 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -924
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- 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 +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- 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 +5 -6
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +17 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +23 -7
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- 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_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +325 -381
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- 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/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +526 -145
- 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/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +172 -210
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +37 -38
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +77 -84
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +86 -92
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +260 -287
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +635 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +843 -843
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1150 -1108
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- 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/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +121 -38
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -337
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -144
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +227 -179
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +400 -409
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/playcustomapp_v1/service.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 +148 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +11 -29
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +304 -313
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +407 -512
- data/generated/google/apis/pubsub_v1/representations.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsublite_v1.rb +34 -0
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -0
- 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 +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- 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 +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +837 -1249
- data/generated/google/apis/run_v1/representations.rb +1 -1
- 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 +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- 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 +210 -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/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- 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 +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -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 +1107 -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 +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- 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 +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- 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 +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- 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 +22 -23
- 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 +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +374 -376
- data/generated/google/apis/testing_v1/representations.rb +34 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -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 +122 -78
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- 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 +122 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- 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 -1790
- 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 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +4 -6
- 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/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- 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 +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
- data/generated/google/apis/youtube_v3/representations.rb +177 -0
- data/generated/google/apis/youtube_v3/service.rb +1159 -1390
- 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/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +94 -32
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -48,30 +48,22 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Test `Source` for syntactic and semantic correctness. Issues present, if
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# The test method may be executed with `Source` or a `Ruleset` name.
|
51
|
+
# Test `Source` for syntactic and semantic correctness. Issues present, if any,
|
52
|
+
# will be returned to the caller with a description, severity, and source
|
53
|
+
# location. The test method may be executed with `Source` or a `Ruleset` name.
|
55
54
|
# Passing `Source` is useful for unit testing new rules. Passing a `Ruleset`
|
56
|
-
# name is useful for regression testing an existing rule.
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
# allow write: if userId == request.auth.uid
|
64
|
-
# && (imageName.matches('*.png$')
|
65
|
-
# || imageName.matches('*.jpg$'))
|
66
|
-
# && resource.mimeType.matches('^image/')
|
67
|
-
# `
|
68
|
-
# `
|
55
|
+
# name is useful for regression testing an existing rule. The following is an
|
56
|
+
# example of `Source` that permits users to upload images to a bucket bearing
|
57
|
+
# their user id and matching the correct metadata: _*Example*_ // Users are
|
58
|
+
# allowed to subscribe and unsubscribe to the blog. service firebase.storage `
|
59
|
+
# match /users/`userId`/images/`imageName` ` allow write: if userId == request.
|
60
|
+
# auth.uid && (imageName.matches('*.png$') || imageName.matches('*.jpg$')) &&
|
61
|
+
# resource.mimeType.matches('^image/') ` `
|
69
62
|
# @param [String] name
|
70
|
-
# Tests may either provide `source` or a `Ruleset` resource name.
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# Format: `projects/`project_id`/rulesets/`ruleset_id``
|
63
|
+
# Tests may either provide `source` or a `Ruleset` resource name. For tests
|
64
|
+
# against `source`, the resource name must refer to the project: Format: `
|
65
|
+
# projects/`project_id`` For tests against a `Ruleset`, this must be the `
|
66
|
+
# Ruleset` resource name: Format: `projects/`project_id`/rulesets/`ruleset_id``
|
75
67
|
# @param [Google::Apis::FirebaserulesV1::TestRulesetRequest] test_ruleset_request_object
|
76
68
|
# @param [String] fields
|
77
69
|
# Selector specifying which fields to include in a partial response.
|
@@ -102,27 +94,23 @@ module Google
|
|
102
94
|
execute_or_queue_command(command, &block)
|
103
95
|
end
|
104
96
|
|
105
|
-
# Create a `Release`.
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
# The table reflects the `Ruleset` rollout in progress. The `prod` and
|
120
|
-
# `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`
|
121
|
-
# refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be
|
122
|
-
# updated using the UpdateRelease method.
|
97
|
+
# Create a `Release`. Release names should reflect the developer's deployment
|
98
|
+
# practices. For example, the release name may include the environment name,
|
99
|
+
# application name, application version, or any other name meaningful to the
|
100
|
+
# developer. Once a `Release` refers to a `Ruleset`, the rules can be enforced
|
101
|
+
# by Firebase Rules-enabled services. More than one `Release` may be 'live'
|
102
|
+
# concurrently. Consider the following three `Release` names for `projects/foo`
|
103
|
+
# and the `Ruleset` to which they refer. Release Name | Ruleset Name ------------
|
104
|
+
# --------------------|------------- projects/foo/releases/prod | projects/foo/
|
105
|
+
# rulesets/uuid123 projects/foo/releases/prod/beta | projects/foo/rulesets/
|
106
|
+
# uuid123 projects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456 The
|
107
|
+
# table reflects the `Ruleset` rollout in progress. The `prod` and `prod/beta`
|
108
|
+
# releases refer to the same `Ruleset`. However, `prod/v23` refers to a new `
|
109
|
+
# Ruleset`. The `Ruleset` reference for a `Release` may be updated using the
|
110
|
+
# UpdateRelease method.
|
123
111
|
# @param [String] name
|
124
|
-
# Resource name for the project which owns this `Release`.
|
125
|
-
#
|
112
|
+
# Resource name for the project which owns this `Release`. Format: `projects/`
|
113
|
+
# project_id``
|
126
114
|
# @param [Google::Apis::FirebaserulesV1::Release] release_object
|
127
115
|
# @param [String] fields
|
128
116
|
# Selector specifying which fields to include in a partial response.
|
@@ -155,8 +143,8 @@ module Google
|
|
155
143
|
|
156
144
|
# Delete a `Release` by resource name.
|
157
145
|
# @param [String] name
|
158
|
-
# Resource name for the `Release` to delete.
|
159
|
-
#
|
146
|
+
# Resource name for the `Release` to delete. Format: `projects/`project_id`/
|
147
|
+
# releases/`release_id``
|
160
148
|
# @param [String] fields
|
161
149
|
# Selector specifying which fields to include in a partial response.
|
162
150
|
# @param [String] quota_user
|
@@ -186,8 +174,8 @@ module Google
|
|
186
174
|
|
187
175
|
# Get a `Release` by name.
|
188
176
|
# @param [String] name
|
189
|
-
# Resource name of the `Release`.
|
190
|
-
#
|
177
|
+
# Resource name of the `Release`. Format: `projects/`project_id`/releases/`
|
178
|
+
# release_id``
|
191
179
|
# @param [String] fields
|
192
180
|
# Selector specifying which fields to include in a partial response.
|
193
181
|
# @param [String] quota_user
|
@@ -217,11 +205,11 @@ module Google
|
|
217
205
|
|
218
206
|
# Get the `Release` executable to use when enforcing rules.
|
219
207
|
# @param [String] name
|
220
|
-
# Resource name of the `Release`.
|
221
|
-
#
|
208
|
+
# Resource name of the `Release`. Format: `projects/`project_id`/releases/`
|
209
|
+
# release_id``
|
222
210
|
# @param [String] executable_version
|
223
|
-
# The requested runtime executable version.
|
224
|
-
#
|
211
|
+
# The requested runtime executable version. Defaults to
|
212
|
+
# FIREBASE_RULES_EXECUTABLE_V1.
|
225
213
|
# @param [String] fields
|
226
214
|
# Selector specifying which fields to include in a partial response.
|
227
215
|
# @param [String] quota_user
|
@@ -250,38 +238,32 @@ module Google
|
|
250
238
|
execute_or_queue_command(command, &block)
|
251
239
|
end
|
252
240
|
|
253
|
-
# List the `Release` values for a project. This list may optionally be
|
254
|
-
#
|
255
|
-
#
|
241
|
+
# List the `Release` values for a project. This list may optionally be filtered
|
242
|
+
# by `Release` name, `Ruleset` name, `TestSuite` name, or any combination
|
243
|
+
# thereof.
|
256
244
|
# @param [String] name
|
257
|
-
# Resource name for the project.
|
258
|
-
# Format: `projects/`project_id``
|
245
|
+
# Resource name for the project. Format: `projects/`project_id``
|
259
246
|
# @param [String] filter
|
260
|
-
# `Release` filter. The list method supports filters with restrictions on the
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
# projects/foo/releases/prod
|
267
|
-
#
|
268
|
-
# projects/foo
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
#
|
275
|
-
# projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
|
276
|
-
# In the examples, the filter parameters refer to the search filters are
|
277
|
-
# relative to the project. Fully qualified prefixed may also be used. e.g.
|
278
|
-
# `test_suite_name=projects/foo/testsuites/uuid1`
|
247
|
+
# `Release` filter. The list method supports filters with restrictions on the `
|
248
|
+
# Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`. Example
|
249
|
+
# 1: A filter of 'name=prod*' might return `Release`s with names within '
|
250
|
+
# projects/foo' prefixed with 'prod': Name | Ruleset Name -----------------------
|
251
|
+
# -------|------------- projects/foo/releases/prod | projects/foo/rulesets/
|
252
|
+
# uuid1234 projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
|
253
|
+
# projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888 Example 2: A
|
254
|
+
# filter of `name=prod* ruleset_name=uuid1234` would return only `Release`
|
255
|
+
# instances for 'projects/foo' with names prefixed with 'prod' referring to the
|
256
|
+
# same `Ruleset` name of 'uuid1234': Name | Ruleset Name ------------------------
|
257
|
+
# ------|------------- projects/foo/releases/prod | projects/foo/rulesets/1234
|
258
|
+
# projects/foo/releases/prod/v1 | projects/foo/rulesets/1234 In the examples,
|
259
|
+
# the filter parameters refer to the search filters are relative to the project.
|
260
|
+
# Fully qualified prefixed may also be used. e.g. `test_suite_name=projects/foo/
|
261
|
+
# testsuites/uuid1`
|
279
262
|
# @param [Fixnum] page_size
|
280
|
-
# Page size to load. Maximum of 100. Defaults to 10.
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
# response is empty.
|
263
|
+
# Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a
|
264
|
+
# hint and the service may choose to load fewer than `page_size` results due to
|
265
|
+
# the size of the output. To traverse all of the releases, the caller should
|
266
|
+
# iterate until the `page_token` on the response is empty.
|
285
267
|
# @param [String] page_token
|
286
268
|
# Next page token for the next batch of `Release` instances.
|
287
269
|
# @param [String] fields
|
@@ -314,13 +296,12 @@ module Google
|
|
314
296
|
execute_or_queue_command(command, &block)
|
315
297
|
end
|
316
298
|
|
317
|
-
# Update a `Release` via PATCH.
|
318
|
-
#
|
319
|
-
#
|
320
|
-
# CreateRelease method.
|
299
|
+
# Update a `Release` via PATCH. Only updates to the `ruleset_name` and `
|
300
|
+
# test_suite_name` fields will be honored. `Release` rename is not supported. To
|
301
|
+
# create a `Release` use the CreateRelease method.
|
321
302
|
# @param [String] name
|
322
|
-
# Resource name for the project which owns this `Release`.
|
323
|
-
#
|
303
|
+
# Resource name for the project which owns this `Release`. Format: `projects/`
|
304
|
+
# project_id``
|
324
305
|
# @param [Google::Apis::FirebaserulesV1::UpdateReleaseRequest] update_release_request_object
|
325
306
|
# @param [String] fields
|
326
307
|
# Selector specifying which fields to include in a partial response.
|
@@ -351,14 +332,13 @@ module Google
|
|
351
332
|
execute_or_queue_command(command, &block)
|
352
333
|
end
|
353
334
|
|
354
|
-
# Create a `Ruleset` from `Source`.
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
# of `Source` issues, use TestRuleset.
|
335
|
+
# Create a `Ruleset` from `Source`. The `Ruleset` is given a unique generated
|
336
|
+
# name which is returned to the caller. `Source` containing syntactic or
|
337
|
+
# semantics errors will result in an error response indicating the first error
|
338
|
+
# encountered. For a detailed view of `Source` issues, use TestRuleset.
|
359
339
|
# @param [String] name
|
360
|
-
# Resource name for Project which owns this `Ruleset`.
|
361
|
-
#
|
340
|
+
# Resource name for Project which owns this `Ruleset`. Format: `projects/`
|
341
|
+
# project_id``
|
362
342
|
# @param [Google::Apis::FirebaserulesV1::Ruleset] ruleset_object
|
363
343
|
# @param [String] fields
|
364
344
|
# Selector specifying which fields to include in a partial response.
|
@@ -389,11 +369,11 @@ module Google
|
|
389
369
|
execute_or_queue_command(command, &block)
|
390
370
|
end
|
391
371
|
|
392
|
-
# Delete a `Ruleset` by resource name.
|
393
|
-
#
|
372
|
+
# Delete a `Ruleset` by resource name. If the `Ruleset` is referenced by a `
|
373
|
+
# Release` the operation will fail.
|
394
374
|
# @param [String] name
|
395
|
-
# Resource name for the ruleset to delete.
|
396
|
-
#
|
375
|
+
# Resource name for the ruleset to delete. Format: `projects/`project_id`/
|
376
|
+
# rulesets/`ruleset_id``
|
397
377
|
# @param [String] fields
|
398
378
|
# Selector specifying which fields to include in a partial response.
|
399
379
|
# @param [String] quota_user
|
@@ -423,8 +403,8 @@ module Google
|
|
423
403
|
|
424
404
|
# Get a `Ruleset` by name including the full `Source` contents.
|
425
405
|
# @param [String] name
|
426
|
-
# Resource name for the ruleset to get.
|
427
|
-
#
|
406
|
+
# Resource name for the ruleset to get. Format: `projects/`project_id`/rulesets/`
|
407
|
+
# ruleset_id``
|
428
408
|
# @param [String] fields
|
429
409
|
# Selector specifying which fields to include in a partial response.
|
430
410
|
# @param [String] quota_user
|
@@ -453,23 +433,20 @@ module Google
|
|
453
433
|
end
|
454
434
|
|
455
435
|
# List `Ruleset` metadata only and optionally filter the results by `Ruleset`
|
456
|
-
# name.
|
457
|
-
# The full `Source` contents of a `Ruleset` may be retrieved with
|
436
|
+
# name. The full `Source` contents of a `Ruleset` may be retrieved with
|
458
437
|
# GetRuleset.
|
459
438
|
# @param [String] name
|
460
|
-
# Resource name for the project.
|
461
|
-
# Format: `projects/`project_id``
|
439
|
+
# Resource name for the project. Format: `projects/`project_id``
|
462
440
|
# @param [String] filter
|
463
|
-
# `Ruleset` filter. The list method supports filters with restrictions on
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# parses strings that conform to the RFC 3339 date/time specifications.
|
441
|
+
# `Ruleset` filter. The list method supports filters with restrictions on `
|
442
|
+
# Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function
|
443
|
+
# which parses strings that conform to the RFC 3339 date/time specifications.
|
467
444
|
# Example: `create_time > date("2017-01-01T00:00:00Z") AND name=UUID-*`
|
468
445
|
# @param [Fixnum] page_size
|
469
|
-
# Page size to load. Maximum of 100. Defaults to 10.
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
446
|
+
# Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a
|
447
|
+
# hint and the service may choose to load less than `page_size` due to the size
|
448
|
+
# of the output. To traverse all of the releases, caller should iterate until
|
449
|
+
# the `page_token` is empty.
|
473
450
|
# @param [String] page_token
|
474
451
|
# Next page token for loading the next batch of `Ruleset` instances.
|
475
452
|
# @param [String] fields
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200821'
|
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'
|
@@ -45,19 +45,18 @@ module Google
|
|
45
45
|
class BatchGetDocumentsRequest
|
46
46
|
include Google::Apis::Core::Hashable
|
47
47
|
|
48
|
-
# The names of the documents to retrieve. In the format:
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
48
|
+
# The names of the documents to retrieve. In the format: `projects/`project_id`/
|
49
|
+
# databases/`database_id`/documents/`document_path``. The request will fail if
|
50
|
+
# any of the document is not a child resource of the given `database`. Duplicate
|
51
|
+
# names will be elided.
|
52
52
|
# Corresponds to the JSON property `documents`
|
53
53
|
# @return [Array<String>]
|
54
54
|
attr_accessor :documents
|
55
55
|
|
56
|
-
# A set of field paths on a document.
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# Document, and takes in account the dynamic nature of Value.
|
56
|
+
# A set of field paths on a document. Used to restrict a get or update operation
|
57
|
+
# on a document to a subset of its fields. This is different from standard field
|
58
|
+
# masks, as this is always scoped to a Document, and takes in account the
|
59
|
+
# dynamic nature of Value.
|
61
60
|
# Corresponds to the JSON property `mask`
|
62
61
|
# @return [Google::Apis::FirestoreV1::DocumentMask]
|
63
62
|
attr_accessor :mask
|
@@ -67,8 +66,8 @@ module Google
|
|
67
66
|
# @return [Google::Apis::FirestoreV1::TransactionOptions]
|
68
67
|
attr_accessor :new_transaction
|
69
68
|
|
70
|
-
# Reads documents as they were at the given time.
|
71
|
-
#
|
69
|
+
# Reads documents as they were at the given time. This may not be older than 270
|
70
|
+
# seconds.
|
72
71
|
# Corresponds to the JSON property `readTime`
|
73
72
|
# @return [String]
|
74
73
|
attr_accessor :read_time
|
@@ -97,29 +96,27 @@ module Google
|
|
97
96
|
class BatchGetDocumentsResponse
|
98
97
|
include Google::Apis::Core::Hashable
|
99
98
|
|
100
|
-
# A Firestore document.
|
101
|
-
# Must not exceed 1 MiB - 4 bytes.
|
99
|
+
# A Firestore document. Must not exceed 1 MiB - 4 bytes.
|
102
100
|
# Corresponds to the JSON property `found`
|
103
101
|
# @return [Google::Apis::FirestoreV1::Document]
|
104
102
|
attr_accessor :found
|
105
103
|
|
106
|
-
# A document name that was requested but does not exist. In the format:
|
107
|
-
#
|
104
|
+
# A document name that was requested but does not exist. In the format: `
|
105
|
+
# projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
108
106
|
# Corresponds to the JSON property `missing`
|
109
107
|
# @return [String]
|
110
108
|
attr_accessor :missing
|
111
109
|
|
112
|
-
# The time at which the document was read.
|
113
|
-
#
|
114
|
-
#
|
115
|
-
# read_time and this one.
|
110
|
+
# The time at which the document was read. This may be monotically increasing,
|
111
|
+
# in this case the previous documents in the result stream are guaranteed not to
|
112
|
+
# have changed between their read_time and this one.
|
116
113
|
# Corresponds to the JSON property `readTime`
|
117
114
|
# @return [String]
|
118
115
|
attr_accessor :read_time
|
119
116
|
|
120
|
-
# The transaction that was started as part of this request.
|
121
|
-
#
|
122
|
-
#
|
117
|
+
# The transaction that was started as part of this request. Will only be set in
|
118
|
+
# the first response, and only if BatchGetDocumentsRequest.new_transaction was
|
119
|
+
# set in the request.
|
123
120
|
# Corresponds to the JSON property `transaction`
|
124
121
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
125
122
|
# @return [String]
|
@@ -147,10 +144,9 @@ module Google
|
|
147
144
|
# @return [Hash<String,String>]
|
148
145
|
attr_accessor :labels
|
149
146
|
|
150
|
-
# The writes to apply.
|
151
|
-
#
|
152
|
-
#
|
153
|
-
# document more than once per request.
|
147
|
+
# The writes to apply. Method does not apply writes atomically and does not
|
148
|
+
# guarantee ordering. Each write succeeds or fails independently. You cannot
|
149
|
+
# write to the same document more than once per request.
|
154
150
|
# Corresponds to the JSON property `writes`
|
155
151
|
# @return [Array<Google::Apis::FirestoreV1::Write>]
|
156
152
|
attr_accessor :writes
|
@@ -170,16 +166,14 @@ module Google
|
|
170
166
|
class BatchWriteResponse
|
171
167
|
include Google::Apis::Core::Hashable
|
172
168
|
|
173
|
-
# The status of applying the writes.
|
174
|
-
#
|
175
|
-
# request.
|
169
|
+
# The status of applying the writes. This i-th write status corresponds to the i-
|
170
|
+
# th write in the request.
|
176
171
|
# Corresponds to the JSON property `status`
|
177
172
|
# @return [Array<Google::Apis::FirestoreV1::Status>]
|
178
173
|
attr_accessor :status
|
179
174
|
|
180
|
-
# The result of applying the writes.
|
181
|
-
#
|
182
|
-
# request.
|
175
|
+
# The result of applying the writes. This i-th write result corresponds to the i-
|
176
|
+
# th write in the request.
|
183
177
|
# Corresponds to the JSON property `writeResults`
|
184
178
|
# @return [Array<Google::Apis::FirestoreV1::WriteResult>]
|
185
179
|
attr_accessor :write_results
|
@@ -238,16 +232,15 @@ module Google
|
|
238
232
|
class CollectionSelector
|
239
233
|
include Google::Apis::Core::Hashable
|
240
234
|
|
241
|
-
# When false, selects only collections that are immediate children of
|
242
|
-
#
|
243
|
-
#
|
235
|
+
# When false, selects only collections that are immediate children of the `
|
236
|
+
# parent` specified in the containing `RunQueryRequest`. When true, selects all
|
237
|
+
# descendant collections.
|
244
238
|
# Corresponds to the JSON property `allDescendants`
|
245
239
|
# @return [Boolean]
|
246
240
|
attr_accessor :all_descendants
|
247
241
|
alias_method :all_descendants?, :all_descendants
|
248
242
|
|
249
|
-
# The collection ID.
|
250
|
-
# When set, selects only collections with this ID.
|
243
|
+
# The collection ID. When set, selects only collections with this ID.
|
251
244
|
# Corresponds to the JSON property `collectionId`
|
252
245
|
# @return [String]
|
253
246
|
attr_accessor :collection_id
|
@@ -273,8 +266,7 @@ module Google
|
|
273
266
|
# @return [String]
|
274
267
|
attr_accessor :transaction
|
275
268
|
|
276
|
-
# The writes to apply.
|
277
|
-
# Always executed atomically and in order.
|
269
|
+
# The writes to apply. Always executed atomically and in order.
|
278
270
|
# Corresponds to the JSON property `writes`
|
279
271
|
# @return [Array<Google::Apis::FirestoreV1::Write>]
|
280
272
|
attr_accessor :writes
|
@@ -294,15 +286,14 @@ module Google
|
|
294
286
|
class CommitResponse
|
295
287
|
include Google::Apis::Core::Hashable
|
296
288
|
|
297
|
-
# The time at which the commit occurred. Any read with an equal or greater
|
298
|
-
#
|
289
|
+
# The time at which the commit occurred. Any read with an equal or greater `
|
290
|
+
# read_time` is guaranteed to see the effects of the commit.
|
299
291
|
# Corresponds to the JSON property `commitTime`
|
300
292
|
# @return [String]
|
301
293
|
attr_accessor :commit_time
|
302
294
|
|
303
|
-
# The result of applying the writes.
|
304
|
-
#
|
305
|
-
# request.
|
295
|
+
# The result of applying the writes. This i-th write result corresponds to the i-
|
296
|
+
# th write in the request.
|
306
297
|
# Corresponds to the JSON property `writeResults`
|
307
298
|
# @return [Array<Google::Apis::FirestoreV1::WriteResult>]
|
308
299
|
attr_accessor :write_results
|
@@ -322,8 +313,7 @@ module Google
|
|
322
313
|
class CompositeFilter
|
323
314
|
include Google::Apis::Core::Hashable
|
324
315
|
|
325
|
-
# The list of filters to combine.
|
326
|
-
# Must contain at least one filter.
|
316
|
+
# The list of filters to combine. Must contain at least one filter.
|
327
317
|
# Corresponds to the JSON property `filters`
|
328
318
|
# @return [Array<Google::Apis::FirestoreV1::Filter>]
|
329
319
|
attr_accessor :filters
|
@@ -348,16 +338,16 @@ module Google
|
|
348
338
|
class Cursor
|
349
339
|
include Google::Apis::Core::Hashable
|
350
340
|
|
351
|
-
# If the position is just before or just after the given values, relative
|
352
|
-
#
|
341
|
+
# If the position is just before or just after the given values, relative to the
|
342
|
+
# sort order defined by the query.
|
353
343
|
# Corresponds to the JSON property `before`
|
354
344
|
# @return [Boolean]
|
355
345
|
attr_accessor :before
|
356
346
|
alias_method :before?, :before
|
357
347
|
|
358
|
-
# The values that represent a position, in the order they appear in
|
359
|
-
#
|
360
|
-
#
|
348
|
+
# The values that represent a position, in the order they appear in the order by
|
349
|
+
# clause of a query. Can contain fewer values than specified in the order by
|
350
|
+
# clause.
|
361
351
|
# Corresponds to the JSON property `values`
|
362
352
|
# @return [Array<Google::Apis::FirestoreV1::Value>]
|
363
353
|
attr_accessor :values
|
@@ -373,52 +363,45 @@ module Google
|
|
373
363
|
end
|
374
364
|
end
|
375
365
|
|
376
|
-
# A Firestore document.
|
377
|
-
# Must not exceed 1 MiB - 4 bytes.
|
366
|
+
# A Firestore document. Must not exceed 1 MiB - 4 bytes.
|
378
367
|
class Document
|
379
368
|
include Google::Apis::Core::Hashable
|
380
369
|
|
381
|
-
# Output only. The time at which the document was created.
|
382
|
-
#
|
383
|
-
#
|
384
|
-
# the `read_time` of a query.
|
370
|
+
# Output only. The time at which the document was created. This value increases
|
371
|
+
# monotonically when a document is deleted then recreated. It can also be
|
372
|
+
# compared to values from other documents and the `read_time` of a query.
|
385
373
|
# Corresponds to the JSON property `createTime`
|
386
374
|
# @return [String]
|
387
375
|
attr_accessor :create_time
|
388
376
|
|
389
|
-
# The document's fields.
|
390
|
-
#
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# example,
|
402
|
-
#
|
403
|
-
# represented by the field path `foo.x&y`.
|
404
|
-
# Within a field path, a quoted field name starts and ends with `` ` `` and
|
405
|
-
# may contain any character. Some characters, including `` ` ``, must be
|
406
|
-
# escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
|
407
|
-
# `` `bak\`tik` `` represents `` bak`tik ``.
|
377
|
+
# The document's fields. The map keys represent field names. A simple field name
|
378
|
+
# contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must
|
379
|
+
# not start with `0` to `9`. For example, `foo_bar_17`. Field names matching the
|
380
|
+
# regular expression `__.*__` are reserved. Reserved field names are forbidden
|
381
|
+
# except in certain documented contexts. The map keys, represented as UTF-8,
|
382
|
+
# must not exceed 1,500 bytes and cannot be empty. Field paths may be used in
|
383
|
+
# other contexts to refer to structured fields defined here. For `map_value`,
|
384
|
+
# the field path is represented by the simple or quoted field names of the
|
385
|
+
# containing fields, delimited by `.`. For example, the structured field `"foo" :
|
386
|
+
# ` map_value: ` "x&y" : ` string_value: "hello" ```` would be represented by
|
387
|
+
# the field path `foo.x&y`. Within a field path, a quoted field name starts and
|
388
|
+
# ends with `` ` `` and may contain any character. Some characters, including ``
|
389
|
+
# ` ``, must be escaped using a `\`. For example, `` `x&y` `` represents `x&y`
|
390
|
+
# and `` `bak\`tik` `` represents `` bak`tik ``.
|
408
391
|
# Corresponds to the JSON property `fields`
|
409
392
|
# @return [Hash<String,Google::Apis::FirestoreV1::Value>]
|
410
393
|
attr_accessor :fields
|
411
394
|
|
412
|
-
# The resource name of the document, for example
|
413
|
-
#
|
395
|
+
# The resource name of the document, for example `projects/`project_id`/
|
396
|
+
# databases/`database_id`/documents/`document_path``.
|
414
397
|
# Corresponds to the JSON property `name`
|
415
398
|
# @return [String]
|
416
399
|
attr_accessor :name
|
417
400
|
|
418
|
-
# Output only. The time at which the document was last changed.
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
401
|
+
# Output only. The time at which the document was last changed. This value is
|
402
|
+
# initially set to the `create_time` then increases monotonically with each
|
403
|
+
# change to the document. It can also be compared to values from other documents
|
404
|
+
# and the `read_time` of a query.
|
422
405
|
# Corresponds to the JSON property `updateTime`
|
423
406
|
# @return [String]
|
424
407
|
attr_accessor :update_time
|
@@ -436,16 +419,14 @@ module Google
|
|
436
419
|
end
|
437
420
|
end
|
438
421
|
|
439
|
-
# A Document has changed.
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
# change, if multiple targets are affected.
|
422
|
+
# A Document has changed. May be the result of multiple writes, including
|
423
|
+
# deletes, that ultimately resulted in a new value for the Document. Multiple
|
424
|
+
# DocumentChange messages may be returned for the same logical change, if
|
425
|
+
# multiple targets are affected.
|
444
426
|
class DocumentChange
|
445
427
|
include Google::Apis::Core::Hashable
|
446
428
|
|
447
|
-
# A Firestore document.
|
448
|
-
# Must not exceed 1 MiB - 4 bytes.
|
429
|
+
# A Firestore document. Must not exceed 1 MiB - 4 bytes.
|
449
430
|
# Corresponds to the JSON property `document`
|
450
431
|
# @return [Google::Apis::FirestoreV1::Document]
|
451
432
|
attr_accessor :document
|
@@ -472,11 +453,10 @@ module Google
|
|
472
453
|
end
|
473
454
|
end
|
474
455
|
|
475
|
-
# A Document has been deleted.
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
# delete, if multiple targets are affected.
|
456
|
+
# A Document has been deleted. May be the result of multiple writes, including
|
457
|
+
# updates, the last of which deleted the Document. Multiple DocumentDelete
|
458
|
+
# messages may be returned for the same logical delete, if multiple targets are
|
459
|
+
# affected.
|
480
460
|
class DocumentDelete
|
481
461
|
include Google::Apis::Core::Hashable
|
482
462
|
|
@@ -485,8 +465,8 @@ module Google
|
|
485
465
|
# @return [String]
|
486
466
|
attr_accessor :document
|
487
467
|
|
488
|
-
# The read timestamp at which the delete was observed.
|
489
|
-
#
|
468
|
+
# The read timestamp at which the delete was observed. Greater or equal to the `
|
469
|
+
# commit_time` of the delete.
|
490
470
|
# Corresponds to the JSON property `readTime`
|
491
471
|
# @return [String]
|
492
472
|
attr_accessor :read_time
|
@@ -508,16 +488,15 @@ module Google
|
|
508
488
|
end
|
509
489
|
end
|
510
490
|
|
511
|
-
# A set of field paths on a document.
|
512
|
-
#
|
513
|
-
#
|
514
|
-
#
|
515
|
-
# Document, and takes in account the dynamic nature of Value.
|
491
|
+
# A set of field paths on a document. Used to restrict a get or update operation
|
492
|
+
# on a document to a subset of its fields. This is different from standard field
|
493
|
+
# masks, as this is always scoped to a Document, and takes in account the
|
494
|
+
# dynamic nature of Value.
|
516
495
|
class DocumentMask
|
517
496
|
include Google::Apis::Core::Hashable
|
518
497
|
|
519
|
-
# The list of field paths in the mask. See Document.fields for a field
|
520
|
-
#
|
498
|
+
# The list of field paths in the mask. See Document.fields for a field path
|
499
|
+
# syntax reference.
|
521
500
|
# Corresponds to the JSON property `fieldPaths`
|
522
501
|
# @return [Array<String>]
|
523
502
|
attr_accessor :field_paths
|
@@ -532,12 +511,11 @@ module Google
|
|
532
511
|
end
|
533
512
|
end
|
534
513
|
|
535
|
-
# A Document has been removed from the view of the targets.
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
# write or delete, if multiple targets are affected.
|
514
|
+
# A Document has been removed from the view of the targets. Sent if the document
|
515
|
+
# is no longer relevant to a target and is out of view. Can be sent instead of a
|
516
|
+
# DocumentDelete or a DocumentChange if the server can not send the new value of
|
517
|
+
# the document. Multiple DocumentRemove messages may be returned for the same
|
518
|
+
# logical write or delete, if multiple targets are affected.
|
541
519
|
class DocumentRemove
|
542
520
|
include Google::Apis::Core::Hashable
|
543
521
|
|
@@ -546,8 +524,8 @@ module Google
|
|
546
524
|
# @return [String]
|
547
525
|
attr_accessor :document
|
548
526
|
|
549
|
-
# The read timestamp at which the remove was observed.
|
550
|
-
#
|
527
|
+
# The read timestamp at which the remove was observed. Greater or equal to the `
|
528
|
+
# commit_time` of the change/delete/remove.
|
551
529
|
# Corresponds to the JSON property `readTime`
|
552
530
|
# @return [String]
|
553
531
|
attr_accessor :read_time
|
@@ -578,8 +556,7 @@ module Google
|
|
578
556
|
# @return [String]
|
579
557
|
attr_accessor :document
|
580
558
|
|
581
|
-
# The list of transformations to apply to the fields of the document, in
|
582
|
-
# order.
|
559
|
+
# The list of transformations to apply to the fields of the document, in order.
|
583
560
|
# This must not be empty.
|
584
561
|
# Corresponds to the JSON property `fieldTransforms`
|
585
562
|
# @return [Array<Google::Apis::FirestoreV1::FieldTransform>]
|
@@ -600,10 +577,10 @@ module Google
|
|
600
577
|
class DocumentsTarget
|
601
578
|
include Google::Apis::Core::Hashable
|
602
579
|
|
603
|
-
# The names of the documents to retrieve. In the format:
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
580
|
+
# The names of the documents to retrieve. In the format: `projects/`project_id`/
|
581
|
+
# databases/`database_id`/documents/`document_path``. The request will fail if
|
582
|
+
# any of the document is not a child resource of the given `database`. Duplicate
|
583
|
+
# names will be elided.
|
607
584
|
# Corresponds to the JSON property `documents`
|
608
585
|
# @return [Array<String>]
|
609
586
|
attr_accessor :documents
|
@@ -618,13 +595,11 @@ module Google
|
|
618
595
|
end
|
619
596
|
end
|
620
597
|
|
621
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
622
|
-
#
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
# `
|
627
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
598
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
599
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
600
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
601
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
602
|
+
# `Empty` is empty JSON object ````.
|
628
603
|
class Empty
|
629
604
|
include Google::Apis::Core::Hashable
|
630
605
|
|
@@ -641,9 +616,9 @@ module Google
|
|
641
616
|
class ExistenceFilter
|
642
617
|
include Google::Apis::Core::Hashable
|
643
618
|
|
644
|
-
# The total count of documents that match target_id.
|
645
|
-
#
|
646
|
-
#
|
619
|
+
# The total count of documents that match target_id. If different from the count
|
620
|
+
# of documents in the client that match, the client must manually determine
|
621
|
+
# which documents no longer match the target.
|
647
622
|
# Corresponds to the JSON property `count`
|
648
623
|
# @return [Fixnum]
|
649
624
|
attr_accessor :count
|
@@ -723,8 +698,7 @@ module Google
|
|
723
698
|
# @return [Google::Apis::FirestoreV1::ArrayValue]
|
724
699
|
attr_accessor :append_missing_elements
|
725
700
|
|
726
|
-
# The path of the field. See Document.fields for the field path syntax
|
727
|
-
# reference.
|
701
|
+
# The path of the field. See Document.fields for the field path syntax reference.
|
728
702
|
# Corresponds to the JSON property `fieldPath`
|
729
703
|
# @return [String]
|
730
704
|
attr_accessor :field_path
|
@@ -801,8 +775,8 @@ module Google
|
|
801
775
|
end
|
802
776
|
end
|
803
777
|
|
804
|
-
# Metadata for google.longrunning.Operation results from
|
805
|
-
#
|
778
|
+
# Metadata for google.longrunning.Operation results from FirestoreAdmin.
|
779
|
+
# ExportDocuments.
|
806
780
|
class GoogleFirestoreAdminV1ExportDocumentsMetadata
|
807
781
|
include Google::Apis::Core::Hashable
|
808
782
|
|
@@ -827,16 +801,14 @@ module Google
|
|
827
801
|
# @return [String]
|
828
802
|
attr_accessor :output_uri_prefix
|
829
803
|
|
830
|
-
# Describes the progress of the operation.
|
831
|
-
#
|
832
|
-
# is used.
|
804
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
805
|
+
# interpreted based on where Progress is used.
|
833
806
|
# Corresponds to the JSON property `progressBytes`
|
834
807
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
835
808
|
attr_accessor :progress_bytes
|
836
809
|
|
837
|
-
# Describes the progress of the operation.
|
838
|
-
#
|
839
|
-
# is used.
|
810
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
811
|
+
# interpreted based on where Progress is used.
|
840
812
|
# Corresponds to the JSON property `progressDocuments`
|
841
813
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
842
814
|
attr_accessor :progress_documents
|
@@ -871,14 +843,13 @@ module Google
|
|
871
843
|
# @return [Array<String>]
|
872
844
|
attr_accessor :collection_ids
|
873
845
|
|
874
|
-
# The output URI. Currently only supports Google Cloud Storage URIs of the
|
875
|
-
#
|
876
|
-
#
|
877
|
-
#
|
878
|
-
#
|
879
|
-
#
|
880
|
-
#
|
881
|
-
# generated based on the start time.
|
846
|
+
# The output URI. Currently only supports Google Cloud Storage URIs of the form:
|
847
|
+
# `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the
|
848
|
+
# Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud
|
849
|
+
# Storage namespace path. When choosing a name, be sure to consider Google Cloud
|
850
|
+
# Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If
|
851
|
+
# the URI is a bucket (without a namespace path), a prefix will be generated
|
852
|
+
# based on the start time.
|
882
853
|
# Corresponds to the JSON property `outputUriPrefix`
|
883
854
|
# @return [String]
|
884
855
|
attr_accessor :output_uri_prefix
|
@@ -898,9 +869,9 @@ module Google
|
|
898
869
|
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
899
870
|
include Google::Apis::Core::Hashable
|
900
871
|
|
901
|
-
# Location of the output files. This can be used to begin an import
|
902
|
-
#
|
903
|
-
#
|
872
|
+
# Location of the output files. This can be used to begin an import into Cloud
|
873
|
+
# Firestore (this project or another project) after the operation completes
|
874
|
+
# successfully.
|
904
875
|
# Corresponds to the JSON property `outputUriPrefix`
|
905
876
|
# @return [String]
|
906
877
|
attr_accessor :output_uri_prefix
|
@@ -915,9 +886,9 @@ module Google
|
|
915
886
|
end
|
916
887
|
end
|
917
888
|
|
918
|
-
# Represents a single field in the database.
|
919
|
-
#
|
920
|
-
#
|
889
|
+
# Represents a single field in the database. Fields are grouped by their "
|
890
|
+
# Collection Group", which represent all collections in the database with the
|
891
|
+
# same id.
|
921
892
|
class GoogleFirestoreAdminV1Field
|
922
893
|
include Google::Apis::Core::Hashable
|
923
894
|
|
@@ -926,28 +897,21 @@ module Google
|
|
926
897
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig]
|
927
898
|
attr_accessor :index_config
|
928
899
|
|
929
|
-
# A field name of the form
|
930
|
-
#
|
931
|
-
#
|
932
|
-
#
|
933
|
-
#
|
934
|
-
#
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
941
|
-
#
|
942
|
-
#
|
943
|
-
#
|
944
|
-
# `\`address.city\`` represents a field named `address.city`, not the map key
|
945
|
-
# `city` in the field `address`.
|
946
|
-
# `\`*\`` represents a field named `*`, not any field.
|
947
|
-
# A special `Field` contains the default indexing settings for all fields.
|
948
|
-
# This field's resource name is:
|
949
|
-
# `projects/`project_id`/databases/`database_id`/collectionGroups/__default__/
|
950
|
-
# fields/*`
|
900
|
+
# A field name of the form `projects/`project_id`/databases/`database_id`/
|
901
|
+
# collectionGroups/`collection_id`/fields/`field_path`` A field path may be a
|
902
|
+
# simple field name, e.g. `address` or a path to fields within map_value , e.g. `
|
903
|
+
# address.city`, or a special field path. The only valid special field is `*`,
|
904
|
+
# which represents any field. Field paths may be quoted using ` (backtick). The
|
905
|
+
# only character that needs to be escaped within a quoted field path is the
|
906
|
+
# backtick character itself, escaped using a backslash. Special characters in
|
907
|
+
# field paths that must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`,
|
908
|
+
# as well as any ascii symbolic characters. Examples: (Note: Comments here are
|
909
|
+
# written in markdown syntax, so there is an additional layer of backticks to
|
910
|
+
# represent a code block) `\`address.city\`` represents a field named `address.
|
911
|
+
# city`, not the map key `city` in the field `address`. `\`*\`` represents a
|
912
|
+
# field named `*`, not any field. A special `Field` contains the default
|
913
|
+
# indexing settings for all fields. This field's resource name is: `projects/`
|
914
|
+
# project_id`/databases/`database_id`/collectionGroups/__default__/fields/*`
|
951
915
|
# Indexes defined on this `Field` will be applied to all fields which do not
|
952
916
|
# have their own `Field` index configuration.
|
953
917
|
# Corresponds to the JSON property `name`
|
@@ -965,8 +929,8 @@ module Google
|
|
965
929
|
end
|
966
930
|
end
|
967
931
|
|
968
|
-
# Metadata for google.longrunning.Operation results from
|
969
|
-
#
|
932
|
+
# Metadata for google.longrunning.Operation results from FirestoreAdmin.
|
933
|
+
# UpdateField.
|
970
934
|
class GoogleFirestoreAdminV1FieldOperationMetadata
|
971
935
|
include Google::Apis::Core::Hashable
|
972
936
|
|
@@ -976,29 +940,26 @@ module Google
|
|
976
940
|
# @return [String]
|
977
941
|
attr_accessor :end_time
|
978
942
|
|
979
|
-
# The field resource that this operation is acting on. For example:
|
980
|
-
#
|
981
|
-
#
|
943
|
+
# The field resource that this operation is acting on. For example: `projects/`
|
944
|
+
# project_id`/databases/`database_id`/collectionGroups/`collection_id`/fields/`
|
945
|
+
# field_path``
|
982
946
|
# Corresponds to the JSON property `field`
|
983
947
|
# @return [String]
|
984
948
|
attr_accessor :field
|
985
949
|
|
986
|
-
# A list of IndexConfigDelta, which describe the intent of this
|
987
|
-
# operation.
|
950
|
+
# A list of IndexConfigDelta, which describe the intent of this operation.
|
988
951
|
# Corresponds to the JSON property `indexConfigDeltas`
|
989
952
|
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta>]
|
990
953
|
attr_accessor :index_config_deltas
|
991
954
|
|
992
|
-
# Describes the progress of the operation.
|
993
|
-
#
|
994
|
-
# is used.
|
955
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
956
|
+
# interpreted based on where Progress is used.
|
995
957
|
# Corresponds to the JSON property `progressBytes`
|
996
958
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
997
959
|
attr_accessor :progress_bytes
|
998
960
|
|
999
|
-
# Describes the progress of the operation.
|
1000
|
-
#
|
1001
|
-
# is used.
|
961
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
962
|
+
# interpreted based on where Progress is used.
|
1002
963
|
# Corresponds to the JSON property `progressDocuments`
|
1003
964
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1004
965
|
attr_accessor :progress_documents
|
@@ -1029,8 +990,8 @@ module Google
|
|
1029
990
|
end
|
1030
991
|
end
|
1031
992
|
|
1032
|
-
# Metadata for google.longrunning.Operation results from
|
1033
|
-
#
|
993
|
+
# Metadata for google.longrunning.Operation results from FirestoreAdmin.
|
994
|
+
# ImportDocuments.
|
1034
995
|
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
1035
996
|
include Google::Apis::Core::Hashable
|
1036
997
|
|
@@ -1055,16 +1016,14 @@ module Google
|
|
1055
1016
|
# @return [String]
|
1056
1017
|
attr_accessor :operation_state
|
1057
1018
|
|
1058
|
-
# Describes the progress of the operation.
|
1059
|
-
#
|
1060
|
-
# is used.
|
1019
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1020
|
+
# interpreted based on where Progress is used.
|
1061
1021
|
# Corresponds to the JSON property `progressBytes`
|
1062
1022
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1063
1023
|
attr_accessor :progress_bytes
|
1064
1024
|
|
1065
|
-
# Describes the progress of the operation.
|
1066
|
-
#
|
1067
|
-
# is used.
|
1025
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1026
|
+
# interpreted based on where Progress is used.
|
1068
1027
|
# Corresponds to the JSON property `progressDocuments`
|
1069
1028
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1070
1029
|
attr_accessor :progress_documents
|
@@ -1094,16 +1053,14 @@ module Google
|
|
1094
1053
|
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
1095
1054
|
include Google::Apis::Core::Hashable
|
1096
1055
|
|
1097
|
-
# Which collection ids to import. Unspecified means all collections included
|
1098
|
-
#
|
1056
|
+
# Which collection ids to import. Unspecified means all collections included in
|
1057
|
+
# the import.
|
1099
1058
|
# Corresponds to the JSON property `collectionIds`
|
1100
1059
|
# @return [Array<String>]
|
1101
1060
|
attr_accessor :collection_ids
|
1102
1061
|
|
1103
|
-
# Location of the exported files.
|
1104
|
-
#
|
1105
|
-
# an export that has completed successfully.
|
1106
|
-
# See:
|
1062
|
+
# Location of the exported files. This must match the output_uri_prefix of an
|
1063
|
+
# ExportDocumentsResponse from an export that has completed successfully. See:
|
1107
1064
|
# google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
|
1108
1065
|
# Corresponds to the JSON property `inputUriPrefix`
|
1109
1066
|
# @return [String]
|
@@ -1120,39 +1077,37 @@ module Google
|
|
1120
1077
|
end
|
1121
1078
|
end
|
1122
1079
|
|
1123
|
-
# Cloud Firestore indexes enable simple and complex queries against
|
1124
|
-
#
|
1080
|
+
# Cloud Firestore indexes enable simple and complex queries against documents in
|
1081
|
+
# a database.
|
1125
1082
|
class GoogleFirestoreAdminV1Index
|
1126
1083
|
include Google::Apis::Core::Hashable
|
1127
1084
|
|
1128
|
-
# The fields supported by this index.
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
# creation, `__name__` was not specified as the last field, it will be added
|
1085
|
+
# The fields supported by this index. For composite indexes, this is always 2 or
|
1086
|
+
# more fields. The last field entry is always for the field path `__name__`. If,
|
1087
|
+
# on creation, `__name__` was not specified as the last field, it will be added
|
1132
1088
|
# automatically with the same direction as that of the last field defined. If
|
1133
|
-
# the final field in a composite index is not directional, the `__name__`
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
1089
|
+
# the final field in a composite index is not directional, the `__name__` will
|
1090
|
+
# be ordered ASCENDING (unless explicitly specified). For single field indexes,
|
1091
|
+
# this will always be exactly one entry with a field path equal to the field
|
1092
|
+
# path of the associated field.
|
1137
1093
|
# Corresponds to the JSON property `fields`
|
1138
1094
|
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField>]
|
1139
1095
|
attr_accessor :fields
|
1140
1096
|
|
1141
|
-
# Output only. A server defined name for this index.
|
1142
|
-
#
|
1143
|
-
#
|
1144
|
-
#
|
1145
|
-
# For single field indexes, this field will be empty.
|
1097
|
+
# Output only. A server defined name for this index. The form of this name for
|
1098
|
+
# composite indexes will be: `projects/`project_id`/databases/`database_id`/
|
1099
|
+
# collectionGroups/`collection_id`/indexes/`composite_index_id`` For single
|
1100
|
+
# field indexes, this field will be empty.
|
1146
1101
|
# Corresponds to the JSON property `name`
|
1147
1102
|
# @return [String]
|
1148
1103
|
attr_accessor :name
|
1149
1104
|
|
1150
|
-
# Indexes with a collection query scope specified allow queries
|
1151
|
-
#
|
1152
|
-
#
|
1153
|
-
#
|
1154
|
-
#
|
1155
|
-
#
|
1105
|
+
# Indexes with a collection query scope specified allow queries against a
|
1106
|
+
# collection that is the child of a specific document, specified at query time,
|
1107
|
+
# and that has the same collection id. Indexes with a collection group query
|
1108
|
+
# scope specified allow queries against all collections descended from a
|
1109
|
+
# specific document, specified at query time, and that have the same collection
|
1110
|
+
# id as this index.
|
1156
1111
|
# Corresponds to the JSON property `queryScope`
|
1157
1112
|
# @return [String]
|
1158
1113
|
attr_accessor :query_scope
|
@@ -1180,10 +1135,9 @@ module Google
|
|
1180
1135
|
include Google::Apis::Core::Hashable
|
1181
1136
|
|
1182
1137
|
# Output only. Specifies the resource name of the `Field` from which this field'
|
1183
|
-
# s
|
1184
|
-
#
|
1185
|
-
#
|
1186
|
-
# (when `uses_ancestor_config` is false).
|
1138
|
+
# s index configuration is set (when `uses_ancestor_config` is true), or from
|
1139
|
+
# which it *would* be set if this field had no index configuration (when `
|
1140
|
+
# uses_ancestor_config` is false).
|
1187
1141
|
# Corresponds to the JSON property `ancestorField`
|
1188
1142
|
# @return [String]
|
1189
1143
|
attr_accessor :ancestor_field
|
@@ -1193,19 +1147,18 @@ module Google
|
|
1193
1147
|
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index>]
|
1194
1148
|
attr_accessor :indexes
|
1195
1149
|
|
1196
|
-
# Output only
|
1197
|
-
#
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
# `uses_ancestor_config` will be `true` and `reverting` will be `false`.
|
1150
|
+
# Output only When true, the `Field`'s index configuration is in the process of
|
1151
|
+
# being reverted. Once complete, the index config will transition to the same
|
1152
|
+
# state as the field specified by `ancestor_field`, at which point `
|
1153
|
+
# uses_ancestor_config` will be `true` and `reverting` will be `false`.
|
1201
1154
|
# Corresponds to the JSON property `reverting`
|
1202
1155
|
# @return [Boolean]
|
1203
1156
|
attr_accessor :reverting
|
1204
1157
|
alias_method :reverting?, :reverting
|
1205
1158
|
|
1206
1159
|
# Output only. When true, the `Field`'s index configuration is set from the
|
1207
|
-
# configuration specified by the `ancestor_field`.
|
1208
|
-
#
|
1160
|
+
# configuration specified by the `ancestor_field`. When false, the `Field`'s
|
1161
|
+
# index configuration is defined explicitly.
|
1209
1162
|
# Corresponds to the JSON property `usesAncestorConfig`
|
1210
1163
|
# @return [Boolean]
|
1211
1164
|
attr_accessor :uses_ancestor_config
|
@@ -1233,8 +1186,8 @@ module Google
|
|
1233
1186
|
# @return [String]
|
1234
1187
|
attr_accessor :change_type
|
1235
1188
|
|
1236
|
-
# Cloud Firestore indexes enable simple and complex queries against
|
1237
|
-
#
|
1189
|
+
# Cloud Firestore indexes enable simple and complex queries against documents in
|
1190
|
+
# a database.
|
1238
1191
|
# Corresponds to the JSON property `index`
|
1239
1192
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index]
|
1240
1193
|
attr_accessor :index
|
@@ -1250,9 +1203,8 @@ module Google
|
|
1250
1203
|
end
|
1251
1204
|
end
|
1252
1205
|
|
1253
|
-
# A field in an index.
|
1254
|
-
#
|
1255
|
-
# how the field value is indexed.
|
1206
|
+
# A field in an index. The field_path describes which field is indexed, the
|
1207
|
+
# value_mode describes how the field value is indexed.
|
1256
1208
|
class GoogleFirestoreAdminV1IndexField
|
1257
1209
|
include Google::Apis::Core::Hashable
|
1258
1210
|
|
@@ -1261,9 +1213,8 @@ module Google
|
|
1261
1213
|
# @return [String]
|
1262
1214
|
attr_accessor :array_config
|
1263
1215
|
|
1264
|
-
# Can be __name__.
|
1265
|
-
#
|
1266
|
-
# be omitted.
|
1216
|
+
# Can be __name__. For single field indexes, this must match the name of the
|
1217
|
+
# field or may be omitted.
|
1267
1218
|
# Corresponds to the JSON property `fieldPath`
|
1268
1219
|
# @return [String]
|
1269
1220
|
attr_accessor :field_path
|
@@ -1286,8 +1237,8 @@ module Google
|
|
1286
1237
|
end
|
1287
1238
|
end
|
1288
1239
|
|
1289
|
-
# Metadata for google.longrunning.Operation results from
|
1290
|
-
#
|
1240
|
+
# Metadata for google.longrunning.Operation results from FirestoreAdmin.
|
1241
|
+
# CreateIndex.
|
1291
1242
|
class GoogleFirestoreAdminV1IndexOperationMetadata
|
1292
1243
|
include Google::Apis::Core::Hashable
|
1293
1244
|
|
@@ -1297,23 +1248,21 @@ module Google
|
|
1297
1248
|
# @return [String]
|
1298
1249
|
attr_accessor :end_time
|
1299
1250
|
|
1300
|
-
# The index resource that this operation is acting on. For example:
|
1301
|
-
#
|
1302
|
-
#
|
1251
|
+
# The index resource that this operation is acting on. For example: `projects/`
|
1252
|
+
# project_id`/databases/`database_id`/collectionGroups/`collection_id`/indexes/`
|
1253
|
+
# index_id``
|
1303
1254
|
# Corresponds to the JSON property `index`
|
1304
1255
|
# @return [String]
|
1305
1256
|
attr_accessor :index
|
1306
1257
|
|
1307
|
-
# Describes the progress of the operation.
|
1308
|
-
#
|
1309
|
-
# is used.
|
1258
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1259
|
+
# interpreted based on where Progress is used.
|
1310
1260
|
# Corresponds to the JSON property `progressBytes`
|
1311
1261
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1312
1262
|
attr_accessor :progress_bytes
|
1313
1263
|
|
1314
|
-
# Describes the progress of the operation.
|
1315
|
-
#
|
1316
|
-
# is used.
|
1264
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1265
|
+
# interpreted based on where Progress is used.
|
1317
1266
|
# Corresponds to the JSON property `progressDocuments`
|
1318
1267
|
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
1319
1268
|
attr_accessor :progress_documents
|
@@ -1408,9 +1357,8 @@ module Google
|
|
1408
1357
|
end
|
1409
1358
|
end
|
1410
1359
|
|
1411
|
-
# Describes the progress of the operation.
|
1412
|
-
#
|
1413
|
-
# is used.
|
1360
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
1361
|
+
# interpreted based on where Progress is used.
|
1414
1362
|
class GoogleFirestoreAdminV1Progress
|
1415
1363
|
include Google::Apis::Core::Hashable
|
1416
1364
|
|
@@ -1478,47 +1426,45 @@ module Google
|
|
1478
1426
|
class GoogleLongrunningOperation
|
1479
1427
|
include Google::Apis::Core::Hashable
|
1480
1428
|
|
1481
|
-
# If the value is `false`, it means the operation is still in progress.
|
1482
|
-
#
|
1483
|
-
# available.
|
1429
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
1430
|
+
# , the operation is completed, and either `error` or `response` is available.
|
1484
1431
|
# Corresponds to the JSON property `done`
|
1485
1432
|
# @return [Boolean]
|
1486
1433
|
attr_accessor :done
|
1487
1434
|
alias_method :done?, :done
|
1488
1435
|
|
1489
|
-
# The `Status` type defines a logical error model that is suitable for
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
#
|
1436
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1437
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1438
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1439
|
+
# data: error code, error message, and error details. You can find out more
|
1440
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1441
|
+
# //cloud.google.com/apis/design/errors).
|
1495
1442
|
# Corresponds to the JSON property `error`
|
1496
1443
|
# @return [Google::Apis::FirestoreV1::Status]
|
1497
1444
|
attr_accessor :error
|
1498
1445
|
|
1499
|
-
# Service-specific metadata associated with the operation.
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1446
|
+
# Service-specific metadata associated with the operation. It typically contains
|
1447
|
+
# progress information and common metadata such as create time. Some services
|
1448
|
+
# might not provide such metadata. Any method that returns a long-running
|
1449
|
+
# operation should document the metadata type, if any.
|
1503
1450
|
# Corresponds to the JSON property `metadata`
|
1504
1451
|
# @return [Hash<String,Object>]
|
1505
1452
|
attr_accessor :metadata
|
1506
1453
|
|
1507
1454
|
# The server-assigned name, which is only unique within the same service that
|
1508
|
-
# originally returns it. If you use the default HTTP mapping, the
|
1509
|
-
#
|
1455
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
1456
|
+
# be a resource name ending with `operations/`unique_id``.
|
1510
1457
|
# Corresponds to the JSON property `name`
|
1511
1458
|
# @return [String]
|
1512
1459
|
attr_accessor :name
|
1513
1460
|
|
1514
|
-
# The normal response of the operation in case of success.
|
1515
|
-
# method returns no data on success, such as `Delete`, the response is
|
1516
|
-
#
|
1517
|
-
#
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
#
|
1521
|
-
# `TakeSnapshotResponse`.
|
1461
|
+
# The normal response of the operation in case of success. If the original
|
1462
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
1463
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
1464
|
+
# the response should be the resource. For other methods, the response should
|
1465
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
1466
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
1467
|
+
# response type is `TakeSnapshotResponse`.
|
1522
1468
|
# Corresponds to the JSON property `response`
|
1523
1469
|
# @return [Hash<String,Object>]
|
1524
1470
|
attr_accessor :response
|
@@ -1539,9 +1485,8 @@ module Google
|
|
1539
1485
|
|
1540
1486
|
# An object representing a latitude/longitude pair. This is expressed as a pair
|
1541
1487
|
# of doubles representing degrees latitude and degrees longitude. Unless
|
1542
|
-
# specified otherwise, this must conform to the
|
1543
|
-
#
|
1544
|
-
# standard</a>. Values must be within normalized ranges.
|
1488
|
+
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
1489
|
+
# within normalized ranges.
|
1545
1490
|
class LatLng
|
1546
1491
|
include Google::Apis::Core::Hashable
|
1547
1492
|
|
@@ -1575,8 +1520,7 @@ module Google
|
|
1575
1520
|
# @return [Fixnum]
|
1576
1521
|
attr_accessor :page_size
|
1577
1522
|
|
1578
|
-
# A page token. Must be a value from
|
1579
|
-
# ListCollectionIdsResponse.
|
1523
|
+
# A page token. Must be a value from ListCollectionIdsResponse.
|
1580
1524
|
# Corresponds to the JSON property `pageToken`
|
1581
1525
|
# @return [String]
|
1582
1526
|
attr_accessor :page_token
|
@@ -1702,30 +1646,27 @@ module Google
|
|
1702
1646
|
class ListenResponse
|
1703
1647
|
include Google::Apis::Core::Hashable
|
1704
1648
|
|
1705
|
-
# A Document has changed.
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
# change, if multiple targets are affected.
|
1649
|
+
# A Document has changed. May be the result of multiple writes, including
|
1650
|
+
# deletes, that ultimately resulted in a new value for the Document. Multiple
|
1651
|
+
# DocumentChange messages may be returned for the same logical change, if
|
1652
|
+
# multiple targets are affected.
|
1710
1653
|
# Corresponds to the JSON property `documentChange`
|
1711
1654
|
# @return [Google::Apis::FirestoreV1::DocumentChange]
|
1712
1655
|
attr_accessor :document_change
|
1713
1656
|
|
1714
|
-
# A Document has been deleted.
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
# delete, if multiple targets are affected.
|
1657
|
+
# A Document has been deleted. May be the result of multiple writes, including
|
1658
|
+
# updates, the last of which deleted the Document. Multiple DocumentDelete
|
1659
|
+
# messages may be returned for the same logical delete, if multiple targets are
|
1660
|
+
# affected.
|
1719
1661
|
# Corresponds to the JSON property `documentDelete`
|
1720
1662
|
# @return [Google::Apis::FirestoreV1::DocumentDelete]
|
1721
1663
|
attr_accessor :document_delete
|
1722
1664
|
|
1723
|
-
# A Document has been removed from the view of the targets.
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
#
|
1728
|
-
# write or delete, if multiple targets are affected.
|
1665
|
+
# A Document has been removed from the view of the targets. Sent if the document
|
1666
|
+
# is no longer relevant to a target and is out of view. Can be sent instead of a
|
1667
|
+
# DocumentDelete or a DocumentChange if the server can not send the new value of
|
1668
|
+
# the document. Multiple DocumentRemove messages may be returned for the same
|
1669
|
+
# logical write or delete, if multiple targets are affected.
|
1729
1670
|
# Corresponds to the JSON property `documentRemove`
|
1730
1671
|
# @return [Google::Apis::FirestoreV1::DocumentRemove]
|
1731
1672
|
attr_accessor :document_remove
|
@@ -1758,14 +1699,14 @@ module Google
|
|
1758
1699
|
class Location
|
1759
1700
|
include Google::Apis::Core::Hashable
|
1760
1701
|
|
1761
|
-
# The friendly name for this location, typically a nearby city name.
|
1762
|
-
#
|
1702
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
1703
|
+
# "Tokyo".
|
1763
1704
|
# Corresponds to the JSON property `displayName`
|
1764
1705
|
# @return [String]
|
1765
1706
|
attr_accessor :display_name
|
1766
1707
|
|
1767
|
-
# Cross-service attributes for the location. For example
|
1768
|
-
#
|
1708
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
1709
|
+
# region": "us-east1"`
|
1769
1710
|
# Corresponds to the JSON property `labels`
|
1770
1711
|
# @return [Hash<String,String>]
|
1771
1712
|
attr_accessor :labels
|
@@ -1781,8 +1722,8 @@ module Google
|
|
1781
1722
|
# @return [Hash<String,Object>]
|
1782
1723
|
attr_accessor :metadata
|
1783
1724
|
|
1784
|
-
# Resource name for the location, which may vary between implementations.
|
1785
|
-
#
|
1725
|
+
# Resource name for the location, which may vary between implementations. For
|
1726
|
+
# example: `"projects/example-project/locations/us-east1"`
|
1786
1727
|
# Corresponds to the JSON property `name`
|
1787
1728
|
# @return [String]
|
1788
1729
|
attr_accessor :name
|
@@ -1805,11 +1746,10 @@ module Google
|
|
1805
1746
|
class MapValue
|
1806
1747
|
include Google::Apis::Core::Hashable
|
1807
1748
|
|
1808
|
-
# The map's fields.
|
1809
|
-
#
|
1810
|
-
#
|
1811
|
-
#
|
1812
|
-
# not exceed 1,500 bytes and cannot be empty.
|
1749
|
+
# The map's fields. The map keys represent field names. Field names matching the
|
1750
|
+
# regular expression `__.*__` are reserved. Reserved field names are forbidden
|
1751
|
+
# except in certain documented contexts. The map keys, represented as UTF-8,
|
1752
|
+
# must not exceed 1,500 bytes and cannot be empty.
|
1813
1753
|
# Corresponds to the JSON property `fields`
|
1814
1754
|
# @return [Hash<String,Google::Apis::FirestoreV1::Value>]
|
1815
1755
|
attr_accessor :fields
|
@@ -1853,37 +1793,34 @@ module Google
|
|
1853
1793
|
class PartitionQueryRequest
|
1854
1794
|
include Google::Apis::Core::Hashable
|
1855
1795
|
|
1856
|
-
# The maximum number of partitions to return in this call, subject to
|
1857
|
-
# `partition_count
|
1858
|
-
#
|
1859
|
-
#
|
1860
|
-
#
|
1861
|
-
#
|
1796
|
+
# The maximum number of partitions to return in this call, subject to `
|
1797
|
+
# partition_count`. For example, if `partition_count` = 10 and `page_size` = 8,
|
1798
|
+
# the first call to PartitionQuery will return up to 8 partitions and a `
|
1799
|
+
# next_page_token` if more results exist. A second call to PartitionQuery will
|
1800
|
+
# return up to 2 partitions, to complete the total of 10 specified in `
|
1801
|
+
# partition_count`.
|
1862
1802
|
# Corresponds to the JSON property `pageSize`
|
1863
1803
|
# @return [Fixnum]
|
1864
1804
|
attr_accessor :page_size
|
1865
1805
|
|
1866
|
-
# The `next_page_token` value returned from a previous call to
|
1867
|
-
#
|
1868
|
-
#
|
1869
|
-
#
|
1870
|
-
#
|
1871
|
-
#
|
1872
|
-
#
|
1873
|
-
#
|
1874
|
-
# query supplied to PartitionQuery, the results sets should be merged:
|
1875
|
-
# cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W
|
1806
|
+
# The `next_page_token` value returned from a previous call to PartitionQuery
|
1807
|
+
# that may be used to get an additional set of results. There are no ordering
|
1808
|
+
# guarantees between sets of results. Thus, using multiple sets of results will
|
1809
|
+
# require merging the different result sets. For example, two subsequent calls
|
1810
|
+
# using a page_token may return: * cursor B, cursor M, cursor Q * cursor A,
|
1811
|
+
# cursor U, cursor W To obtain a complete result set ordered with respect to the
|
1812
|
+
# results of the query supplied to PartitionQuery, the results sets should be
|
1813
|
+
# merged: cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W
|
1876
1814
|
# Corresponds to the JSON property `pageToken`
|
1877
1815
|
# @return [String]
|
1878
1816
|
attr_accessor :page_token
|
1879
1817
|
|
1880
|
-
# The desired maximum number of partition points.
|
1881
|
-
#
|
1882
|
-
#
|
1883
|
-
#
|
1884
|
-
#
|
1885
|
-
#
|
1886
|
-
# number of workers or compute instances available.
|
1818
|
+
# The desired maximum number of partition points. The partitions may be returned
|
1819
|
+
# across multiple pages of results. The number must be positive. The actual
|
1820
|
+
# number of partitions returned may be fewer. For example, this may be set to
|
1821
|
+
# one fewer than the number of parallel queries to be run, or in running a data
|
1822
|
+
# pipeline job, one fewer than the number of workers or compute instances
|
1823
|
+
# available.
|
1887
1824
|
# Corresponds to the JSON property `partitionCount`
|
1888
1825
|
# @return [Fixnum]
|
1889
1826
|
attr_accessor :partition_count
|
@@ -1910,25 +1847,22 @@ module Google
|
|
1910
1847
|
class PartitionQueryResponse
|
1911
1848
|
include Google::Apis::Core::Hashable
|
1912
1849
|
|
1913
|
-
# A page token that may be used to request an additional set of results, up
|
1914
|
-
#
|
1915
|
-
#
|
1850
|
+
# A page token that may be used to request an additional set of results, up to
|
1851
|
+
# the number specified by `partition_count` in the PartitionQuery request. If
|
1852
|
+
# blank, there are no more results.
|
1916
1853
|
# Corresponds to the JSON property `nextPageToken`
|
1917
1854
|
# @return [String]
|
1918
1855
|
attr_accessor :next_page_token
|
1919
1856
|
|
1920
|
-
# Partition results.
|
1921
|
-
#
|
1922
|
-
#
|
1923
|
-
#
|
1924
|
-
#
|
1925
|
-
#
|
1926
|
-
#
|
1927
|
-
#
|
1928
|
-
# the
|
1929
|
-
# * query, end_at A
|
1930
|
-
# * query, start_at A, end_at B
|
1931
|
-
# * query, start_at B
|
1857
|
+
# Partition results. Each partition is a split point that can be used by
|
1858
|
+
# RunQuery as a starting or end point for the query results. The RunQuery
|
1859
|
+
# requests must be made with the same query supplied to this PartitionQuery
|
1860
|
+
# request. The partition cursors will be ordered according to same ordering as
|
1861
|
+
# the results of the query supplied to PartitionQuery. For example, if a
|
1862
|
+
# PartitionQuery request returns partition cursors A and B, running the
|
1863
|
+
# following three queries will return the entire result set of the original
|
1864
|
+
# query: * query, end_at A * query, start_at A, end_at B * query, start_at B An
|
1865
|
+
# empty result may indicate that the query has too few results to be partitioned.
|
1932
1866
|
# Corresponds to the JSON property `partitions`
|
1933
1867
|
# @return [Array<Google::Apis::FirestoreV1::Cursor>]
|
1934
1868
|
attr_accessor :partitions
|
@@ -1948,15 +1882,15 @@ module Google
|
|
1948
1882
|
class Precondition
|
1949
1883
|
include Google::Apis::Core::Hashable
|
1950
1884
|
|
1951
|
-
# When set to `true`, the target document must exist.
|
1952
|
-
#
|
1885
|
+
# When set to `true`, the target document must exist. When set to `false`, the
|
1886
|
+
# target document must not exist.
|
1953
1887
|
# Corresponds to the JSON property `exists`
|
1954
1888
|
# @return [Boolean]
|
1955
1889
|
attr_accessor :exists
|
1956
1890
|
alias_method :exists?, :exists
|
1957
1891
|
|
1958
|
-
# When set, the target document must exist and have been last updated at
|
1959
|
-
#
|
1892
|
+
# When set, the target document must exist and have been last updated at that
|
1893
|
+
# time.
|
1960
1894
|
# Corresponds to the JSON property `updateTime`
|
1961
1895
|
# @return [String]
|
1962
1896
|
attr_accessor :update_time
|
@@ -1976,9 +1910,8 @@ module Google
|
|
1976
1910
|
class Projection
|
1977
1911
|
include Google::Apis::Core::Hashable
|
1978
1912
|
|
1979
|
-
# The fields to return.
|
1980
|
-
#
|
1981
|
-
# of the document, use `['__name__']`.
|
1913
|
+
# The fields to return. If empty, all fields are returned. To only return the
|
1914
|
+
# name of the document, use `['__name__']`.
|
1982
1915
|
# Corresponds to the JSON property `fields`
|
1983
1916
|
# @return [Array<Google::Apis::FirestoreV1::FieldReference>]
|
1984
1917
|
attr_accessor :fields
|
@@ -1997,12 +1930,11 @@ module Google
|
|
1997
1930
|
class QueryTarget
|
1998
1931
|
include Google::Apis::Core::Hashable
|
1999
1932
|
|
2000
|
-
# The parent resource name. In the format:
|
2001
|
-
# `projects/`project_id`/databases/`database_id`/
|
2002
|
-
#
|
2003
|
-
#
|
2004
|
-
#
|
2005
|
-
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
1933
|
+
# The parent resource name. In the format: `projects/`project_id`/databases/`
|
1934
|
+
# database_id`/documents` or `projects/`project_id`/databases/`database_id`/
|
1935
|
+
# documents/`document_path``. For example: `projects/my-project/databases/my-
|
1936
|
+
# database/documents` or `projects/my-project/databases/my-database/documents/
|
1937
|
+
# chatrooms/my-chatroom`
|
2006
1938
|
# Corresponds to the JSON property `parent`
|
2007
1939
|
# @return [String]
|
2008
1940
|
attr_accessor :parent
|
@@ -2027,8 +1959,7 @@ module Google
|
|
2027
1959
|
class ReadOnly
|
2028
1960
|
include Google::Apis::Core::Hashable
|
2029
1961
|
|
2030
|
-
# Reads documents at the given time.
|
2031
|
-
# This may not be older than 60 seconds.
|
1962
|
+
# Reads documents at the given time. This may not be older than 60 seconds.
|
2032
1963
|
# Corresponds to the JSON property `readTime`
|
2033
1964
|
# @return [String]
|
2034
1965
|
attr_accessor :read_time
|
@@ -2092,8 +2023,8 @@ module Google
|
|
2092
2023
|
# @return [Google::Apis::FirestoreV1::TransactionOptions]
|
2093
2024
|
attr_accessor :new_transaction
|
2094
2025
|
|
2095
|
-
# Reads documents as they were at the given time.
|
2096
|
-
#
|
2026
|
+
# Reads documents as they were at the given time. This may not be older than 270
|
2027
|
+
# seconds.
|
2097
2028
|
# Corresponds to the JSON property `readTime`
|
2098
2029
|
# @return [String]
|
2099
2030
|
attr_accessor :read_time
|
@@ -2126,32 +2057,29 @@ module Google
|
|
2126
2057
|
class RunQueryResponse
|
2127
2058
|
include Google::Apis::Core::Hashable
|
2128
2059
|
|
2129
|
-
# A Firestore document.
|
2130
|
-
# Must not exceed 1 MiB - 4 bytes.
|
2060
|
+
# A Firestore document. Must not exceed 1 MiB - 4 bytes.
|
2131
2061
|
# Corresponds to the JSON property `document`
|
2132
2062
|
# @return [Google::Apis::FirestoreV1::Document]
|
2133
2063
|
attr_accessor :document
|
2134
2064
|
|
2135
|
-
# The time at which the document was read. This may be monotonically
|
2136
|
-
#
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
# was run.
|
2065
|
+
# The time at which the document was read. This may be monotonically increasing;
|
2066
|
+
# in this case, the previous documents in the result stream are guaranteed not
|
2067
|
+
# to have changed between their `read_time` and this one. If the query returns
|
2068
|
+
# no results, a response with `read_time` and no `document` will be sent, and
|
2069
|
+
# this represents the time at which the query was run.
|
2141
2070
|
# Corresponds to the JSON property `readTime`
|
2142
2071
|
# @return [String]
|
2143
2072
|
attr_accessor :read_time
|
2144
2073
|
|
2145
|
-
# The number of results that have been skipped due to an offset between
|
2146
|
-
#
|
2074
|
+
# The number of results that have been skipped due to an offset between the last
|
2075
|
+
# response and the current response.
|
2147
2076
|
# Corresponds to the JSON property `skippedResults`
|
2148
2077
|
# @return [Fixnum]
|
2149
2078
|
attr_accessor :skipped_results
|
2150
2079
|
|
2151
|
-
# The transaction that was started as part of this request.
|
2152
|
-
#
|
2153
|
-
#
|
2154
|
-
# If set, no other fields will be set in this response.
|
2080
|
+
# The transaction that was started as part of this request. Can only be set in
|
2081
|
+
# the first response, and only if RunQueryRequest.new_transaction was set in the
|
2082
|
+
# request. If set, no other fields will be set in this response.
|
2155
2083
|
# Corresponds to the JSON property `transaction`
|
2156
2084
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2157
2085
|
# @return [String]
|
@@ -2170,12 +2098,12 @@ module Google
|
|
2170
2098
|
end
|
2171
2099
|
end
|
2172
2100
|
|
2173
|
-
# The `Status` type defines a logical error model that is suitable for
|
2174
|
-
#
|
2175
|
-
#
|
2176
|
-
#
|
2177
|
-
#
|
2178
|
-
#
|
2101
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2102
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2103
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2104
|
+
# data: error code, error message, and error details. You can find out more
|
2105
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2106
|
+
# //cloud.google.com/apis/design/errors).
|
2179
2107
|
class Status
|
2180
2108
|
include Google::Apis::Core::Hashable
|
2181
2109
|
|
@@ -2184,15 +2112,15 @@ module Google
|
|
2184
2112
|
# @return [Fixnum]
|
2185
2113
|
attr_accessor :code
|
2186
2114
|
|
2187
|
-
# A list of messages that carry the error details.
|
2115
|
+
# A list of messages that carry the error details. There is a common set of
|
2188
2116
|
# message types for APIs to use.
|
2189
2117
|
# Corresponds to the JSON property `details`
|
2190
2118
|
# @return [Array<Hash<String,Object>>]
|
2191
2119
|
attr_accessor :details
|
2192
2120
|
|
2193
|
-
# A developer-facing error message, which should be in English. Any
|
2194
|
-
#
|
2195
|
-
#
|
2121
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
2122
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
2123
|
+
# field, or localized by the client.
|
2196
2124
|
# Corresponds to the JSON property `message`
|
2197
2125
|
# @return [String]
|
2198
2126
|
attr_accessor :message
|
@@ -2223,34 +2151,28 @@ module Google
|
|
2223
2151
|
# @return [Array<Google::Apis::FirestoreV1::CollectionSelector>]
|
2224
2152
|
attr_accessor :from
|
2225
2153
|
|
2226
|
-
# The maximum number of results to return.
|
2227
|
-
# Applies after all other constraints.
|
2154
|
+
# The maximum number of results to return. Applies after all other constraints.
|
2228
2155
|
# Must be >= 0 if specified.
|
2229
2156
|
# Corresponds to the JSON property `limit`
|
2230
2157
|
# @return [Fixnum]
|
2231
2158
|
attr_accessor :limit
|
2232
2159
|
|
2233
|
-
# The number of results to skip.
|
2234
|
-
#
|
2235
|
-
# specified.
|
2160
|
+
# The number of results to skip. Applies before limit, but after all other
|
2161
|
+
# constraints. Must be >= 0 if specified.
|
2236
2162
|
# Corresponds to the JSON property `offset`
|
2237
2163
|
# @return [Fixnum]
|
2238
2164
|
attr_accessor :offset
|
2239
2165
|
|
2240
|
-
# The order to apply to the query results.
|
2241
|
-
#
|
2242
|
-
#
|
2243
|
-
#
|
2244
|
-
# by default.
|
2245
|
-
#
|
2246
|
-
#
|
2247
|
-
#
|
2248
|
-
#
|
2249
|
-
# `SELECT * FROM Foo ORDER BY A, __name__`
|
2250
|
-
# * `SELECT * FROM Foo ORDER BY A DESC` becomes
|
2251
|
-
# `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
|
2252
|
-
# * `SELECT * FROM Foo WHERE A > 1` becomes
|
2253
|
-
# `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
|
2166
|
+
# The order to apply to the query results. Firestore guarantees a stable
|
2167
|
+
# ordering through the following rules: * Any field required to appear in `
|
2168
|
+
# order_by`, that is not already specified in `order_by`, is appended to the
|
2169
|
+
# order in field name order by default. * If an order on `__name__` is not
|
2170
|
+
# specified, it is appended by default. Fields are appended with the same sort
|
2171
|
+
# direction as the last order specified, or 'ASCENDING' if no order was
|
2172
|
+
# specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT *
|
2173
|
+
# FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `
|
2174
|
+
# SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A
|
2175
|
+
# > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
|
2254
2176
|
# Corresponds to the JSON property `orderBy`
|
2255
2177
|
# @return [Array<Google::Apis::FirestoreV1::Order>]
|
2256
2178
|
attr_accessor :order_by
|
@@ -2307,14 +2229,14 @@ module Google
|
|
2307
2229
|
# @return [Google::Apis::FirestoreV1::QueryTarget]
|
2308
2230
|
attr_accessor :query
|
2309
2231
|
|
2310
|
-
# Start listening after a specific `read_time`.
|
2311
|
-
#
|
2232
|
+
# Start listening after a specific `read_time`. The client must know the state
|
2233
|
+
# of matching documents at this time.
|
2312
2234
|
# Corresponds to the JSON property `readTime`
|
2313
2235
|
# @return [String]
|
2314
2236
|
attr_accessor :read_time
|
2315
2237
|
|
2316
|
-
# A resume token from a prior TargetChange for an identical target.
|
2317
|
-
#
|
2238
|
+
# A resume token from a prior TargetChange for an identical target. Using a
|
2239
|
+
# resume token with a different target is unsupported and may fail.
|
2318
2240
|
# Corresponds to the JSON property `resumeToken`
|
2319
2241
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2320
2242
|
# @return [String]
|
@@ -2345,31 +2267,29 @@ module Google
|
|
2345
2267
|
class TargetChange
|
2346
2268
|
include Google::Apis::Core::Hashable
|
2347
2269
|
|
2348
|
-
# The `Status` type defines a logical error model that is suitable for
|
2349
|
-
#
|
2350
|
-
#
|
2351
|
-
#
|
2352
|
-
#
|
2353
|
-
#
|
2270
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2271
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2272
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2273
|
+
# data: error code, error message, and error details. You can find out more
|
2274
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2275
|
+
# //cloud.google.com/apis/design/errors).
|
2354
2276
|
# Corresponds to the JSON property `cause`
|
2355
2277
|
# @return [Google::Apis::FirestoreV1::Status]
|
2356
2278
|
attr_accessor :cause
|
2357
2279
|
|
2358
2280
|
# The consistent `read_time` for the given `target_ids` (omitted when the
|
2359
|
-
# target_ids are not at a consistent snapshot).
|
2360
|
-
#
|
2361
|
-
#
|
2362
|
-
#
|
2363
|
-
#
|
2364
|
-
#
|
2365
|
-
# increasing.
|
2281
|
+
# target_ids are not at a consistent snapshot). The stream is guaranteed to send
|
2282
|
+
# a `read_time` with `target_ids` empty whenever the entire stream reaches a new
|
2283
|
+
# consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (
|
2284
|
+
# eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE
|
2285
|
+
# messages are not). For a given stream, `read_time` is guaranteed to be
|
2286
|
+
# monotonically increasing.
|
2366
2287
|
# Corresponds to the JSON property `readTime`
|
2367
2288
|
# @return [String]
|
2368
2289
|
attr_accessor :read_time
|
2369
2290
|
|
2370
|
-
# A token that can be used to resume the stream for the given `target_ids`,
|
2371
|
-
#
|
2372
|
-
# Not set on every target change.
|
2291
|
+
# A token that can be used to resume the stream for the given `target_ids`, or
|
2292
|
+
# all targets if `target_ids` is empty. Not set on every target change.
|
2373
2293
|
# Corresponds to the JSON property `resumeToken`
|
2374
2294
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2375
2295
|
# @return [String]
|
@@ -2380,9 +2300,8 @@ module Google
|
|
2380
2300
|
# @return [String]
|
2381
2301
|
attr_accessor :target_change_type
|
2382
2302
|
|
2383
|
-
# The target IDs of targets that have changed.
|
2384
|
-
#
|
2385
|
-
# The order of the target IDs is not defined.
|
2303
|
+
# The target IDs of targets that have changed. If empty, the change applies to
|
2304
|
+
# all targets. The order of the target IDs is not defined.
|
2386
2305
|
# Corresponds to the JSON property `targetIds`
|
2387
2306
|
# @return [Array<Fixnum>]
|
2388
2307
|
attr_accessor :target_ids
|
@@ -2466,9 +2385,8 @@ module Google
|
|
2466
2385
|
attr_accessor :boolean_value
|
2467
2386
|
alias_method :boolean_value?, :boolean_value
|
2468
2387
|
|
2469
|
-
# A bytes value.
|
2470
|
-
#
|
2471
|
-
# Only the first 1,500 bytes are considered by queries.
|
2388
|
+
# A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes
|
2389
|
+
# are considered by queries.
|
2472
2390
|
# Corresponds to the JSON property `bytesValue`
|
2473
2391
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2474
2392
|
# @return [String]
|
@@ -2481,9 +2399,8 @@ module Google
|
|
2481
2399
|
|
2482
2400
|
# An object representing a latitude/longitude pair. This is expressed as a pair
|
2483
2401
|
# of doubles representing degrees latitude and degrees longitude. Unless
|
2484
|
-
# specified otherwise, this must conform to the
|
2485
|
-
#
|
2486
|
-
# standard</a>. Values must be within normalized ranges.
|
2402
|
+
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
2403
|
+
# within normalized ranges.
|
2487
2404
|
# Corresponds to the JSON property `geoPointValue`
|
2488
2405
|
# @return [Google::Apis::FirestoreV1::LatLng]
|
2489
2406
|
attr_accessor :geo_point_value
|
@@ -2503,23 +2420,21 @@ module Google
|
|
2503
2420
|
# @return [String]
|
2504
2421
|
attr_accessor :null_value
|
2505
2422
|
|
2506
|
-
# A reference to a document. For example:
|
2507
|
-
#
|
2423
|
+
# A reference to a document. For example: `projects/`project_id`/databases/`
|
2424
|
+
# database_id`/documents/`document_path``.
|
2508
2425
|
# Corresponds to the JSON property `referenceValue`
|
2509
2426
|
# @return [String]
|
2510
2427
|
attr_accessor :reference_value
|
2511
2428
|
|
2512
|
-
# A string value.
|
2513
|
-
#
|
2514
|
-
#
|
2515
|
-
# queries.
|
2429
|
+
# A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89
|
2430
|
+
# bytes. Only the first 1,500 bytes of the UTF-8 representation are considered
|
2431
|
+
# by queries.
|
2516
2432
|
# Corresponds to the JSON property `stringValue`
|
2517
2433
|
# @return [String]
|
2518
2434
|
attr_accessor :string_value
|
2519
2435
|
|
2520
|
-
# A timestamp value.
|
2521
|
-
#
|
2522
|
-
# rounded down.
|
2436
|
+
# A timestamp value. Precise only to microseconds. When stored, any additional
|
2437
|
+
# precision is rounded down.
|
2523
2438
|
# Corresponds to the JSON property `timestampValue`
|
2524
2439
|
# @return [String]
|
2525
2440
|
attr_accessor :timestamp_value
|
@@ -2553,8 +2468,8 @@ module Google
|
|
2553
2468
|
# @return [Google::Apis::FirestoreV1::Precondition]
|
2554
2469
|
attr_accessor :current_document
|
2555
2470
|
|
2556
|
-
# A document name to delete. In the format:
|
2557
|
-
#
|
2471
|
+
# A document name to delete. In the format: `projects/`project_id`/databases/`
|
2472
|
+
# database_id`/documents/`document_path``.
|
2558
2473
|
# Corresponds to the JSON property `delete`
|
2559
2474
|
# @return [String]
|
2560
2475
|
attr_accessor :delete
|
@@ -2564,25 +2479,22 @@ module Google
|
|
2564
2479
|
# @return [Google::Apis::FirestoreV1::DocumentTransform]
|
2565
2480
|
attr_accessor :transform
|
2566
2481
|
|
2567
|
-
# A Firestore document.
|
2568
|
-
# Must not exceed 1 MiB - 4 bytes.
|
2482
|
+
# A Firestore document. Must not exceed 1 MiB - 4 bytes.
|
2569
2483
|
# Corresponds to the JSON property `update`
|
2570
2484
|
# @return [Google::Apis::FirestoreV1::Document]
|
2571
2485
|
attr_accessor :update
|
2572
2486
|
|
2573
|
-
# A set of field paths on a document.
|
2574
|
-
#
|
2575
|
-
#
|
2576
|
-
#
|
2577
|
-
# Document, and takes in account the dynamic nature of Value.
|
2487
|
+
# A set of field paths on a document. Used to restrict a get or update operation
|
2488
|
+
# on a document to a subset of its fields. This is different from standard field
|
2489
|
+
# masks, as this is always scoped to a Document, and takes in account the
|
2490
|
+
# dynamic nature of Value.
|
2578
2491
|
# Corresponds to the JSON property `updateMask`
|
2579
2492
|
# @return [Google::Apis::FirestoreV1::DocumentMask]
|
2580
2493
|
attr_accessor :update_mask
|
2581
2494
|
|
2582
|
-
# The transforms to perform after update.
|
2583
|
-
#
|
2584
|
-
#
|
2585
|
-
# document atomically and in order.
|
2495
|
+
# The transforms to perform after update. This field can be set only when the
|
2496
|
+
# operation is `update`. If present, this write is equivalent to performing `
|
2497
|
+
# update` and `transform` to the same document atomically and in order.
|
2586
2498
|
# Corresponds to the JSON property `updateTransforms`
|
2587
2499
|
# @return [Array<Google::Apis::FirestoreV1::FieldTransform>]
|
2588
2500
|
attr_accessor :update_transforms
|
@@ -2602,13 +2514,12 @@ module Google
|
|
2602
2514
|
end
|
2603
2515
|
end
|
2604
2516
|
|
2605
|
-
# The request for Firestore.Write.
|
2606
|
-
#
|
2607
|
-
#
|
2608
|
-
#
|
2609
|
-
#
|
2610
|
-
#
|
2611
|
-
# the next request.
|
2517
|
+
# The request for Firestore.Write. The first request creates a stream, or
|
2518
|
+
# resumes an existing one from a token. When creating a new stream, the server
|
2519
|
+
# replies with a response containing only an ID and a token, to use in the next
|
2520
|
+
# request. When resuming a stream, the server first streams any responses later
|
2521
|
+
# than the given token, then a response containing only an up-to-date token, to
|
2522
|
+
# use in the next request.
|
2612
2523
|
class WriteRequest
|
2613
2524
|
include Google::Apis::Core::Hashable
|
2614
2525
|
|
@@ -2617,33 +2528,28 @@ module Google
|
|
2617
2528
|
# @return [Hash<String,String>]
|
2618
2529
|
attr_accessor :labels
|
2619
2530
|
|
2620
|
-
# The ID of the write stream to resume.
|
2621
|
-
#
|
2622
|
-
# stream will be created.
|
2531
|
+
# The ID of the write stream to resume. This may only be set in the first
|
2532
|
+
# message. When left empty, a new write stream will be created.
|
2623
2533
|
# Corresponds to the JSON property `streamId`
|
2624
2534
|
# @return [String]
|
2625
2535
|
attr_accessor :stream_id
|
2626
2536
|
|
2627
|
-
# A stream token that was previously sent by the server.
|
2628
|
-
#
|
2629
|
-
#
|
2630
|
-
#
|
2631
|
-
#
|
2632
|
-
#
|
2633
|
-
#
|
2634
|
-
#
|
2635
|
-
# a specific point, set this field and the `stream_id` field.
|
2636
|
-
# Leave this field unset when creating a new stream.
|
2537
|
+
# A stream token that was previously sent by the server. The client should set
|
2538
|
+
# this field to the token from the most recent WriteResponse it has received.
|
2539
|
+
# This acknowledges that the client has received responses up to this token.
|
2540
|
+
# After sending this token, earlier tokens may not be used anymore. The server
|
2541
|
+
# may close the stream if there are too many unacknowledged responses. Leave
|
2542
|
+
# this field unset when creating a new stream. To resume a stream at a specific
|
2543
|
+
# point, set this field and the `stream_id` field. Leave this field unset when
|
2544
|
+
# creating a new stream.
|
2637
2545
|
# Corresponds to the JSON property `streamToken`
|
2638
2546
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2639
2547
|
# @return [String]
|
2640
2548
|
attr_accessor :stream_token
|
2641
2549
|
|
2642
|
-
# The writes to apply.
|
2643
|
-
#
|
2644
|
-
#
|
2645
|
-
# This may be empty on the last request.
|
2646
|
-
# This must not be empty on all other requests.
|
2550
|
+
# The writes to apply. Always executed atomically and in order. This must be
|
2551
|
+
# empty on the first request. This may be empty on the last request. This must
|
2552
|
+
# not be empty on all other requests.
|
2647
2553
|
# Corresponds to the JSON property `writes`
|
2648
2554
|
# @return [Array<Google::Apis::FirestoreV1::Write>]
|
2649
2555
|
attr_accessor :writes
|
@@ -2665,29 +2571,28 @@ module Google
|
|
2665
2571
|
class WriteResponse
|
2666
2572
|
include Google::Apis::Core::Hashable
|
2667
2573
|
|
2668
|
-
# The time at which the commit occurred. Any read with an equal or greater
|
2669
|
-
#
|
2574
|
+
# The time at which the commit occurred. Any read with an equal or greater `
|
2575
|
+
# read_time` is guaranteed to see the effects of the write.
|
2670
2576
|
# Corresponds to the JSON property `commitTime`
|
2671
2577
|
# @return [String]
|
2672
2578
|
attr_accessor :commit_time
|
2673
2579
|
|
2674
|
-
# The ID of the stream.
|
2675
|
-
#
|
2580
|
+
# The ID of the stream. Only set on the first message, when a new stream was
|
2581
|
+
# created.
|
2676
2582
|
# Corresponds to the JSON property `streamId`
|
2677
2583
|
# @return [String]
|
2678
2584
|
attr_accessor :stream_id
|
2679
2585
|
|
2680
|
-
# A token that represents the position of this response in the stream.
|
2681
|
-
#
|
2682
|
-
#
|
2586
|
+
# A token that represents the position of this response in the stream. This can
|
2587
|
+
# be used by a client to resume the stream at this point. This field is always
|
2588
|
+
# set.
|
2683
2589
|
# Corresponds to the JSON property `streamToken`
|
2684
2590
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2685
2591
|
# @return [String]
|
2686
2592
|
attr_accessor :stream_token
|
2687
2593
|
|
2688
|
-
# The result of applying the writes.
|
2689
|
-
#
|
2690
|
-
# request.
|
2594
|
+
# The result of applying the writes. This i-th write result corresponds to the i-
|
2595
|
+
# th write in the request.
|
2691
2596
|
# Corresponds to the JSON property `writeResults`
|
2692
2597
|
# @return [Array<Google::Apis::FirestoreV1::WriteResult>]
|
2693
2598
|
attr_accessor :write_results
|
@@ -2709,15 +2614,14 @@ module Google
|
|
2709
2614
|
class WriteResult
|
2710
2615
|
include Google::Apis::Core::Hashable
|
2711
2616
|
|
2712
|
-
# The results of applying each DocumentTransform.FieldTransform, in the
|
2713
|
-
#
|
2617
|
+
# The results of applying each DocumentTransform.FieldTransform, in the same
|
2618
|
+
# order.
|
2714
2619
|
# Corresponds to the JSON property `transformResults`
|
2715
2620
|
# @return [Array<Google::Apis::FirestoreV1::Value>]
|
2716
2621
|
attr_accessor :transform_results
|
2717
2622
|
|
2718
|
-
# The last update time of the document after applying the write. Not set
|
2719
|
-
#
|
2720
|
-
# If the write did not actually change the document, this will be the
|
2623
|
+
# The last update time of the document after applying the write. Not set after a
|
2624
|
+
# `delete`. If the write did not actually change the document, this will be the
|
2721
2625
|
# previous update_time.
|
2722
2626
|
# Corresponds to the JSON property `updateTime`
|
2723
2627
|
# @return [String]
|