google-api-client 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- 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 +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- 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/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 +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- 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/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- 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/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- 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 +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- 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 +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -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 +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- 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 +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- 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 +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- 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 +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -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 +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -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 +127 -156
- 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 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- 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 +263 -373
- 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/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- 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 +273 -384
- 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 -781
- 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 +69 -78
- 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 +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -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 +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -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 +456 -596
- 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 +454 -613
- 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 +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- 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 -973
- 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 +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -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 +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- 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/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 +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -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 +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -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/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- 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 +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- 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 +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- 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 +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- 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 +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- 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 +6 -6
- 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 +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- 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 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- 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 +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -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 +388 -592
- 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 +246 -355
- 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 +157 -254
- 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/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/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/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 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -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 +103 -26
- 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 +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- 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 +226 -270
- 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 +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -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 +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -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/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- 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/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- 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 +176 -212
- 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 +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- 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 +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- 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/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- 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 +211 -363
- 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 +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- 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 +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- 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 +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- 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 +1266 -2116
- 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 +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- 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 -2157
- 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 +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- 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 +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- 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/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- 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 +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -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 +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- 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 -151
- 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 -151
- 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/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -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/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- 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/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- 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/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- 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
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
|
51
51
|
# Gets information about a particular instance configuration.
|
52
52
|
# @param [String] name
|
53
|
-
# Required. The name of the requested instance configuration. Values are of
|
54
|
-
#
|
53
|
+
# Required. The name of the requested instance configuration. Values are of the
|
54
|
+
# form `projects//instanceConfigs/`.
|
55
55
|
# @param [String] fields
|
56
56
|
# Selector specifying which fields to include in a partial response.
|
57
57
|
# @param [String] quota_user
|
@@ -82,15 +82,13 @@ module Google
|
|
82
82
|
# Lists the supported instance configurations for a given project.
|
83
83
|
# @param [String] parent
|
84
84
|
# Required. The name of the project for which a list of supported instance
|
85
|
-
# configurations is requested. Values are of the form
|
86
|
-
# `projects/<project>`.
|
85
|
+
# configurations is requested. Values are of the form `projects/`.
|
87
86
|
# @param [Fixnum] page_size
|
88
|
-
# Number of instance configurations to be returned in the response. If 0 or
|
89
|
-
#
|
87
|
+
# Number of instance configurations to be returned in the response. If 0 or less,
|
88
|
+
# defaults to the server's maximum allowed page size.
|
90
89
|
# @param [String] page_token
|
91
|
-
# If non-empty, `page_token` should contain a
|
92
|
-
#
|
93
|
-
# from a previous ListInstanceConfigsResponse.
|
90
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
91
|
+
# ListInstanceConfigsResponse.
|
94
92
|
# @param [String] fields
|
95
93
|
# Selector specifying which fields to include in a partial response.
|
96
94
|
# @param [String] quota_user
|
@@ -120,36 +118,25 @@ module Google
|
|
120
118
|
execute_or_queue_command(command, &block)
|
121
119
|
end
|
122
120
|
|
123
|
-
# Creates an instance and begins preparing it to begin serving. The
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# `
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
# * The instance
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
# may have lower than the requested levels).
|
140
|
-
# * Databases can be created in the instance.
|
141
|
-
# * The instance's allocated resource levels are readable via the API.
|
142
|
-
# * The instance's state becomes `READY`.
|
143
|
-
# The returned long-running operation will
|
144
|
-
# have a name of the format `<instance_name>/operations/<operation_id>` and
|
145
|
-
# can be used to track creation of the instance. The
|
146
|
-
# metadata field type is
|
147
|
-
# CreateInstanceMetadata.
|
148
|
-
# The response field type is
|
149
|
-
# Instance, if successful.
|
121
|
+
# Creates an instance and begins preparing it to begin serving. The returned
|
122
|
+
# long-running operation can be used to track the progress of preparing the new
|
123
|
+
# instance. The instance name is assigned by the caller. If the named instance
|
124
|
+
# already exists, `CreateInstance` returns `ALREADY_EXISTS`. Immediately upon
|
125
|
+
# completion of this request: * The instance is readable via the API, with all
|
126
|
+
# requested attributes but no allocated resources. Its state is `CREATING`.
|
127
|
+
# Until completion of the returned operation: * Cancelling the operation renders
|
128
|
+
# the instance immediately unreadable via the API. * The instance can be deleted.
|
129
|
+
# * All other attempts to modify the instance are rejected. Upon completion of
|
130
|
+
# the returned operation: * Billing for all successfully-allocated resources
|
131
|
+
# begins (some types may have lower than the requested levels). * Databases can
|
132
|
+
# be created in the instance. * The instance's allocated resource levels are
|
133
|
+
# readable via the API. * The instance's state becomes `READY`. The returned
|
134
|
+
# long-running operation will have a name of the format `/operations/` and can
|
135
|
+
# be used to track creation of the instance. The metadata field type is
|
136
|
+
# CreateInstanceMetadata. The response field type is Instance, if successful.
|
150
137
|
# @param [String] parent
|
151
|
-
# Required. The name of the project in which to create the instance. Values
|
152
|
-
#
|
138
|
+
# Required. The name of the project in which to create the instance. Values are
|
139
|
+
# of the form `projects/`.
|
153
140
|
# @param [Google::Apis::SpannerV1::CreateInstanceRequest] create_instance_request_object
|
154
141
|
# @param [String] fields
|
155
142
|
# Selector specifying which fields to include in a partial response.
|
@@ -180,16 +167,13 @@ module Google
|
|
180
167
|
execute_or_queue_command(command, &block)
|
181
168
|
end
|
182
169
|
|
183
|
-
# Deletes an instance.
|
184
|
-
#
|
185
|
-
# *
|
186
|
-
#
|
187
|
-
# * The instance and *all of its databases* immediately and
|
188
|
-
# irrevocably disappear from the API. All data in the databases
|
189
|
-
# is permanently deleted.
|
170
|
+
# Deletes an instance. Immediately upon completion of the request: * Billing
|
171
|
+
# ceases for all of the instance's reserved resources. Soon afterward: * The
|
172
|
+
# instance and *all of its databases* immediately and irrevocably disappear from
|
173
|
+
# the API. All data in the databases is permanently deleted.
|
190
174
|
# @param [String] name
|
191
|
-
# Required. The name of the instance to be deleted. Values are of the form
|
192
|
-
#
|
175
|
+
# Required. The name of the instance to be deleted. Values are of the form `
|
176
|
+
# projects//instances/`
|
193
177
|
# @param [String] fields
|
194
178
|
# Selector specifying which fields to include in a partial response.
|
195
179
|
# @param [String] quota_user
|
@@ -219,12 +203,11 @@ module Google
|
|
219
203
|
|
220
204
|
# Gets information about a particular instance.
|
221
205
|
# @param [String] name
|
222
|
-
# Required. The name of the requested instance. Values are of the form
|
223
|
-
#
|
206
|
+
# Required. The name of the requested instance. Values are of the form `projects/
|
207
|
+
# /instances/`.
|
224
208
|
# @param [String] field_mask
|
225
|
-
# If field_mask is present, specifies the subset of Instance fields that
|
226
|
-
#
|
227
|
-
# If absent, all Instance fields are returned.
|
209
|
+
# If field_mask is present, specifies the subset of Instance fields that should
|
210
|
+
# be returned. If absent, all Instance fields are returned.
|
228
211
|
# @param [String] fields
|
229
212
|
# Selector specifying which fields to include in a partial response.
|
230
213
|
# @param [String] quota_user
|
@@ -254,14 +237,12 @@ module Google
|
|
254
237
|
end
|
255
238
|
|
256
239
|
# Gets the access control policy for an instance resource. Returns an empty
|
257
|
-
# policy if an instance exists but does not have a policy set.
|
258
|
-
#
|
259
|
-
# resource.
|
240
|
+
# policy if an instance exists but does not have a policy set. Authorization
|
241
|
+
# requires `spanner.instances.getIamPolicy` on resource.
|
260
242
|
# @param [String] resource
|
261
243
|
# REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
|
262
|
-
# The format is `projects
|
263
|
-
#
|
264
|
-
# database ID>` for database resources.
|
244
|
+
# The format is `projects//instances/` for instance resources and `projects//
|
245
|
+
# instances//databases/` for database resources.
|
265
246
|
# @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
266
247
|
# @param [String] fields
|
267
248
|
# Selector specifying which fields to include in a partial response.
|
@@ -294,32 +275,25 @@ module Google
|
|
294
275
|
|
295
276
|
# Lists all instances in the given project.
|
296
277
|
# @param [String] parent
|
297
|
-
# Required. The name of the project for which a list of instances is
|
298
|
-
#
|
278
|
+
# Required. The name of the project for which a list of instances is requested.
|
279
|
+
# Values are of the form `projects/`.
|
299
280
|
# @param [String] filter
|
300
|
-
# An expression for filtering the results of the request. Filter rules are
|
301
|
-
#
|
302
|
-
#
|
303
|
-
# * `
|
304
|
-
# * `
|
305
|
-
#
|
306
|
-
# * `
|
307
|
-
#
|
308
|
-
#
|
309
|
-
# * `NAME:howl` --> Equivalent to above.
|
310
|
-
# * `labels.env:*` --> The instance has the label "env".
|
311
|
-
# * `labels.env:dev` --> The instance has the label "env" and the value of
|
312
|
-
# the label contains the string "dev".
|
313
|
-
# * `name:howl labels.env:dev` --> The instance's name contains "howl" and
|
314
|
-
# it has the label "env" with its value
|
281
|
+
# An expression for filtering the results of the request. Filter rules are case
|
282
|
+
# insensitive. The fields eligible for filtering are: * `name` * `display_name` *
|
283
|
+
# `labels.key` where key is the name of a label Some examples of using filters
|
284
|
+
# are: * `name:*` --> The instance has a name. * `name:Howl` --> The instance's
|
285
|
+
# name contains the string "howl". * `name:HOWL` --> Equivalent to above. * `
|
286
|
+
# NAME:howl` --> Equivalent to above. * `labels.env:*` --> The instance has the
|
287
|
+
# label "env". * `labels.env:dev` --> The instance has the label "env" and the
|
288
|
+
# value of the label contains the string "dev". * `name:howl labels.env:dev` -->
|
289
|
+
# The instance's name contains "howl" and it has the label "env" with its value
|
315
290
|
# containing "dev".
|
316
291
|
# @param [Fixnum] page_size
|
317
|
-
# Number of instances to be returned in the response. If 0 or less, defaults
|
318
|
-
#
|
292
|
+
# Number of instances to be returned in the response. If 0 or less, defaults to
|
293
|
+
# the server's maximum allowed page size.
|
319
294
|
# @param [String] page_token
|
320
|
-
# If non-empty, `page_token` should contain a
|
321
|
-
#
|
322
|
-
# previous ListInstancesResponse.
|
295
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
296
|
+
# ListInstancesResponse.
|
323
297
|
# @param [String] fields
|
324
298
|
# Selector specifying which fields to include in a partial response.
|
325
299
|
# @param [String] quota_user
|
@@ -350,43 +324,31 @@ module Google
|
|
350
324
|
execute_or_queue_command(command, &block)
|
351
325
|
end
|
352
326
|
|
353
|
-
# Updates an instance, and begins allocating or releasing resources
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# *
|
360
|
-
#
|
361
|
-
#
|
362
|
-
# *
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
# * All newly-reserved resources are available for serving the instance's
|
374
|
-
# tables.
|
375
|
-
# * The instance's new resource levels are readable via the API.
|
376
|
-
# The returned long-running operation will
|
377
|
-
# have a name of the format `<instance_name>/operations/<operation_id>` and
|
378
|
-
# can be used to track the instance modification. The
|
379
|
-
# metadata field type is
|
380
|
-
# UpdateInstanceMetadata.
|
381
|
-
# The response field type is
|
382
|
-
# Instance, if successful.
|
383
|
-
# Authorization requires `spanner.instances.update` permission on
|
384
|
-
# resource name.
|
327
|
+
# Updates an instance, and begins allocating or releasing resources as requested.
|
328
|
+
# The returned long-running operation can be used to track the progress of
|
329
|
+
# updating the instance. If the named instance does not exist, returns `
|
330
|
+
# NOT_FOUND`. Immediately upon completion of this request: * For resource types
|
331
|
+
# for which a decrease in the instance's allocation has been requested, billing
|
332
|
+
# is based on the newly-requested level. Until completion of the returned
|
333
|
+
# operation: * Cancelling the operation sets its metadata's cancel_time, and
|
334
|
+
# begins restoring resources to their pre-request values. The operation is
|
335
|
+
# guaranteed to succeed at undoing all resource changes, after which point it
|
336
|
+
# terminates with a `CANCELLED` status. * All other attempts to modify the
|
337
|
+
# instance are rejected. * Reading the instance via the API continues to give
|
338
|
+
# the pre-request resource levels. Upon completion of the returned operation: *
|
339
|
+
# Billing begins for all successfully-allocated resources (some types may have
|
340
|
+
# lower than the requested levels). * All newly-reserved resources are available
|
341
|
+
# for serving the instance's tables. * The instance's new resource levels are
|
342
|
+
# readable via the API. The returned long-running operation will have a name of
|
343
|
+
# the format `/operations/` and can be used to track the instance modification.
|
344
|
+
# The metadata field type is UpdateInstanceMetadata. The response field type is
|
345
|
+
# Instance, if successful. Authorization requires `spanner.instances.update`
|
346
|
+
# permission on resource name.
|
385
347
|
# @param [String] name
|
386
|
-
# Required. A unique identifier for the instance, which cannot be changed
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
348
|
+
# Required. A unique identifier for the instance, which cannot be changed after
|
349
|
+
# the instance is created. Values are of the form `projects//instances/a-z*[a-z0-
|
350
|
+
# 9]`. The final segment of the name must be between 2 and 64 characters in
|
351
|
+
# length.
|
390
352
|
# @param [Google::Apis::SpannerV1::UpdateInstanceRequest] update_instance_request_object
|
391
353
|
# @param [String] fields
|
392
354
|
# Selector specifying which fields to include in a partial response.
|
@@ -417,15 +379,12 @@ module Google
|
|
417
379
|
execute_or_queue_command(command, &block)
|
418
380
|
end
|
419
381
|
|
420
|
-
# Sets the access control policy on an instance resource. Replaces any
|
421
|
-
#
|
422
|
-
# Authorization requires `spanner.instances.setIamPolicy` on
|
423
|
-
# resource.
|
382
|
+
# Sets the access control policy on an instance resource. Replaces any existing
|
383
|
+
# policy. Authorization requires `spanner.instances.setIamPolicy` on resource.
|
424
384
|
# @param [String] resource
|
425
385
|
# REQUIRED: The Cloud Spanner resource for which the policy is being set. The
|
426
|
-
# format is `projects
|
427
|
-
#
|
428
|
-
# database ID>` for databases resources.
|
386
|
+
# format is `projects//instances/` for instance resources and `projects//
|
387
|
+
# instances//databases/` for databases resources.
|
429
388
|
# @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
430
389
|
# @param [String] fields
|
431
390
|
# Selector specifying which fields to include in a partial response.
|
@@ -459,13 +418,12 @@ module Google
|
|
459
418
|
# Returns permissions that the caller has on the specified instance resource.
|
460
419
|
# Attempting this RPC on a non-existent Cloud Spanner instance resource will
|
461
420
|
# result in a NOT_FOUND error if the user has `spanner.instances.list`
|
462
|
-
# permission on the containing Google Cloud Project. Otherwise returns an
|
463
|
-
#
|
421
|
+
# permission on the containing Google Cloud Project. Otherwise returns an empty
|
422
|
+
# set of permissions.
|
464
423
|
# @param [String] resource
|
465
424
|
# REQUIRED: The Cloud Spanner resource for which permissions are being tested.
|
466
|
-
# The format is `projects
|
467
|
-
#
|
468
|
-
# database ID>` for database resources.
|
425
|
+
# The format is `projects//instances/` for instance resources and `projects//
|
426
|
+
# instances//databases/` for database resources.
|
469
427
|
# @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
470
428
|
# @param [String] fields
|
471
429
|
# Selector specifying which fields to include in a partial response.
|
@@ -496,63 +454,47 @@ module Google
|
|
496
454
|
execute_or_queue_command(command, &block)
|
497
455
|
end
|
498
456
|
|
499
|
-
# Lists the backup long-running operations in
|
500
|
-
#
|
501
|
-
# `
|
502
|
-
#
|
503
|
-
#
|
504
|
-
#
|
505
|
-
# `
|
506
|
-
#
|
507
|
-
# and pending operations. Operations returned are ordered by
|
508
|
-
# `operation.metadata.value.progress.start_time` in descending order starting
|
509
|
-
# from the most recently started operation.
|
457
|
+
# Lists the backup long-running operations in the given instance. A backup
|
458
|
+
# operation has a name of the form `projects//instances//backups//operations/`.
|
459
|
+
# The long-running operation metadata field type `metadata.type_url` describes
|
460
|
+
# the type of the metadata. Operations returned include those that have
|
461
|
+
# completed/failed/canceled within the last 7 days, and pending operations.
|
462
|
+
# Operations returned are ordered by `operation.metadata.value.progress.
|
463
|
+
# start_time` in descending order starting from the most recently started
|
464
|
+
# operation.
|
510
465
|
# @param [String] parent
|
511
|
-
# Required. The instance of the backup operations. Values are of
|
512
|
-
#
|
466
|
+
# Required. The instance of the backup operations. Values are of the form `
|
467
|
+
# projects//instances/`.
|
513
468
|
# @param [String] filter
|
514
|
-
# An expression that filters the list of returned backup operations.
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
523
|
-
# * `
|
524
|
-
#
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
# * `
|
529
|
-
# * `
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
533
|
-
#
|
534
|
-
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
# * `metadata.database:prod` - The database the backup was taken from has
|
538
|
-
# a name containing the string "prod".
|
539
|
-
# * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.
|
540
|
-
# CreateBackupMetadata) AND` \
|
541
|
-
# `(metadata.name:howl) AND` \
|
542
|
-
# `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
|
543
|
-
# `(error:*)` - Returns operations where:
|
544
|
-
# * The operation's metadata type is CreateBackupMetadata.
|
545
|
-
# * The backup name contains the string "howl".
|
546
|
-
# * The operation started before 2018-03-28T14:50:00Z.
|
547
|
-
# * The operation resulted in an error.
|
469
|
+
# An expression that filters the list of returned backup operations. A filter
|
470
|
+
# expression consists of a field name, a comparison operator, and a value for
|
471
|
+
# filtering. The value must be a string, a number, or a boolean. The comparison
|
472
|
+
# operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is
|
473
|
+
# the contains operator. Filter rules are not case sensitive. The following
|
474
|
+
# fields in the operation are eligible for filtering: * `name` - The name of the
|
475
|
+
# long-running operation * `done` - False if the operation is in progress, else
|
476
|
+
# true. * `metadata.@type` - the type of metadata. For example, the type string
|
477
|
+
# for CreateBackupMetadata is `type.googleapis.com/google.spanner.admin.database.
|
478
|
+
# v1.CreateBackupMetadata`. * `metadata.` - any field in metadata.value. * `
|
479
|
+
# error` - Error associated with the long-running operation. * `response.@type` -
|
480
|
+
# the type of response. * `response.` - any field in response.value. You can
|
481
|
+
# combine multiple expressions by enclosing each expression in parentheses. By
|
482
|
+
# default, expressions are combined with AND logic, but you can specify AND, OR,
|
483
|
+
# and NOT logic explicitly. Here are a few examples: * `done:true` - The
|
484
|
+
# operation is complete. * `metadata.database:prod` - The database the backup
|
485
|
+
# was taken from has a name containing the string "prod". * `(metadata.@type=
|
486
|
+
# type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND`
|
487
|
+
# \ `(metadata.name:howl) AND` \ `(metadata.progress.start_time < \"2018-03-
|
488
|
+
# 28T14:50:00Z\") AND` \ `(error:*)` - Returns operations where: * The operation'
|
489
|
+
# s metadata type is CreateBackupMetadata. * The backup name contains the string
|
490
|
+
# "howl". * The operation started before 2018-03-28T14:50:00Z. * The operation
|
491
|
+
# resulted in an error.
|
548
492
|
# @param [Fixnum] page_size
|
549
|
-
# Number of operations to be returned in the response. If 0 or
|
550
|
-
#
|
493
|
+
# Number of operations to be returned in the response. If 0 or less, defaults to
|
494
|
+
# the server's maximum allowed page size.
|
551
495
|
# @param [String] page_token
|
552
|
-
# If non-empty, `page_token` should contain a
|
553
|
-
#
|
554
|
-
# from a previous ListBackupOperationsResponse to the
|
555
|
-
# same `parent` and with the same `filter`.
|
496
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
497
|
+
# ListBackupOperationsResponse to the same `parent` and with the same `filter`.
|
556
498
|
# @param [String] fields
|
557
499
|
# Selector specifying which fields to include in a partial response.
|
558
500
|
# @param [String] quota_user
|
@@ -583,31 +525,23 @@ module Google
|
|
583
525
|
execute_or_queue_command(command, &block)
|
584
526
|
end
|
585
527
|
|
586
|
-
# Starts creating a new Cloud Spanner Backup.
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
# CreateBackupMetadata. The
|
594
|
-
# response field type is
|
595
|
-
# Backup, if successful. Cancelling the returned operation will stop the
|
596
|
-
# creation and delete the backup.
|
597
|
-
# There can be only one pending backup creation per database. Backup creation
|
598
|
-
# of different databases can run concurrently.
|
528
|
+
# Starts creating a new Cloud Spanner Backup. The returned backup long-running
|
529
|
+
# operation will have a name of the format `projects//instances//backups//
|
530
|
+
# operations/` and can be used to track creation of the backup. The metadata
|
531
|
+
# field type is CreateBackupMetadata. The response field type is Backup, if
|
532
|
+
# successful. Cancelling the returned operation will stop the creation and
|
533
|
+
# delete the backup. There can be only one pending backup creation per database.
|
534
|
+
# Backup creation of different databases can run concurrently.
|
599
535
|
# @param [String] parent
|
600
|
-
# Required. The name of the instance in which the backup will be
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
# `projects/<project>/instances/<instance>`.
|
536
|
+
# Required. The name of the instance in which the backup will be created. This
|
537
|
+
# must be the same instance that contains the database the backup will be
|
538
|
+
# created from. The backup will be stored in the location(s) specified in the
|
539
|
+
# instance configuration of this instance. Values are of the form `projects//
|
540
|
+
# instances/`.
|
606
541
|
# @param [Google::Apis::SpannerV1::Backup] backup_object
|
607
542
|
# @param [String] backup_id
|
608
|
-
# Required. The id of the backup to be created. The `backup_id` appended to
|
609
|
-
#
|
610
|
-
# `projects/<project>/instances/<instance>/backups/<backup_id>`.
|
543
|
+
# Required. The id of the backup to be created. The `backup_id` appended to `
|
544
|
+
# parent` forms the full backup name of the form `projects//instances//backups/`.
|
611
545
|
# @param [String] fields
|
612
546
|
# Selector specifying which fields to include in a partial response.
|
613
547
|
# @param [String] quota_user
|
@@ -640,9 +574,8 @@ module Google
|
|
640
574
|
|
641
575
|
# Deletes a pending or completed Backup.
|
642
576
|
# @param [String] name
|
643
|
-
# Required. Name of the backup to delete.
|
644
|
-
#
|
645
|
-
# `projects/<project>/instances/<instance>/backups/<backup>`.
|
577
|
+
# Required. Name of the backup to delete. Values are of the form `projects//
|
578
|
+
# instances//backups/`.
|
646
579
|
# @param [String] fields
|
647
580
|
# Selector specifying which fields to include in a partial response.
|
648
581
|
# @param [String] quota_user
|
@@ -672,9 +605,8 @@ module Google
|
|
672
605
|
|
673
606
|
# Gets metadata on a pending or completed Backup.
|
674
607
|
# @param [String] name
|
675
|
-
# Required. Name of the backup.
|
676
|
-
#
|
677
|
-
# `projects/<project>/instances/<instance>/backups/<backup>`.
|
608
|
+
# Required. Name of the backup. Values are of the form `projects//instances//
|
609
|
+
# backups/`.
|
678
610
|
# @param [String] fields
|
679
611
|
# Selector specifying which fields to include in a partial response.
|
680
612
|
# @param [String] quota_user
|
@@ -702,18 +634,15 @@ module Google
|
|
702
634
|
execute_or_queue_command(command, &block)
|
703
635
|
end
|
704
636
|
|
705
|
-
# Gets the access control policy for a database or backup resource.
|
706
|
-
#
|
707
|
-
#
|
708
|
-
#
|
709
|
-
# resource.
|
710
|
-
# For backups, authorization requires `spanner.backups.getIamPolicy`
|
711
|
-
# permission on resource.
|
637
|
+
# Gets the access control policy for a database or backup resource. Returns an
|
638
|
+
# empty policy if a database or backup exists but does not have a policy set.
|
639
|
+
# Authorization requires `spanner.databases.getIamPolicy` permission on resource.
|
640
|
+
# For backups, authorization requires `spanner.backups.getIamPolicy` permission
|
641
|
+
# on resource.
|
712
642
|
# @param [String] resource
|
713
643
|
# REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
|
714
|
-
# The format is `projects
|
715
|
-
#
|
716
|
-
# database ID>` for database resources.
|
644
|
+
# The format is `projects//instances/` for instance resources and `projects//
|
645
|
+
# instances//databases/` for database resources.
|
717
646
|
# @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
718
647
|
# @param [String] fields
|
719
648
|
# Selector specifying which fields to include in a partial response.
|
@@ -744,49 +673,37 @@ module Google
|
|
744
673
|
execute_or_queue_command(command, &block)
|
745
674
|
end
|
746
675
|
|
747
|
-
# Lists completed and pending backups.
|
748
|
-
#
|
749
|
-
# starting from the most recent `create_time`.
|
676
|
+
# Lists completed and pending backups. Backups returned are ordered by `
|
677
|
+
# create_time` in descending order, starting from the most recent `create_time`.
|
750
678
|
# @param [String] parent
|
751
|
-
# Required. The instance to list backups from.
|
752
|
-
#
|
679
|
+
# Required. The instance to list backups from. Values are of the form `projects//
|
680
|
+
# instances/`.
|
753
681
|
# @param [String] filter
|
754
|
-
# An expression that filters the list of returned backups.
|
755
|
-
#
|
756
|
-
# value for filtering.
|
682
|
+
# An expression that filters the list of returned backups. A filter expression
|
683
|
+
# consists of a field name, a comparison operator, and a value for filtering.
|
757
684
|
# The value must be a string, a number, or a boolean. The comparison operator
|
758
|
-
# must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
|
759
|
-
#
|
760
|
-
#
|
761
|
-
# * `
|
762
|
-
# * `
|
763
|
-
# * `state`
|
764
|
-
# * `create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
765
|
-
# * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
766
|
-
# * `size_bytes`
|
685
|
+
# must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the
|
686
|
+
# contains operator. Filter rules are not case sensitive. The following fields
|
687
|
+
# in the Backup are eligible for filtering: * `name` * `database` * `state` * `
|
688
|
+
# create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `
|
689
|
+
# expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `size_bytes`
|
767
690
|
# You can combine multiple expressions by enclosing each expression in
|
768
|
-
# parentheses. By default, expressions are combined with AND logic, but
|
769
|
-
#
|
770
|
-
#
|
771
|
-
#
|
772
|
-
# * `
|
773
|
-
#
|
774
|
-
#
|
775
|
-
# * `
|
776
|
-
#
|
777
|
-
#
|
778
|
-
# of the backup is before 2018-03-28T14:50:00Z.
|
779
|
-
# * `expire_time < \"2018-03-28T14:50:00Z\"`
|
780
|
-
# - The backup `expire_time` is before 2018-03-28T14:50:00Z.
|
781
|
-
# * `size_bytes > 10000000000` - The backup's size is greater than 10GB
|
691
|
+
# parentheses. By default, expressions are combined with AND logic, but you can
|
692
|
+
# specify AND, OR, and NOT logic explicitly. Here are a few examples: * `name:
|
693
|
+
# Howl` - The backup's name contains the string "howl". * `database:prod` - The
|
694
|
+
# database's name contains the string "prod". * `state:CREATING` - The backup is
|
695
|
+
# pending creation. * `state:READY` - The backup is fully created and ready for
|
696
|
+
# use. * `(name:howl) AND (create_time < \"2018-03-28T14:50:00Z\")` - The backup
|
697
|
+
# name contains the string "howl" and `create_time` of the backup is before 2018-
|
698
|
+
# 03-28T14:50:00Z. * `expire_time < \"2018-03-28T14:50:00Z\"` - The backup `
|
699
|
+
# expire_time` is before 2018-03-28T14:50:00Z. * `size_bytes > 10000000000` -
|
700
|
+
# The backup's size is greater than 10GB
|
782
701
|
# @param [Fixnum] page_size
|
783
|
-
# Number of backups to be returned in the response. If 0 or
|
784
|
-
#
|
702
|
+
# Number of backups to be returned in the response. If 0 or less, defaults to
|
703
|
+
# the server's maximum allowed page size.
|
785
704
|
# @param [String] page_token
|
786
|
-
# If non-empty, `page_token` should contain a
|
787
|
-
#
|
788
|
-
# previous ListBackupsResponse to the same `parent` and with the same
|
789
|
-
# `filter`.
|
705
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
706
|
+
# ListBackupsResponse to the same `parent` and with the same `filter`.
|
790
707
|
# @param [String] fields
|
791
708
|
# Selector specifying which fields to include in a partial response.
|
792
709
|
# @param [String] quota_user
|
@@ -819,24 +736,20 @@ module Google
|
|
819
736
|
|
820
737
|
# Updates a pending or completed Backup.
|
821
738
|
# @param [String] name
|
822
|
-
# Output only for the CreateBackup operation.
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
828
|
-
#
|
829
|
-
# The backup is stored in the location(s) specified in the instance
|
830
|
-
# configuration of the instance containing the backup, identified
|
831
|
-
# by the prefix of the backup name of the form
|
832
|
-
# `projects/<project>/instances/<instance>`.
|
739
|
+
# Output only for the CreateBackup operation. Required for the UpdateBackup
|
740
|
+
# operation. A globally unique identifier for the backup which cannot be changed.
|
741
|
+
# Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final
|
742
|
+
# segment of the name must be between 2 and 60 characters in length. The backup
|
743
|
+
# is stored in the location(s) specified in the instance configuration of the
|
744
|
+
# instance containing the backup, identified by the prefix of the backup name of
|
745
|
+
# the form `projects//instances/`.
|
833
746
|
# @param [Google::Apis::SpannerV1::Backup] backup_object
|
834
747
|
# @param [String] update_mask
|
835
|
-
# Required. A mask specifying which fields (e.g. `expire_time`) in the
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
748
|
+
# Required. A mask specifying which fields (e.g. `expire_time`) in the Backup
|
749
|
+
# resource should be updated. This mask is relative to the Backup resource, not
|
750
|
+
# to the request message. The field mask must always be specified; this prevents
|
751
|
+
# any future fields from being erased accidentally by clients that do not know
|
752
|
+
# about them.
|
840
753
|
# @param [String] fields
|
841
754
|
# Selector specifying which fields to include in a partial response.
|
842
755
|
# @param [String] quota_user
|
@@ -867,17 +780,14 @@ module Google
|
|
867
780
|
execute_or_queue_command(command, &block)
|
868
781
|
end
|
869
782
|
|
870
|
-
# Sets the access control policy on a database or backup resource.
|
871
|
-
#
|
872
|
-
#
|
873
|
-
# permission on resource.
|
874
|
-
# For backups, authorization requires `spanner.backups.setIamPolicy`
|
875
|
-
# permission on resource.
|
783
|
+
# Sets the access control policy on a database or backup resource. Replaces any
|
784
|
+
# existing policy. Authorization requires `spanner.databases.setIamPolicy`
|
785
|
+
# permission on resource. For backups, authorization requires `spanner.backups.
|
786
|
+
# setIamPolicy` permission on resource.
|
876
787
|
# @param [String] resource
|
877
788
|
# REQUIRED: The Cloud Spanner resource for which the policy is being set. The
|
878
|
-
# format is `projects
|
879
|
-
#
|
880
|
-
# database ID>` for databases resources.
|
789
|
+
# format is `projects//instances/` for instance resources and `projects//
|
790
|
+
# instances//databases/` for databases resources.
|
881
791
|
# @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
882
792
|
# @param [String] fields
|
883
793
|
# Selector specifying which fields to include in a partial response.
|
@@ -909,19 +819,16 @@ module Google
|
|
909
819
|
end
|
910
820
|
|
911
821
|
# Returns permissions that the caller has on the specified database or backup
|
912
|
-
# resource.
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
918
|
-
# result in a NOT_FOUND error if the user has
|
919
|
-
# `spanner.backups.list` permission on the containing instance.
|
822
|
+
# resource. Attempting this RPC on a non-existent Cloud Spanner database will
|
823
|
+
# result in a NOT_FOUND error if the user has `spanner.databases.list`
|
824
|
+
# permission on the containing Cloud Spanner instance. Otherwise returns an
|
825
|
+
# empty set of permissions. Calling this method on a backup that does not exist
|
826
|
+
# will result in a NOT_FOUND error if the user has `spanner.backups.list`
|
827
|
+
# permission on the containing instance.
|
920
828
|
# @param [String] resource
|
921
829
|
# REQUIRED: The Cloud Spanner resource for which permissions are being tested.
|
922
|
-
# The format is `projects
|
923
|
-
#
|
924
|
-
# database ID>` for database resources.
|
830
|
+
# The format is `projects//instances/` for instance resources and `projects//
|
831
|
+
# instances//databases/` for database resources.
|
925
832
|
# @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
926
833
|
# @param [String] fields
|
927
834
|
# Selector specifying which fields to include in a partial response.
|
@@ -952,15 +859,13 @@ module Google
|
|
952
859
|
execute_or_queue_command(command, &block)
|
953
860
|
end
|
954
861
|
|
955
|
-
# Starts asynchronous cancellation on a long-running operation.
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
960
|
-
#
|
961
|
-
# operation
|
962
|
-
# the operation is not deleted; instead, it becomes an operation with
|
963
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
862
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
863
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
864
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
865
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
866
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
867
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
868
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
964
869
|
# corresponding to `Code.CANCELLED`.
|
965
870
|
# @param [String] name
|
966
871
|
# The name of the operation resource to be cancelled.
|
@@ -991,10 +896,10 @@ module Google
|
|
991
896
|
execute_or_queue_command(command, &block)
|
992
897
|
end
|
993
898
|
|
994
|
-
# Deletes a long-running operation. This method indicates that the client is
|
995
|
-
#
|
996
|
-
#
|
997
|
-
#
|
899
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
900
|
+
# longer interested in the operation result. It does not cancel the operation.
|
901
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
902
|
+
# UNIMPLEMENTED`.
|
998
903
|
# @param [String] name
|
999
904
|
# The name of the operation resource to be deleted.
|
1000
905
|
# @param [String] fields
|
@@ -1024,9 +929,8 @@ module Google
|
|
1024
929
|
execute_or_queue_command(command, &block)
|
1025
930
|
end
|
1026
931
|
|
1027
|
-
# Gets the latest state of a long-running operation.
|
1028
|
-
#
|
1029
|
-
# service.
|
932
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
933
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1030
934
|
# @param [String] name
|
1031
935
|
# The name of the operation resource.
|
1032
936
|
# @param [String] fields
|
@@ -1056,15 +960,14 @@ module Google
|
|
1056
960
|
execute_or_queue_command(command, &block)
|
1057
961
|
end
|
1058
962
|
|
1059
|
-
# Lists operations that match the specified filter in the request. If the
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
# is the parent resource, without the operations collection id.
|
963
|
+
# Lists operations that match the specified filter in the request. If the server
|
964
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
965
|
+
# binding allows API services to override the binding to use different resource
|
966
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
967
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
968
|
+
# service configuration. For backwards compatibility, the default name includes
|
969
|
+
# the operations collection id, however overriding users must ensure the name
|
970
|
+
# binding is the parent resource, without the operations collection id.
|
1068
971
|
# @param [String] name
|
1069
972
|
# The name of the operation's parent resource.
|
1070
973
|
# @param [String] filter
|
@@ -1103,63 +1006,45 @@ module Google
|
|
1103
1006
|
execute_or_queue_command(command, &block)
|
1104
1007
|
end
|
1105
1008
|
|
1106
|
-
# Lists database longrunning-operations.
|
1107
|
-
#
|
1108
|
-
# `
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
# metadata field type
|
1112
|
-
# `metadata.type_url` describes the type of the metadata. Operations returned
|
1113
|
-
# include those that have completed/failed/canceled within the last 7 days,
|
1114
|
-
# and pending operations.
|
1009
|
+
# Lists database longrunning-operations. A database operation has a name of the
|
1010
|
+
# form `projects//instances//databases//operations/`. The long-running operation
|
1011
|
+
# metadata field type `metadata.type_url` describes the type of the metadata.
|
1012
|
+
# Operations returned include those that have completed/failed/canceled within
|
1013
|
+
# the last 7 days, and pending operations.
|
1115
1014
|
# @param [String] parent
|
1116
|
-
# Required. The instance of the database operations.
|
1117
|
-
#
|
1015
|
+
# Required. The instance of the database operations. Values are of the form `
|
1016
|
+
# projects//instances/`.
|
1118
1017
|
# @param [String] filter
|
1119
|
-
# An expression that filters the list of returned operations.
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
# * `
|
1129
|
-
# * `
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
1137
|
-
#
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
# *
|
1143
|
-
# RestoreDatabaseMetadata) AND` \
|
1144
|
-
# `(metadata.source_type:BACKUP) AND` \
|
1145
|
-
# `(metadata.backup_info.backup:backup_howl) AND` \
|
1146
|
-
# `(metadata.name:restored_howl) AND` \
|
1147
|
-
# `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
|
1148
|
-
# `(error:*)` - Return operations where:
|
1149
|
-
# * The operation's metadata type is RestoreDatabaseMetadata.
|
1150
|
-
# * The database is restored from a backup.
|
1151
|
-
# * The backup name contains "backup_howl".
|
1152
|
-
# * The restored database's name contains "restored_howl".
|
1153
|
-
# * The operation started before 2018-03-28T14:50:00Z.
|
1154
|
-
# * The operation resulted in an error.
|
1018
|
+
# An expression that filters the list of returned operations. A filter
|
1019
|
+
# expression consists of a field name, a comparison operator, and a value for
|
1020
|
+
# filtering. The value must be a string, a number, or a boolean. The comparison
|
1021
|
+
# operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is
|
1022
|
+
# the contains operator. Filter rules are not case sensitive. The following
|
1023
|
+
# fields in the Operation are eligible for filtering: * `name` - The name of the
|
1024
|
+
# long-running operation * `done` - False if the operation is in progress, else
|
1025
|
+
# true. * `metadata.@type` - the type of metadata. For example, the type string
|
1026
|
+
# for RestoreDatabaseMetadata is `type.googleapis.com/google.spanner.admin.
|
1027
|
+
# database.v1.RestoreDatabaseMetadata`. * `metadata.` - any field in metadata.
|
1028
|
+
# value. * `error` - Error associated with the long-running operation. * `
|
1029
|
+
# response.@type` - the type of response. * `response.` - any field in response.
|
1030
|
+
# value. You can combine multiple expressions by enclosing each expression in
|
1031
|
+
# parentheses. By default, expressions are combined with AND logic. However, you
|
1032
|
+
# can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `
|
1033
|
+
# done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/
|
1034
|
+
# google.spanner.admin.database.v1.RestoreDatabaseMetadata) AND` \ `(metadata.
|
1035
|
+
# source_type:BACKUP) AND` \ `(metadata.backup_info.backup:backup_howl) AND` \ `(
|
1036
|
+
# metadata.name:restored_howl) AND` \ `(metadata.progress.start_time < \"2018-03-
|
1037
|
+
# 28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation'
|
1038
|
+
# s metadata type is RestoreDatabaseMetadata. * The database is restored from a
|
1039
|
+
# backup. * The backup name contains "backup_howl". * The restored database's
|
1040
|
+
# name contains "restored_howl". * The operation started before 2018-03-28T14:50:
|
1041
|
+
# 00Z. * The operation resulted in an error.
|
1155
1042
|
# @param [Fixnum] page_size
|
1156
|
-
# Number of operations to be returned in the response. If 0 or
|
1157
|
-
#
|
1043
|
+
# Number of operations to be returned in the response. If 0 or less, defaults to
|
1044
|
+
# the server's maximum allowed page size.
|
1158
1045
|
# @param [String] page_token
|
1159
|
-
# If non-empty, `page_token` should contain a
|
1160
|
-
#
|
1161
|
-
# from a previous ListDatabaseOperationsResponse to the
|
1162
|
-
# same `parent` and with the same `filter`.
|
1046
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
1047
|
+
# ListDatabaseOperationsResponse to the same `parent` and with the same `filter`.
|
1163
1048
|
# @param [String] fields
|
1164
1049
|
# Selector specifying which fields to include in a partial response.
|
1165
1050
|
# @param [String] quota_user
|
@@ -1190,17 +1075,13 @@ module Google
|
|
1190
1075
|
execute_or_queue_command(command, &block)
|
1191
1076
|
end
|
1192
1077
|
|
1193
|
-
# Creates a new Cloud Spanner database and starts to prepare it for serving.
|
1194
|
-
#
|
1195
|
-
#
|
1196
|
-
#
|
1197
|
-
# metadata field type is
|
1198
|
-
# CreateDatabaseMetadata. The
|
1199
|
-
# response field type is
|
1200
|
-
# Database, if successful.
|
1078
|
+
# Creates a new Cloud Spanner database and starts to prepare it for serving. The
|
1079
|
+
# returned long-running operation will have a name of the format `/operations/`
|
1080
|
+
# and can be used to track preparation of the database. The metadata field type
|
1081
|
+
# is CreateDatabaseMetadata. The response field type is Database, if successful.
|
1201
1082
|
# @param [String] parent
|
1202
|
-
# Required. The name of the instance that will serve the new database.
|
1203
|
-
#
|
1083
|
+
# Required. The name of the instance that will serve the new database. Values
|
1084
|
+
# are of the form `projects//instances/`.
|
1204
1085
|
# @param [Google::Apis::SpannerV1::CreateDatabaseRequest] create_database_request_object
|
1205
1086
|
# @param [String] fields
|
1206
1087
|
# Selector specifying which fields to include in a partial response.
|
@@ -1231,9 +1112,8 @@ module Google
|
|
1231
1112
|
execute_or_queue_command(command, &block)
|
1232
1113
|
end
|
1233
1114
|
|
1234
|
-
# Drops (aka deletes) a Cloud Spanner database.
|
1235
|
-
#
|
1236
|
-
# `expire_time`.
|
1115
|
+
# Drops (aka deletes) a Cloud Spanner database. Completed backups for the
|
1116
|
+
# database will be retained according to their `expire_time`.
|
1237
1117
|
# @param [String] database
|
1238
1118
|
# Required. The database to be dropped.
|
1239
1119
|
# @param [String] fields
|
@@ -1265,8 +1145,8 @@ module Google
|
|
1265
1145
|
|
1266
1146
|
# Gets the state of a Cloud Spanner database.
|
1267
1147
|
# @param [String] name
|
1268
|
-
# Required. The name of the requested database. Values are of the form
|
1269
|
-
#
|
1148
|
+
# Required. The name of the requested database. Values are of the form `projects/
|
1149
|
+
# /instances//databases/`.
|
1270
1150
|
# @param [String] fields
|
1271
1151
|
# Selector specifying which fields to include in a partial response.
|
1272
1152
|
# @param [String] quota_user
|
@@ -1294,13 +1174,12 @@ module Google
|
|
1294
1174
|
execute_or_queue_command(command, &block)
|
1295
1175
|
end
|
1296
1176
|
|
1297
|
-
# Returns the schema of a Cloud Spanner database as a list of formatted
|
1298
|
-
#
|
1299
|
-
#
|
1177
|
+
# Returns the schema of a Cloud Spanner database as a list of formatted DDL
|
1178
|
+
# statements. This method does not show pending schema updates, those may be
|
1179
|
+
# queried using the Operations API.
|
1300
1180
|
# @param [String] database
|
1301
|
-
# Required. The database whose schema we wish to get.
|
1302
|
-
#
|
1303
|
-
# `projects/<project>/instances/<instance>/databases/<database>`
|
1181
|
+
# Required. The database whose schema we wish to get. Values are of the form `
|
1182
|
+
# projects//instances//databases/`
|
1304
1183
|
# @param [String] fields
|
1305
1184
|
# Selector specifying which fields to include in a partial response.
|
1306
1185
|
# @param [String] quota_user
|
@@ -1328,18 +1207,15 @@ module Google
|
|
1328
1207
|
execute_or_queue_command(command, &block)
|
1329
1208
|
end
|
1330
1209
|
|
1331
|
-
# Gets the access control policy for a database or backup resource.
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
# resource.
|
1336
|
-
# For backups, authorization requires `spanner.backups.getIamPolicy`
|
1337
|
-
# permission on resource.
|
1210
|
+
# Gets the access control policy for a database or backup resource. Returns an
|
1211
|
+
# empty policy if a database or backup exists but does not have a policy set.
|
1212
|
+
# Authorization requires `spanner.databases.getIamPolicy` permission on resource.
|
1213
|
+
# For backups, authorization requires `spanner.backups.getIamPolicy` permission
|
1214
|
+
# on resource.
|
1338
1215
|
# @param [String] resource
|
1339
1216
|
# REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
|
1340
|
-
# The format is `projects
|
1341
|
-
#
|
1342
|
-
# database ID>` for database resources.
|
1217
|
+
# The format is `projects//instances/` for instance resources and `projects//
|
1218
|
+
# instances//databases/` for database resources.
|
1343
1219
|
# @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
1344
1220
|
# @param [String] fields
|
1345
1221
|
# Selector specifying which fields to include in a partial response.
|
@@ -1372,15 +1248,14 @@ module Google
|
|
1372
1248
|
|
1373
1249
|
# Lists Cloud Spanner databases.
|
1374
1250
|
# @param [String] parent
|
1375
|
-
# Required. The instance whose databases should be listed.
|
1376
|
-
#
|
1251
|
+
# Required. The instance whose databases should be listed. Values are of the
|
1252
|
+
# form `projects//instances/`.
|
1377
1253
|
# @param [Fixnum] page_size
|
1378
|
-
# Number of databases to be returned in the response. If 0 or less,
|
1379
|
-
#
|
1254
|
+
# Number of databases to be returned in the response. If 0 or less, defaults to
|
1255
|
+
# the server's maximum allowed page size.
|
1380
1256
|
# @param [String] page_token
|
1381
|
-
# If non-empty, `page_token` should contain a
|
1382
|
-
#
|
1383
|
-
# previous ListDatabasesResponse.
|
1257
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
1258
|
+
# ListDatabasesResponse.
|
1384
1259
|
# @param [String] fields
|
1385
1260
|
# Selector specifying which fields to include in a partial response.
|
1386
1261
|
# @param [String] quota_user
|
@@ -1410,30 +1285,23 @@ module Google
|
|
1410
1285
|
execute_or_queue_command(command, &block)
|
1411
1286
|
end
|
1412
1287
|
|
1413
|
-
# Create a new database by restoring from a completed backup. The new
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1417
|
-
#
|
1418
|
-
#
|
1419
|
-
#
|
1420
|
-
#
|
1421
|
-
#
|
1422
|
-
#
|
1423
|
-
# The response type
|
1424
|
-
# is Database, if
|
1425
|
-
# successful. Cancelling the returned operation will stop the restore and
|
1426
|
-
# delete the database.
|
1427
|
-
# There can be only one database being restored into an instance at a time.
|
1428
|
-
# Once the restore operation completes, a new restore operation can be
|
1288
|
+
# Create a new database by restoring from a completed backup. The new database
|
1289
|
+
# must be in the same project and in an instance with the same instance
|
1290
|
+
# configuration as the instance containing the backup. The returned database
|
1291
|
+
# long-running operation has a name of the format `projects//instances//
|
1292
|
+
# databases//operations/`, and can be used to track the progress of the
|
1293
|
+
# operation, and to cancel it. The metadata field type is
|
1294
|
+
# RestoreDatabaseMetadata. The response type is Database, if successful.
|
1295
|
+
# Cancelling the returned operation will stop the restore and delete the
|
1296
|
+
# database. There can be only one database being restored into an instance at a
|
1297
|
+
# time. Once the restore operation completes, a new restore operation can be
|
1429
1298
|
# initiated, without waiting for the optimize operation associated with the
|
1430
1299
|
# first restore to complete.
|
1431
1300
|
# @param [String] parent
|
1432
|
-
# Required. The name of the instance in which to create the
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1436
|
-
# `projects/<project>/instances/<instance>`.
|
1301
|
+
# Required. The name of the instance in which to create the restored database.
|
1302
|
+
# This instance must be in the same project and have the same instance
|
1303
|
+
# configuration as the instance containing the source backup. Values are of the
|
1304
|
+
# form `projects//instances/`.
|
1437
1305
|
# @param [Google::Apis::SpannerV1::RestoreDatabaseRequest] restore_database_request_object
|
1438
1306
|
# @param [String] fields
|
1439
1307
|
# Selector specifying which fields to include in a partial response.
|
@@ -1464,17 +1332,14 @@ module Google
|
|
1464
1332
|
execute_or_queue_command(command, &block)
|
1465
1333
|
end
|
1466
1334
|
|
1467
|
-
# Sets the access control policy on a database or backup resource.
|
1468
|
-
#
|
1469
|
-
#
|
1470
|
-
# permission on resource.
|
1471
|
-
# For backups, authorization requires `spanner.backups.setIamPolicy`
|
1472
|
-
# permission on resource.
|
1335
|
+
# Sets the access control policy on a database or backup resource. Replaces any
|
1336
|
+
# existing policy. Authorization requires `spanner.databases.setIamPolicy`
|
1337
|
+
# permission on resource. For backups, authorization requires `spanner.backups.
|
1338
|
+
# setIamPolicy` permission on resource.
|
1473
1339
|
# @param [String] resource
|
1474
1340
|
# REQUIRED: The Cloud Spanner resource for which the policy is being set. The
|
1475
|
-
# format is `projects
|
1476
|
-
#
|
1477
|
-
# database ID>` for databases resources.
|
1341
|
+
# format is `projects//instances/` for instance resources and `projects//
|
1342
|
+
# instances//databases/` for databases resources.
|
1478
1343
|
# @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1479
1344
|
# @param [String] fields
|
1480
1345
|
# Selector specifying which fields to include in a partial response.
|
@@ -1506,19 +1371,16 @@ module Google
|
|
1506
1371
|
end
|
1507
1372
|
|
1508
1373
|
# Returns permissions that the caller has on the specified database or backup
|
1509
|
-
# resource.
|
1510
|
-
#
|
1511
|
-
#
|
1512
|
-
#
|
1513
|
-
#
|
1514
|
-
#
|
1515
|
-
# result in a NOT_FOUND error if the user has
|
1516
|
-
# `spanner.backups.list` permission on the containing instance.
|
1374
|
+
# resource. Attempting this RPC on a non-existent Cloud Spanner database will
|
1375
|
+
# result in a NOT_FOUND error if the user has `spanner.databases.list`
|
1376
|
+
# permission on the containing Cloud Spanner instance. Otherwise returns an
|
1377
|
+
# empty set of permissions. Calling this method on a backup that does not exist
|
1378
|
+
# will result in a NOT_FOUND error if the user has `spanner.backups.list`
|
1379
|
+
# permission on the containing instance.
|
1517
1380
|
# @param [String] resource
|
1518
1381
|
# REQUIRED: The Cloud Spanner resource for which permissions are being tested.
|
1519
|
-
# The format is `projects
|
1520
|
-
#
|
1521
|
-
# database ID>` for database resources.
|
1382
|
+
# The format is `projects//instances/` for instance resources and `projects//
|
1383
|
+
# instances//databases/` for database resources.
|
1522
1384
|
# @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1523
1385
|
# @param [String] fields
|
1524
1386
|
# Selector specifying which fields to include in a partial response.
|
@@ -1549,13 +1411,11 @@ module Google
|
|
1549
1411
|
execute_or_queue_command(command, &block)
|
1550
1412
|
end
|
1551
1413
|
|
1552
|
-
# Updates the schema of a Cloud Spanner database by
|
1553
|
-
#
|
1554
|
-
#
|
1555
|
-
#
|
1556
|
-
#
|
1557
|
-
# metadata field type is
|
1558
|
-
# UpdateDatabaseDdlMetadata. The operation has no response.
|
1414
|
+
# Updates the schema of a Cloud Spanner database by creating/altering/dropping
|
1415
|
+
# tables, columns, indexes, etc. The returned long-running operation will have a
|
1416
|
+
# name of the format `/operations/` and can be used to track execution of the
|
1417
|
+
# schema change(s). The metadata field type is UpdateDatabaseDdlMetadata. The
|
1418
|
+
# operation has no response.
|
1559
1419
|
# @param [String] database
|
1560
1420
|
# Required. The database to update.
|
1561
1421
|
# @param [Google::Apis::SpannerV1::UpdateDatabaseDdlRequest] update_database_ddl_request_object
|
@@ -1588,15 +1448,13 @@ module Google
|
|
1588
1448
|
execute_or_queue_command(command, &block)
|
1589
1449
|
end
|
1590
1450
|
|
1591
|
-
# Starts asynchronous cancellation on a long-running operation.
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
#
|
1595
|
-
#
|
1596
|
-
#
|
1597
|
-
# operation
|
1598
|
-
# the operation is not deleted; instead, it becomes an operation with
|
1599
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
1451
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1452
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1453
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1454
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1455
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1456
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1457
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1600
1458
|
# corresponding to `Code.CANCELLED`.
|
1601
1459
|
# @param [String] name
|
1602
1460
|
# The name of the operation resource to be cancelled.
|
@@ -1627,10 +1485,10 @@ module Google
|
|
1627
1485
|
execute_or_queue_command(command, &block)
|
1628
1486
|
end
|
1629
1487
|
|
1630
|
-
# Deletes a long-running operation. This method indicates that the client is
|
1631
|
-
#
|
1632
|
-
#
|
1633
|
-
#
|
1488
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
1489
|
+
# longer interested in the operation result. It does not cancel the operation.
|
1490
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1491
|
+
# UNIMPLEMENTED`.
|
1634
1492
|
# @param [String] name
|
1635
1493
|
# The name of the operation resource to be deleted.
|
1636
1494
|
# @param [String] fields
|
@@ -1660,9 +1518,8 @@ module Google
|
|
1660
1518
|
execute_or_queue_command(command, &block)
|
1661
1519
|
end
|
1662
1520
|
|
1663
|
-
# Gets the latest state of a long-running operation.
|
1664
|
-
#
|
1665
|
-
# service.
|
1521
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1522
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1666
1523
|
# @param [String] name
|
1667
1524
|
# The name of the operation resource.
|
1668
1525
|
# @param [String] fields
|
@@ -1692,15 +1549,14 @@ module Google
|
|
1692
1549
|
execute_or_queue_command(command, &block)
|
1693
1550
|
end
|
1694
1551
|
|
1695
|
-
# Lists operations that match the specified filter in the request. If the
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
#
|
1699
|
-
#
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
#
|
1703
|
-
# is the parent resource, without the operations collection id.
|
1552
|
+
# Lists operations that match the specified filter in the request. If the server
|
1553
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
1554
|
+
# binding allows API services to override the binding to use different resource
|
1555
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
1556
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1557
|
+
# service configuration. For backwards compatibility, the default name includes
|
1558
|
+
# the operations collection id, however overriding users must ensure the name
|
1559
|
+
# binding is the parent resource, without the operations collection id.
|
1704
1560
|
# @param [String] name
|
1705
1561
|
# The name of the operation's parent resource.
|
1706
1562
|
# @param [String] filter
|
@@ -1739,9 +1595,9 @@ module Google
|
|
1739
1595
|
execute_or_queue_command(command, &block)
|
1740
1596
|
end
|
1741
1597
|
|
1742
|
-
# Creates multiple new sessions.
|
1743
|
-
#
|
1744
|
-
#
|
1598
|
+
# Creates multiple new sessions. This API can be used to initialize a session
|
1599
|
+
# cache on the clients. See https://goo.gl/TgSFN2 for best practices on session
|
1600
|
+
# cache management.
|
1745
1601
|
# @param [String] database
|
1746
1602
|
# Required. The database in which the new sessions are created.
|
1747
1603
|
# @param [Google::Apis::SpannerV1::BatchCreateSessionsRequest] batch_create_sessions_request_object
|
@@ -1774,10 +1630,8 @@ module Google
|
|
1774
1630
|
execute_or_queue_command(command, &block)
|
1775
1631
|
end
|
1776
1632
|
|
1777
|
-
# Begins a new transaction. This step can often be skipped:
|
1778
|
-
#
|
1779
|
-
# Commit can begin a new transaction as a
|
1780
|
-
# side-effect.
|
1633
|
+
# Begins a new transaction. This step can often be skipped: Read, ExecuteSql and
|
1634
|
+
# Commit can begin a new transaction as a side-effect.
|
1781
1635
|
# @param [String] session
|
1782
1636
|
# Required. The session in which the transaction runs.
|
1783
1637
|
# @param [Google::Apis::SpannerV1::BeginTransactionRequest] begin_transaction_request_object
|
@@ -1810,18 +1664,16 @@ module Google
|
|
1810
1664
|
execute_or_queue_command(command, &block)
|
1811
1665
|
end
|
1812
1666
|
|
1813
|
-
# Commits a transaction. The request includes the mutations to be
|
1814
|
-
#
|
1815
|
-
#
|
1816
|
-
#
|
1817
|
-
#
|
1818
|
-
#
|
1819
|
-
#
|
1820
|
-
#
|
1821
|
-
#
|
1822
|
-
#
|
1823
|
-
# we recommend that you perform another read from the database to see the
|
1824
|
-
# state of things as they are now.
|
1667
|
+
# Commits a transaction. The request includes the mutations to be applied to
|
1668
|
+
# rows in the database. `Commit` might return an `ABORTED` error. This can occur
|
1669
|
+
# at any time; commonly, the cause is conflicts with concurrent transactions.
|
1670
|
+
# However, it can also happen for a variety of other reasons. If `Commit`
|
1671
|
+
# returns `ABORTED`, the caller should re-attempt the transaction from the
|
1672
|
+
# beginning, re-using the same session. On very rare occasions, `Commit` might
|
1673
|
+
# return `UNKNOWN`. This can happen, for example, if the client job experiences
|
1674
|
+
# a 1+ hour networking failure. At that point, Cloud Spanner has lost track of
|
1675
|
+
# the transaction outcome and we recommend that you perform another read from
|
1676
|
+
# the database to see the state of things as they are now.
|
1825
1677
|
# @param [String] session
|
1826
1678
|
# Required. The session in which the transaction to be committed is running.
|
1827
1679
|
# @param [Google::Apis::SpannerV1::CommitRequest] commit_request_object
|
@@ -1854,22 +1706,17 @@ module Google
|
|
1854
1706
|
execute_or_queue_command(command, &block)
|
1855
1707
|
end
|
1856
1708
|
|
1857
|
-
# Creates a new session. A session can be used to perform
|
1858
|
-
#
|
1859
|
-
#
|
1860
|
-
#
|
1861
|
-
#
|
1862
|
-
#
|
1863
|
-
# multiple sessions. Note that standalone reads and queries use a
|
1864
|
-
# transaction internally, and count toward the one transaction
|
1865
|
-
# limit.
|
1709
|
+
# Creates a new session. A session can be used to perform transactions that read
|
1710
|
+
# and/or modify data in a Cloud Spanner database. Sessions are meant to be
|
1711
|
+
# reused for many consecutive transactions. Sessions can only execute one
|
1712
|
+
# transaction at a time. To execute multiple concurrent read-write/write-only
|
1713
|
+
# transactions, create multiple sessions. Note that standalone reads and queries
|
1714
|
+
# use a transaction internally, and count toward the one transaction limit.
|
1866
1715
|
# Active sessions use additional server resources, so it is a good idea to
|
1867
|
-
# delete idle and unneeded sessions.
|
1868
|
-
#
|
1869
|
-
#
|
1870
|
-
#
|
1871
|
-
# Idle sessions can be kept alive by sending a trivial SQL query
|
1872
|
-
# periodically, e.g., `"SELECT 1"`.
|
1716
|
+
# delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner
|
1717
|
+
# may delete sessions for which no operations are sent for more than an hour. If
|
1718
|
+
# a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be
|
1719
|
+
# kept alive by sending a trivial SQL query periodically, e.g., `"SELECT 1"`.
|
1873
1720
|
# @param [String] database
|
1874
1721
|
# Required. The database in which the new session is created.
|
1875
1722
|
# @param [Google::Apis::SpannerV1::CreateSessionRequest] create_session_request_object
|
@@ -1934,15 +1781,13 @@ module Google
|
|
1934
1781
|
execute_or_queue_command(command, &block)
|
1935
1782
|
end
|
1936
1783
|
|
1937
|
-
# Executes a batch of SQL DML statements. This method allows many statements
|
1938
|
-
#
|
1939
|
-
#
|
1940
|
-
#
|
1941
|
-
#
|
1942
|
-
#
|
1943
|
-
#
|
1944
|
-
# Execution stops after the first failed statement; the remaining statements
|
1945
|
-
# are not executed.
|
1784
|
+
# Executes a batch of SQL DML statements. This method allows many statements to
|
1785
|
+
# be run with lower latency than submitting them sequentially with ExecuteSql.
|
1786
|
+
# Statements are executed in sequential order. A request can succeed even if a
|
1787
|
+
# statement fails. The ExecuteBatchDmlResponse.status field in the response
|
1788
|
+
# provides information about the statement that failed. Clients must inspect
|
1789
|
+
# this field to determine whether an error occurred. Execution stops after the
|
1790
|
+
# first failed statement; the remaining statements are not executed.
|
1946
1791
|
# @param [String] session
|
1947
1792
|
# Required. The session in which the DML statements should be performed.
|
1948
1793
|
# @param [Google::Apis::SpannerV1::ExecuteBatchDmlRequest] execute_batch_dml_request_object
|
@@ -1976,14 +1821,12 @@ module Google
|
|
1976
1821
|
end
|
1977
1822
|
|
1978
1823
|
# Executes an SQL statement, returning all results in a single reply. This
|
1979
|
-
# method cannot be used to return a result set larger than 10 MiB;
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
#
|
1983
|
-
#
|
1984
|
-
#
|
1985
|
-
# Larger result sets can be fetched in streaming fashion by calling
|
1986
|
-
# ExecuteStreamingSql instead.
|
1824
|
+
# method cannot be used to return a result set larger than 10 MiB; if the query
|
1825
|
+
# yields more data than that, the query fails with a `FAILED_PRECONDITION` error.
|
1826
|
+
# Operations inside read-write transactions might return `ABORTED`. If this
|
1827
|
+
# occurs, the application should restart the transaction from the beginning. See
|
1828
|
+
# Transaction for more details. Larger result sets can be fetched in streaming
|
1829
|
+
# fashion by calling ExecuteStreamingSql instead.
|
1987
1830
|
# @param [String] session
|
1988
1831
|
# Required. The session in which the SQL query should be performed.
|
1989
1832
|
# @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_request_object
|
@@ -2016,11 +1859,10 @@ module Google
|
|
2016
1859
|
execute_or_queue_command(command, &block)
|
2017
1860
|
end
|
2018
1861
|
|
2019
|
-
# Like ExecuteSql, except returns the result
|
2020
|
-
#
|
2021
|
-
#
|
2022
|
-
#
|
2023
|
-
# column value can exceed 10 MiB.
|
1862
|
+
# Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql,
|
1863
|
+
# there is no limit on the size of the returned result set. However, no
|
1864
|
+
# individual row in the result set can exceed 100 MiB, and no column value can
|
1865
|
+
# exceed 10 MiB.
|
2024
1866
|
# @param [String] session
|
2025
1867
|
# Required. The session in which the SQL query should be performed.
|
2026
1868
|
# @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_request_object
|
@@ -2053,9 +1895,8 @@ module Google
|
|
2053
1895
|
execute_or_queue_command(command, &block)
|
2054
1896
|
end
|
2055
1897
|
|
2056
|
-
# Gets a session. Returns `NOT_FOUND` if the session does not exist.
|
2057
|
-
#
|
2058
|
-
# alive.
|
1898
|
+
# Gets a session. Returns `NOT_FOUND` if the session does not exist. This is
|
1899
|
+
# mainly useful for determining whether a session is still alive.
|
2059
1900
|
# @param [String] name
|
2060
1901
|
# Required. The name of the session to retrieve.
|
2061
1902
|
# @param [String] fields
|
@@ -2089,19 +1930,16 @@ module Google
|
|
2089
1930
|
# @param [String] database
|
2090
1931
|
# Required. The database in which to list sessions.
|
2091
1932
|
# @param [String] filter
|
2092
|
-
# An expression for filtering the results of the request. Filter rules are
|
2093
|
-
#
|
2094
|
-
#
|
2095
|
-
#
|
2096
|
-
#
|
2097
|
-
# * `labels.env:dev` --> The session has the label "env" and the value of
|
2098
|
-
# the label contains the string "dev".
|
1933
|
+
# An expression for filtering the results of the request. Filter rules are case
|
1934
|
+
# insensitive. The fields eligible for filtering are: * `labels.key` where key
|
1935
|
+
# is the name of a label Some examples of using filters are: * `labels.env:*` -->
|
1936
|
+
# The session has the label "env". * `labels.env:dev` --> The session has the
|
1937
|
+
# label "env" and the value of the label contains the string "dev".
|
2099
1938
|
# @param [Fixnum] page_size
|
2100
|
-
# Number of sessions to be returned in the response. If 0 or less, defaults
|
2101
|
-
#
|
1939
|
+
# Number of sessions to be returned in the response. If 0 or less, defaults to
|
1940
|
+
# the server's maximum allowed page size.
|
2102
1941
|
# @param [String] page_token
|
2103
|
-
# If non-empty, `page_token` should contain a
|
2104
|
-
# next_page_token from a previous
|
1942
|
+
# If non-empty, `page_token` should contain a next_page_token from a previous
|
2105
1943
|
# ListSessionsResponse.
|
2106
1944
|
# @param [String] fields
|
2107
1945
|
# Selector specifying which fields to include in a partial response.
|
@@ -2134,15 +1972,14 @@ module Google
|
|
2134
1972
|
end
|
2135
1973
|
|
2136
1974
|
# Creates a set of partition tokens that can be used to execute a query
|
2137
|
-
# operation in parallel.
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
#
|
2141
|
-
# partition tokens
|
2142
|
-
#
|
2143
|
-
#
|
2144
|
-
#
|
2145
|
-
# the whole operation must be restarted from the beginning.
|
1975
|
+
# operation in parallel. Each of the returned partition tokens can be used by
|
1976
|
+
# ExecuteStreamingSql to specify a subset of the query result to read. The same
|
1977
|
+
# session and read-only transaction must be used by the PartitionQueryRequest
|
1978
|
+
# used to create the partition tokens and the ExecuteSqlRequests that use the
|
1979
|
+
# partition tokens. Partition tokens become invalid when the session used to
|
1980
|
+
# create them is deleted, is idle for too long, begins a new transaction, or
|
1981
|
+
# becomes too old. When any of these happen, it is not possible to resume the
|
1982
|
+
# query, and the whole operation must be restarted from the beginning.
|
2146
1983
|
# @param [String] session
|
2147
1984
|
# Required. The session used to create the partitions.
|
2148
1985
|
# @param [Google::Apis::SpannerV1::PartitionQueryRequest] partition_query_request_object
|
@@ -2175,18 +2012,17 @@ module Google
|
|
2175
2012
|
execute_or_queue_command(command, &block)
|
2176
2013
|
end
|
2177
2014
|
|
2178
|
-
# Creates a set of partition tokens that can be used to execute a read
|
2179
|
-
#
|
2180
|
-
#
|
2181
|
-
#
|
2182
|
-
# the
|
2183
|
-
#
|
2184
|
-
#
|
2185
|
-
#
|
2186
|
-
#
|
2187
|
-
#
|
2188
|
-
#
|
2189
|
-
# the whole operation must be restarted from the beginning.
|
2015
|
+
# Creates a set of partition tokens that can be used to execute a read operation
|
2016
|
+
# in parallel. Each of the returned partition tokens can be used by
|
2017
|
+
# StreamingRead to specify a subset of the read result to read. The same session
|
2018
|
+
# and read-only transaction must be used by the PartitionReadRequest used to
|
2019
|
+
# create the partition tokens and the ReadRequests that use the partition tokens.
|
2020
|
+
# There are no ordering guarantees on rows returned among the returned
|
2021
|
+
# partition tokens, or even within each individual StreamingRead call issued
|
2022
|
+
# with a partition_token. Partition tokens become invalid when the session used
|
2023
|
+
# to create them is deleted, is idle for too long, begins a new transaction, or
|
2024
|
+
# becomes too old. When any of these happen, it is not possible to resume the
|
2025
|
+
# read, and the whole operation must be restarted from the beginning.
|
2190
2026
|
# @param [String] session
|
2191
2027
|
# Required. The session used to create the partitions.
|
2192
2028
|
# @param [Google::Apis::SpannerV1::PartitionReadRequest] partition_read_request_object
|
@@ -2219,15 +2055,12 @@ module Google
|
|
2219
2055
|
execute_or_queue_command(command, &block)
|
2220
2056
|
end
|
2221
2057
|
|
2222
|
-
# Reads rows from the database using key lookups and scans, as a
|
2223
|
-
#
|
2224
|
-
#
|
2225
|
-
#
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
# Reads inside read-write transactions might return `ABORTED`. If
|
2229
|
-
# this occurs, the application should restart the transaction from
|
2230
|
-
# the beginning. See Transaction for more details.
|
2058
|
+
# Reads rows from the database using key lookups and scans, as a simple key/
|
2059
|
+
# value style alternative to ExecuteSql. This method cannot be used to return a
|
2060
|
+
# result set larger than 10 MiB; if the read matches more data than that, the
|
2061
|
+
# read fails with a `FAILED_PRECONDITION` error. Reads inside read-write
|
2062
|
+
# transactions might return `ABORTED`. If this occurs, the application should
|
2063
|
+
# restart the transaction from the beginning. See Transaction for more details.
|
2231
2064
|
# Larger result sets can be yielded in streaming fashion by calling
|
2232
2065
|
# StreamingRead instead.
|
2233
2066
|
# @param [String] session
|
@@ -2262,13 +2095,11 @@ module Google
|
|
2262
2095
|
execute_or_queue_command(command, &block)
|
2263
2096
|
end
|
2264
2097
|
|
2265
|
-
# Rolls back a transaction, releasing any locks it holds. It is a good
|
2266
|
-
#
|
2267
|
-
#
|
2268
|
-
#
|
2269
|
-
#
|
2270
|
-
# transaction was already aborted, or the transaction is not
|
2271
|
-
# found. `Rollback` never returns `ABORTED`.
|
2098
|
+
# Rolls back a transaction, releasing any locks it holds. It is a good idea to
|
2099
|
+
# call this for any transaction that includes one or more Read or ExecuteSql
|
2100
|
+
# requests and ultimately decides not to commit. `Rollback` returns `OK` if it
|
2101
|
+
# successfully aborts the transaction, the transaction was already aborted, or
|
2102
|
+
# the transaction is not found. `Rollback` never returns `ABORTED`.
|
2272
2103
|
# @param [String] session
|
2273
2104
|
# Required. The session in which the transaction to roll back is running.
|
2274
2105
|
# @param [Google::Apis::SpannerV1::RollbackRequest] rollback_request_object
|
@@ -2301,11 +2132,9 @@ module Google
|
|
2301
2132
|
execute_or_queue_command(command, &block)
|
2302
2133
|
end
|
2303
2134
|
|
2304
|
-
# Like Read, except returns the result set as a
|
2305
|
-
#
|
2306
|
-
#
|
2307
|
-
# the result set can exceed 100 MiB, and no column value can exceed
|
2308
|
-
# 10 MiB.
|
2135
|
+
# Like Read, except returns the result set as a stream. Unlike Read, there is no
|
2136
|
+
# limit on the size of the returned result set. However, no individual row in
|
2137
|
+
# the result set can exceed 100 MiB, and no column value can exceed 10 MiB.
|
2309
2138
|
# @param [String] session
|
2310
2139
|
# Required. The session in which the read should be performed.
|
2311
2140
|
# @param [Google::Apis::SpannerV1::ReadRequest] read_request_object
|
@@ -2338,15 +2167,13 @@ module Google
|
|
2338
2167
|
execute_or_queue_command(command, &block)
|
2339
2168
|
end
|
2340
2169
|
|
2341
|
-
# Starts asynchronous cancellation on a long-running operation.
|
2342
|
-
#
|
2343
|
-
#
|
2344
|
-
#
|
2345
|
-
#
|
2346
|
-
#
|
2347
|
-
# operation
|
2348
|
-
# the operation is not deleted; instead, it becomes an operation with
|
2349
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
2170
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2171
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2172
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
2173
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
2174
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
2175
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
2176
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
2350
2177
|
# corresponding to `Code.CANCELLED`.
|
2351
2178
|
# @param [String] name
|
2352
2179
|
# The name of the operation resource to be cancelled.
|
@@ -2377,10 +2204,10 @@ module Google
|
|
2377
2204
|
execute_or_queue_command(command, &block)
|
2378
2205
|
end
|
2379
2206
|
|
2380
|
-
# Deletes a long-running operation. This method indicates that the client is
|
2381
|
-
#
|
2382
|
-
#
|
2383
|
-
#
|
2207
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
2208
|
+
# longer interested in the operation result. It does not cancel the operation.
|
2209
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
2210
|
+
# UNIMPLEMENTED`.
|
2384
2211
|
# @param [String] name
|
2385
2212
|
# The name of the operation resource to be deleted.
|
2386
2213
|
# @param [String] fields
|
@@ -2410,9 +2237,8 @@ module Google
|
|
2410
2237
|
execute_or_queue_command(command, &block)
|
2411
2238
|
end
|
2412
2239
|
|
2413
|
-
# Gets the latest state of a long-running operation.
|
2414
|
-
#
|
2415
|
-
# service.
|
2240
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
2241
|
+
# to poll the operation result at intervals as recommended by the API service.
|
2416
2242
|
# @param [String] name
|
2417
2243
|
# The name of the operation resource.
|
2418
2244
|
# @param [String] fields
|
@@ -2442,15 +2268,14 @@ module Google
|
|
2442
2268
|
execute_or_queue_command(command, &block)
|
2443
2269
|
end
|
2444
2270
|
|
2445
|
-
# Lists operations that match the specified filter in the request. If the
|
2446
|
-
#
|
2447
|
-
#
|
2448
|
-
#
|
2449
|
-
#
|
2450
|
-
#
|
2451
|
-
#
|
2452
|
-
#
|
2453
|
-
# is the parent resource, without the operations collection id.
|
2271
|
+
# Lists operations that match the specified filter in the request. If the server
|
2272
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
2273
|
+
# binding allows API services to override the binding to use different resource
|
2274
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
2275
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2276
|
+
# service configuration. For backwards compatibility, the default name includes
|
2277
|
+
# the operations collection id, however overriding users must ensure the name
|
2278
|
+
# binding is the parent resource, without the operations collection id.
|
2454
2279
|
# @param [String] name
|
2455
2280
|
# The name of the operation's parent resource.
|
2456
2281
|
# @param [String] filter
|