google-api-client 0.11.3 → 0.12.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 +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,40 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/datastore_v1beta2/service.rb'
|
16
|
-
require 'google/apis/datastore_v1beta2/classes.rb'
|
17
|
-
require 'google/apis/datastore_v1beta2/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Cloud Datastore API
|
22
|
-
#
|
23
|
-
# Stores and queries data in Google Cloud Datastore.
|
24
|
-
#
|
25
|
-
# @see https://developers.google.com/datastore/
|
26
|
-
module DatastoreV1beta2
|
27
|
-
VERSION = 'V1beta2'
|
28
|
-
REVISION = '20160314'
|
29
|
-
|
30
|
-
# View and manage your data across Google Cloud Platform services
|
31
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
-
|
33
|
-
# View and manage your Google Cloud Datastore data
|
34
|
-
AUTH_DATASTORE = 'https://www.googleapis.com/auth/datastore'
|
35
|
-
|
36
|
-
# View your email address
|
37
|
-
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
@@ -1,1186 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module DatastoreV1beta2
|
24
|
-
|
25
|
-
#
|
26
|
-
class AllocateIdsRequest
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# A list of keys with incomplete key paths to allocate IDs for. No key may be
|
30
|
-
# reserved/read-only.
|
31
|
-
# Corresponds to the JSON property `keys`
|
32
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Key>]
|
33
|
-
attr_accessor :keys
|
34
|
-
|
35
|
-
def initialize(**args)
|
36
|
-
update!(**args)
|
37
|
-
end
|
38
|
-
|
39
|
-
# Update properties of this object
|
40
|
-
def update!(**args)
|
41
|
-
@keys = args[:keys] if args.key?(:keys)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
#
|
46
|
-
class AllocateIdsResponse
|
47
|
-
include Google::Apis::Core::Hashable
|
48
|
-
|
49
|
-
#
|
50
|
-
# Corresponds to the JSON property `header`
|
51
|
-
# @return [Google::Apis::DatastoreV1beta2::ResponseHeader]
|
52
|
-
attr_accessor :header
|
53
|
-
|
54
|
-
# The keys specified in the request (in the same order), each with its key path
|
55
|
-
# completed with a newly allocated ID.
|
56
|
-
# Corresponds to the JSON property `keys`
|
57
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Key>]
|
58
|
-
attr_accessor :keys
|
59
|
-
|
60
|
-
def initialize(**args)
|
61
|
-
update!(**args)
|
62
|
-
end
|
63
|
-
|
64
|
-
# Update properties of this object
|
65
|
-
def update!(**args)
|
66
|
-
@header = args[:header] if args.key?(:header)
|
67
|
-
@keys = args[:keys] if args.key?(:keys)
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
#
|
72
|
-
class BeginTransactionRequest
|
73
|
-
include Google::Apis::Core::Hashable
|
74
|
-
|
75
|
-
# The transaction isolation level. Either snapshot or serializable. The default
|
76
|
-
# isolation level is snapshot isolation, which means that another transaction
|
77
|
-
# may not concurrently modify the data that is modified by this transaction.
|
78
|
-
# Optionally, a transaction can request to be made serializable which means that
|
79
|
-
# another transaction cannot concurrently modify the data that is read or
|
80
|
-
# modified by this transaction.
|
81
|
-
# Corresponds to the JSON property `isolationLevel`
|
82
|
-
# @return [String]
|
83
|
-
attr_accessor :isolation_level
|
84
|
-
|
85
|
-
def initialize(**args)
|
86
|
-
update!(**args)
|
87
|
-
end
|
88
|
-
|
89
|
-
# Update properties of this object
|
90
|
-
def update!(**args)
|
91
|
-
@isolation_level = args[:isolation_level] if args.key?(:isolation_level)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
#
|
96
|
-
class BeginTransactionResponse
|
97
|
-
include Google::Apis::Core::Hashable
|
98
|
-
|
99
|
-
#
|
100
|
-
# Corresponds to the JSON property `header`
|
101
|
-
# @return [Google::Apis::DatastoreV1beta2::ResponseHeader]
|
102
|
-
attr_accessor :header
|
103
|
-
|
104
|
-
# The transaction identifier (always present).
|
105
|
-
# Corresponds to the JSON property `transaction`
|
106
|
-
# @return [String]
|
107
|
-
attr_accessor :transaction
|
108
|
-
|
109
|
-
def initialize(**args)
|
110
|
-
update!(**args)
|
111
|
-
end
|
112
|
-
|
113
|
-
# Update properties of this object
|
114
|
-
def update!(**args)
|
115
|
-
@header = args[:header] if args.key?(:header)
|
116
|
-
@transaction = args[:transaction] if args.key?(:transaction)
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
#
|
121
|
-
class CommitRequest
|
122
|
-
include Google::Apis::Core::Hashable
|
123
|
-
|
124
|
-
#
|
125
|
-
# Corresponds to the JSON property `ignoreReadOnly`
|
126
|
-
# @return [Boolean]
|
127
|
-
attr_accessor :ignore_read_only
|
128
|
-
alias_method :ignore_read_only?, :ignore_read_only
|
129
|
-
|
130
|
-
# The type of commit to perform. Either TRANSACTIONAL or NON_TRANSACTIONAL.
|
131
|
-
# Corresponds to the JSON property `mode`
|
132
|
-
# @return [String]
|
133
|
-
attr_accessor :mode
|
134
|
-
|
135
|
-
# A set of changes to apply.
|
136
|
-
# Corresponds to the JSON property `mutation`
|
137
|
-
# @return [Google::Apis::DatastoreV1beta2::Mutation]
|
138
|
-
attr_accessor :mutation
|
139
|
-
|
140
|
-
# The transaction identifier, returned by a call to beginTransaction. Must be
|
141
|
-
# set when mode is TRANSACTIONAL.
|
142
|
-
# Corresponds to the JSON property `transaction`
|
143
|
-
# @return [String]
|
144
|
-
attr_accessor :transaction
|
145
|
-
|
146
|
-
def initialize(**args)
|
147
|
-
update!(**args)
|
148
|
-
end
|
149
|
-
|
150
|
-
# Update properties of this object
|
151
|
-
def update!(**args)
|
152
|
-
@ignore_read_only = args[:ignore_read_only] if args.key?(:ignore_read_only)
|
153
|
-
@mode = args[:mode] if args.key?(:mode)
|
154
|
-
@mutation = args[:mutation] if args.key?(:mutation)
|
155
|
-
@transaction = args[:transaction] if args.key?(:transaction)
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
#
|
160
|
-
class CommitResponse
|
161
|
-
include Google::Apis::Core::Hashable
|
162
|
-
|
163
|
-
#
|
164
|
-
# Corresponds to the JSON property `header`
|
165
|
-
# @return [Google::Apis::DatastoreV1beta2::ResponseHeader]
|
166
|
-
attr_accessor :header
|
167
|
-
|
168
|
-
# The result of performing the mutation (if any).
|
169
|
-
# Corresponds to the JSON property `mutationResult`
|
170
|
-
# @return [Google::Apis::DatastoreV1beta2::MutationResult]
|
171
|
-
attr_accessor :mutation_result
|
172
|
-
|
173
|
-
def initialize(**args)
|
174
|
-
update!(**args)
|
175
|
-
end
|
176
|
-
|
177
|
-
# Update properties of this object
|
178
|
-
def update!(**args)
|
179
|
-
@header = args[:header] if args.key?(:header)
|
180
|
-
@mutation_result = args[:mutation_result] if args.key?(:mutation_result)
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
# A filter that merges the multiple other filters using the given operation.
|
185
|
-
class CompositeFilter
|
186
|
-
include Google::Apis::Core::Hashable
|
187
|
-
|
188
|
-
# The list of filters to combine. Must contain at least one filter.
|
189
|
-
# Corresponds to the JSON property `filters`
|
190
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Filter>]
|
191
|
-
attr_accessor :filters
|
192
|
-
|
193
|
-
# The operator for combining multiple filters. Only "and" is currently supported.
|
194
|
-
# Corresponds to the JSON property `operator`
|
195
|
-
# @return [String]
|
196
|
-
attr_accessor :operator
|
197
|
-
|
198
|
-
def initialize(**args)
|
199
|
-
update!(**args)
|
200
|
-
end
|
201
|
-
|
202
|
-
# Update properties of this object
|
203
|
-
def update!(**args)
|
204
|
-
@filters = args[:filters] if args.key?(:filters)
|
205
|
-
@operator = args[:operator] if args.key?(:operator)
|
206
|
-
end
|
207
|
-
end
|
208
|
-
|
209
|
-
# An entity.
|
210
|
-
class Entity
|
211
|
-
include Google::Apis::Core::Hashable
|
212
|
-
|
213
|
-
# A unique identifier for an entity.
|
214
|
-
# Corresponds to the JSON property `key`
|
215
|
-
# @return [Google::Apis::DatastoreV1beta2::Key]
|
216
|
-
attr_accessor :key
|
217
|
-
|
218
|
-
# The entity's properties.
|
219
|
-
# Corresponds to the JSON property `properties`
|
220
|
-
# @return [Hash<String,Google::Apis::DatastoreV1beta2::Property>]
|
221
|
-
attr_accessor :properties
|
222
|
-
|
223
|
-
def initialize(**args)
|
224
|
-
update!(**args)
|
225
|
-
end
|
226
|
-
|
227
|
-
# Update properties of this object
|
228
|
-
def update!(**args)
|
229
|
-
@key = args[:key] if args.key?(:key)
|
230
|
-
@properties = args[:properties] if args.key?(:properties)
|
231
|
-
end
|
232
|
-
end
|
233
|
-
|
234
|
-
# The result of fetching an entity from the datastore.
|
235
|
-
class EntityResult
|
236
|
-
include Google::Apis::Core::Hashable
|
237
|
-
|
238
|
-
# An entity.
|
239
|
-
# Corresponds to the JSON property `entity`
|
240
|
-
# @return [Google::Apis::DatastoreV1beta2::Entity]
|
241
|
-
attr_accessor :entity
|
242
|
-
|
243
|
-
def initialize(**args)
|
244
|
-
update!(**args)
|
245
|
-
end
|
246
|
-
|
247
|
-
# Update properties of this object
|
248
|
-
def update!(**args)
|
249
|
-
@entity = args[:entity] if args.key?(:entity)
|
250
|
-
end
|
251
|
-
end
|
252
|
-
|
253
|
-
# A holder for any type of filter. Exactly one field should be specified.
|
254
|
-
class Filter
|
255
|
-
include Google::Apis::Core::Hashable
|
256
|
-
|
257
|
-
# A filter that merges the multiple other filters using the given operation.
|
258
|
-
# Corresponds to the JSON property `compositeFilter`
|
259
|
-
# @return [Google::Apis::DatastoreV1beta2::CompositeFilter]
|
260
|
-
attr_accessor :composite_filter
|
261
|
-
|
262
|
-
# A filter on a specific property.
|
263
|
-
# Corresponds to the JSON property `propertyFilter`
|
264
|
-
# @return [Google::Apis::DatastoreV1beta2::PropertyFilter]
|
265
|
-
attr_accessor :property_filter
|
266
|
-
|
267
|
-
def initialize(**args)
|
268
|
-
update!(**args)
|
269
|
-
end
|
270
|
-
|
271
|
-
# Update properties of this object
|
272
|
-
def update!(**args)
|
273
|
-
@composite_filter = args[:composite_filter] if args.key?(:composite_filter)
|
274
|
-
@property_filter = args[:property_filter] if args.key?(:property_filter)
|
275
|
-
end
|
276
|
-
end
|
277
|
-
|
278
|
-
# A GQL query.
|
279
|
-
class GqlQuery
|
280
|
-
include Google::Apis::Core::Hashable
|
281
|
-
|
282
|
-
# When false, the query string must not contain a literal.
|
283
|
-
# Corresponds to the JSON property `allowLiteral`
|
284
|
-
# @return [Boolean]
|
285
|
-
attr_accessor :allow_literal
|
286
|
-
alias_method :allow_literal?, :allow_literal
|
287
|
-
|
288
|
-
# A named argument must set field GqlQueryArg.name. No two named arguments may
|
289
|
-
# have the same name. For each non-reserved named binding site in the query
|
290
|
-
# string, there must be a named argument with that name, but not necessarily the
|
291
|
-
# inverse.
|
292
|
-
# Corresponds to the JSON property `nameArgs`
|
293
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::GqlQueryArg>]
|
294
|
-
attr_accessor :name_args
|
295
|
-
|
296
|
-
# Numbered binding site @1 references the first numbered argument, effectively
|
297
|
-
# using 1-based indexing, rather than the usual 0. A numbered argument must NOT
|
298
|
-
# set field GqlQueryArg.name. For each binding site numbered i in query_string,
|
299
|
-
# there must be an ith numbered argument. The inverse must also be true.
|
300
|
-
# Corresponds to the JSON property `numberArgs`
|
301
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::GqlQueryArg>]
|
302
|
-
attr_accessor :number_args
|
303
|
-
|
304
|
-
# The query string.
|
305
|
-
# Corresponds to the JSON property `queryString`
|
306
|
-
# @return [String]
|
307
|
-
attr_accessor :query_string
|
308
|
-
|
309
|
-
def initialize(**args)
|
310
|
-
update!(**args)
|
311
|
-
end
|
312
|
-
|
313
|
-
# Update properties of this object
|
314
|
-
def update!(**args)
|
315
|
-
@allow_literal = args[:allow_literal] if args.key?(:allow_literal)
|
316
|
-
@name_args = args[:name_args] if args.key?(:name_args)
|
317
|
-
@number_args = args[:number_args] if args.key?(:number_args)
|
318
|
-
@query_string = args[:query_string] if args.key?(:query_string)
|
319
|
-
end
|
320
|
-
end
|
321
|
-
|
322
|
-
# A binding argument for a GQL query.
|
323
|
-
class GqlQueryArg
|
324
|
-
include Google::Apis::Core::Hashable
|
325
|
-
|
326
|
-
#
|
327
|
-
# Corresponds to the JSON property `cursor`
|
328
|
-
# @return [String]
|
329
|
-
attr_accessor :cursor
|
330
|
-
|
331
|
-
# Must match regex "[A-Za-z_$][A-Za-z_$0-9]*". Must not match regex "__.*__".
|
332
|
-
# Must not be "".
|
333
|
-
# Corresponds to the JSON property `name`
|
334
|
-
# @return [String]
|
335
|
-
attr_accessor :name
|
336
|
-
|
337
|
-
# A message that can hold any of the supported value types and associated
|
338
|
-
# metadata.
|
339
|
-
# Corresponds to the JSON property `value`
|
340
|
-
# @return [Google::Apis::DatastoreV1beta2::Value]
|
341
|
-
attr_accessor :value
|
342
|
-
|
343
|
-
def initialize(**args)
|
344
|
-
update!(**args)
|
345
|
-
end
|
346
|
-
|
347
|
-
# Update properties of this object
|
348
|
-
def update!(**args)
|
349
|
-
@cursor = args[:cursor] if args.key?(:cursor)
|
350
|
-
@name = args[:name] if args.key?(:name)
|
351
|
-
@value = args[:value] if args.key?(:value)
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
# A unique identifier for an entity.
|
356
|
-
class Key
|
357
|
-
include Google::Apis::Core::Hashable
|
358
|
-
|
359
|
-
# An identifier for a particular subset of entities.
|
360
|
-
# Entities are partitioned into various subsets, each used by different datasets
|
361
|
-
# and different namespaces within a dataset and so forth.
|
362
|
-
# Corresponds to the JSON property `partitionId`
|
363
|
-
# @return [Google::Apis::DatastoreV1beta2::PartitionId]
|
364
|
-
attr_accessor :partition_id
|
365
|
-
|
366
|
-
# The entity path. An entity path consists of one or more elements composed of a
|
367
|
-
# kind and a string or numerical identifier, which identify entities. The first
|
368
|
-
# element identifies a root entity, the second element identifies a child of the
|
369
|
-
# root entity, the third element a child of the second entity, and so forth. The
|
370
|
-
# entities identified by all prefixes of the path are called the element's
|
371
|
-
# ancestors. An entity path is always fully complete: ALL of the entity's
|
372
|
-
# ancestors are required to be in the path along with the entity identifier
|
373
|
-
# itself. The only exception is that in some documented cases, the identifier in
|
374
|
-
# the last path element (for the entity) itself may be omitted. A path can never
|
375
|
-
# be empty. The path can have at most 100 elements.
|
376
|
-
# Corresponds to the JSON property `path`
|
377
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::KeyPathElement>]
|
378
|
-
attr_accessor :path
|
379
|
-
|
380
|
-
def initialize(**args)
|
381
|
-
update!(**args)
|
382
|
-
end
|
383
|
-
|
384
|
-
# Update properties of this object
|
385
|
-
def update!(**args)
|
386
|
-
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
387
|
-
@path = args[:path] if args.key?(:path)
|
388
|
-
end
|
389
|
-
end
|
390
|
-
|
391
|
-
# A (kind, ID/name) pair used to construct a key path.
|
392
|
-
# At most one of name or ID may be set. If either is set, the element is
|
393
|
-
# complete. If neither is set, the element is incomplete.
|
394
|
-
class KeyPathElement
|
395
|
-
include Google::Apis::Core::Hashable
|
396
|
-
|
397
|
-
# The ID of the entity. Never equal to zero. Values less than zero are
|
398
|
-
# discouraged and will not be supported in the future.
|
399
|
-
# Corresponds to the JSON property `id`
|
400
|
-
# @return [String]
|
401
|
-
attr_accessor :id
|
402
|
-
|
403
|
-
# The kind of the entity. A kind matching regex "__.*__" is reserved/read-only.
|
404
|
-
# A kind must not contain more than 500 characters. Cannot be "".
|
405
|
-
# Corresponds to the JSON property `kind`
|
406
|
-
# @return [String]
|
407
|
-
attr_accessor :kind
|
408
|
-
|
409
|
-
# The name of the entity. A name matching regex "__.*__" is reserved/read-only.
|
410
|
-
# A name must not be more than 500 characters. Cannot be "".
|
411
|
-
# Corresponds to the JSON property `name`
|
412
|
-
# @return [String]
|
413
|
-
attr_accessor :name
|
414
|
-
|
415
|
-
def initialize(**args)
|
416
|
-
update!(**args)
|
417
|
-
end
|
418
|
-
|
419
|
-
# Update properties of this object
|
420
|
-
def update!(**args)
|
421
|
-
@id = args[:id] if args.key?(:id)
|
422
|
-
@kind = args[:kind] if args.key?(:kind)
|
423
|
-
@name = args[:name] if args.key?(:name)
|
424
|
-
end
|
425
|
-
end
|
426
|
-
|
427
|
-
# A representation of a kind.
|
428
|
-
class KindExpression
|
429
|
-
include Google::Apis::Core::Hashable
|
430
|
-
|
431
|
-
# The name of the kind.
|
432
|
-
# Corresponds to the JSON property `name`
|
433
|
-
# @return [String]
|
434
|
-
attr_accessor :name
|
435
|
-
|
436
|
-
def initialize(**args)
|
437
|
-
update!(**args)
|
438
|
-
end
|
439
|
-
|
440
|
-
# Update properties of this object
|
441
|
-
def update!(**args)
|
442
|
-
@name = args[:name] if args.key?(:name)
|
443
|
-
end
|
444
|
-
end
|
445
|
-
|
446
|
-
#
|
447
|
-
class LookupRequest
|
448
|
-
include Google::Apis::Core::Hashable
|
449
|
-
|
450
|
-
# Keys of entities to look up from the datastore.
|
451
|
-
# Corresponds to the JSON property `keys`
|
452
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Key>]
|
453
|
-
attr_accessor :keys
|
454
|
-
|
455
|
-
# Options for this lookup request. Optional.
|
456
|
-
# Corresponds to the JSON property `readOptions`
|
457
|
-
# @return [Google::Apis::DatastoreV1beta2::ReadOptions]
|
458
|
-
attr_accessor :read_options
|
459
|
-
|
460
|
-
def initialize(**args)
|
461
|
-
update!(**args)
|
462
|
-
end
|
463
|
-
|
464
|
-
# Update properties of this object
|
465
|
-
def update!(**args)
|
466
|
-
@keys = args[:keys] if args.key?(:keys)
|
467
|
-
@read_options = args[:read_options] if args.key?(:read_options)
|
468
|
-
end
|
469
|
-
end
|
470
|
-
|
471
|
-
#
|
472
|
-
class LookupResponse
|
473
|
-
include Google::Apis::Core::Hashable
|
474
|
-
|
475
|
-
# A list of keys that were not looked up due to resource constraints.
|
476
|
-
# Corresponds to the JSON property `deferred`
|
477
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Key>]
|
478
|
-
attr_accessor :deferred
|
479
|
-
|
480
|
-
# Entities found.
|
481
|
-
# Corresponds to the JSON property `found`
|
482
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::EntityResult>]
|
483
|
-
attr_accessor :found
|
484
|
-
|
485
|
-
#
|
486
|
-
# Corresponds to the JSON property `header`
|
487
|
-
# @return [Google::Apis::DatastoreV1beta2::ResponseHeader]
|
488
|
-
attr_accessor :header
|
489
|
-
|
490
|
-
# Entities not found, with only the key populated.
|
491
|
-
# Corresponds to the JSON property `missing`
|
492
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::EntityResult>]
|
493
|
-
attr_accessor :missing
|
494
|
-
|
495
|
-
def initialize(**args)
|
496
|
-
update!(**args)
|
497
|
-
end
|
498
|
-
|
499
|
-
# Update properties of this object
|
500
|
-
def update!(**args)
|
501
|
-
@deferred = args[:deferred] if args.key?(:deferred)
|
502
|
-
@found = args[:found] if args.key?(:found)
|
503
|
-
@header = args[:header] if args.key?(:header)
|
504
|
-
@missing = args[:missing] if args.key?(:missing)
|
505
|
-
end
|
506
|
-
end
|
507
|
-
|
508
|
-
# A set of changes to apply.
|
509
|
-
class Mutation
|
510
|
-
include Google::Apis::Core::Hashable
|
511
|
-
|
512
|
-
# Keys of entities to delete. Each key must have a complete key path and must
|
513
|
-
# not be reserved/read-only.
|
514
|
-
# Corresponds to the JSON property `delete`
|
515
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Key>]
|
516
|
-
attr_accessor :delete
|
517
|
-
|
518
|
-
# Ignore a user specified read-only period. Optional.
|
519
|
-
# Corresponds to the JSON property `force`
|
520
|
-
# @return [Boolean]
|
521
|
-
attr_accessor :force
|
522
|
-
alias_method :force?, :force
|
523
|
-
|
524
|
-
# Entities to insert. Each inserted entity's key must have a complete path and
|
525
|
-
# must not be reserved/read-only.
|
526
|
-
# Corresponds to the JSON property `insert`
|
527
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Entity>]
|
528
|
-
attr_accessor :insert
|
529
|
-
|
530
|
-
# Insert entities with a newly allocated ID. Each inserted entity's key must
|
531
|
-
# omit the final identifier in its path and must not be reserved/read-only.
|
532
|
-
# Corresponds to the JSON property `insertAutoId`
|
533
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Entity>]
|
534
|
-
attr_accessor :insert_auto_id
|
535
|
-
|
536
|
-
# Entities to update. Each updated entity's key must have a complete path and
|
537
|
-
# must not be reserved/read-only.
|
538
|
-
# Corresponds to the JSON property `update`
|
539
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Entity>]
|
540
|
-
attr_accessor :update
|
541
|
-
|
542
|
-
# Entities to upsert. Each upserted entity's key must have a complete path and
|
543
|
-
# must not be reserved/read-only.
|
544
|
-
# Corresponds to the JSON property `upsert`
|
545
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Entity>]
|
546
|
-
attr_accessor :upsert
|
547
|
-
|
548
|
-
def initialize(**args)
|
549
|
-
update!(**args)
|
550
|
-
end
|
551
|
-
|
552
|
-
# Update properties of this object
|
553
|
-
def update!(**args)
|
554
|
-
@delete = args[:delete] if args.key?(:delete)
|
555
|
-
@force = args[:force] if args.key?(:force)
|
556
|
-
@insert = args[:insert] if args.key?(:insert)
|
557
|
-
@insert_auto_id = args[:insert_auto_id] if args.key?(:insert_auto_id)
|
558
|
-
@update = args[:update] if args.key?(:update)
|
559
|
-
@upsert = args[:upsert] if args.key?(:upsert)
|
560
|
-
end
|
561
|
-
end
|
562
|
-
|
563
|
-
#
|
564
|
-
class MutationResult
|
565
|
-
include Google::Apis::Core::Hashable
|
566
|
-
|
567
|
-
# Number of index writes.
|
568
|
-
# Corresponds to the JSON property `indexUpdates`
|
569
|
-
# @return [Fixnum]
|
570
|
-
attr_accessor :index_updates
|
571
|
-
|
572
|
-
# Keys for insertAutoId entities. One per entity from the request, in the same
|
573
|
-
# order.
|
574
|
-
# Corresponds to the JSON property `insertAutoIdKeys`
|
575
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Key>]
|
576
|
-
attr_accessor :insert_auto_id_keys
|
577
|
-
|
578
|
-
def initialize(**args)
|
579
|
-
update!(**args)
|
580
|
-
end
|
581
|
-
|
582
|
-
# Update properties of this object
|
583
|
-
def update!(**args)
|
584
|
-
@index_updates = args[:index_updates] if args.key?(:index_updates)
|
585
|
-
@insert_auto_id_keys = args[:insert_auto_id_keys] if args.key?(:insert_auto_id_keys)
|
586
|
-
end
|
587
|
-
end
|
588
|
-
|
589
|
-
# An identifier for a particular subset of entities.
|
590
|
-
# Entities are partitioned into various subsets, each used by different datasets
|
591
|
-
# and different namespaces within a dataset and so forth.
|
592
|
-
class PartitionId
|
593
|
-
include Google::Apis::Core::Hashable
|
594
|
-
|
595
|
-
# The dataset ID.
|
596
|
-
# Corresponds to the JSON property `datasetId`
|
597
|
-
# @return [String]
|
598
|
-
attr_accessor :dataset_id
|
599
|
-
|
600
|
-
# The namespace.
|
601
|
-
# Corresponds to the JSON property `namespace`
|
602
|
-
# @return [String]
|
603
|
-
attr_accessor :namespace
|
604
|
-
|
605
|
-
def initialize(**args)
|
606
|
-
update!(**args)
|
607
|
-
end
|
608
|
-
|
609
|
-
# Update properties of this object
|
610
|
-
def update!(**args)
|
611
|
-
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
612
|
-
@namespace = args[:namespace] if args.key?(:namespace)
|
613
|
-
end
|
614
|
-
end
|
615
|
-
|
616
|
-
# An entity property.
|
617
|
-
class Property
|
618
|
-
include Google::Apis::Core::Hashable
|
619
|
-
|
620
|
-
# A blob key value.
|
621
|
-
# Corresponds to the JSON property `blobKeyValue`
|
622
|
-
# @return [String]
|
623
|
-
attr_accessor :blob_key_value
|
624
|
-
|
625
|
-
# A blob value. May be a maximum of 1,000,000 bytes. When indexed is true, may
|
626
|
-
# have at most 500 bytes.
|
627
|
-
# Corresponds to the JSON property `blobValue`
|
628
|
-
# @return [String]
|
629
|
-
attr_accessor :blob_value
|
630
|
-
|
631
|
-
# A boolean value.
|
632
|
-
# Corresponds to the JSON property `booleanValue`
|
633
|
-
# @return [Boolean]
|
634
|
-
attr_accessor :boolean_value
|
635
|
-
alias_method :boolean_value?, :boolean_value
|
636
|
-
|
637
|
-
# A timestamp value.
|
638
|
-
# Corresponds to the JSON property `dateTimeValue`
|
639
|
-
# @return [DateTime]
|
640
|
-
attr_accessor :date_time_value
|
641
|
-
|
642
|
-
# A double value.
|
643
|
-
# Corresponds to the JSON property `doubleValue`
|
644
|
-
# @return [Float]
|
645
|
-
attr_accessor :double_value
|
646
|
-
|
647
|
-
# An entity.
|
648
|
-
# Corresponds to the JSON property `entityValue`
|
649
|
-
# @return [Google::Apis::DatastoreV1beta2::Entity]
|
650
|
-
attr_accessor :entity_value
|
651
|
-
|
652
|
-
# If the value should be indexed.
|
653
|
-
# The indexed property may be set for a null value. When indexed is true,
|
654
|
-
# stringValue is limited to 500 characters and the blob value is limited to 500
|
655
|
-
# bytes. Input values by default have indexed set to true; however, you can
|
656
|
-
# explicitly set indexed to true if you want. (An output value never has indexed
|
657
|
-
# explicitly set to true.) If a value is itself an entity, it cannot have
|
658
|
-
# indexed set to true.
|
659
|
-
# Corresponds to the JSON property `indexed`
|
660
|
-
# @return [Boolean]
|
661
|
-
attr_accessor :indexed
|
662
|
-
alias_method :indexed?, :indexed
|
663
|
-
|
664
|
-
# An integer value.
|
665
|
-
# Corresponds to the JSON property `integerValue`
|
666
|
-
# @return [String]
|
667
|
-
attr_accessor :integer_value
|
668
|
-
|
669
|
-
# A unique identifier for an entity.
|
670
|
-
# Corresponds to the JSON property `keyValue`
|
671
|
-
# @return [Google::Apis::DatastoreV1beta2::Key]
|
672
|
-
attr_accessor :key_value
|
673
|
-
|
674
|
-
# A list value. Cannot contain another list value. A Value instance that sets
|
675
|
-
# field list_value must not set field meaning or field indexed.
|
676
|
-
# Corresponds to the JSON property `listValue`
|
677
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Value>]
|
678
|
-
attr_accessor :list_value
|
679
|
-
|
680
|
-
# The meaning field is reserved and should not be used.
|
681
|
-
# Corresponds to the JSON property `meaning`
|
682
|
-
# @return [Fixnum]
|
683
|
-
attr_accessor :meaning
|
684
|
-
|
685
|
-
# A UTF-8 encoded string value. When indexed is true, may have at most 500
|
686
|
-
# characters.
|
687
|
-
# Corresponds to the JSON property `stringValue`
|
688
|
-
# @return [String]
|
689
|
-
attr_accessor :string_value
|
690
|
-
|
691
|
-
def initialize(**args)
|
692
|
-
update!(**args)
|
693
|
-
end
|
694
|
-
|
695
|
-
# Update properties of this object
|
696
|
-
def update!(**args)
|
697
|
-
@blob_key_value = args[:blob_key_value] if args.key?(:blob_key_value)
|
698
|
-
@blob_value = args[:blob_value] if args.key?(:blob_value)
|
699
|
-
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
700
|
-
@date_time_value = args[:date_time_value] if args.key?(:date_time_value)
|
701
|
-
@double_value = args[:double_value] if args.key?(:double_value)
|
702
|
-
@entity_value = args[:entity_value] if args.key?(:entity_value)
|
703
|
-
@indexed = args[:indexed] if args.key?(:indexed)
|
704
|
-
@integer_value = args[:integer_value] if args.key?(:integer_value)
|
705
|
-
@key_value = args[:key_value] if args.key?(:key_value)
|
706
|
-
@list_value = args[:list_value] if args.key?(:list_value)
|
707
|
-
@meaning = args[:meaning] if args.key?(:meaning)
|
708
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
709
|
-
end
|
710
|
-
end
|
711
|
-
|
712
|
-
# A representation of a property in a projection.
|
713
|
-
class PropertyExpression
|
714
|
-
include Google::Apis::Core::Hashable
|
715
|
-
|
716
|
-
# The aggregation function to apply to the property. Optional. Can only be used
|
717
|
-
# when grouping by at least one property. Must then be set on all properties in
|
718
|
-
# the projection that are not being grouped by. Aggregation functions: first
|
719
|
-
# selects the first result as determined by the query's order.
|
720
|
-
# Corresponds to the JSON property `aggregationFunction`
|
721
|
-
# @return [String]
|
722
|
-
attr_accessor :aggregation_function
|
723
|
-
|
724
|
-
# A reference to a property relative to the kind expressions.
|
725
|
-
# Corresponds to the JSON property `property`
|
726
|
-
# @return [Google::Apis::DatastoreV1beta2::PropertyReference]
|
727
|
-
attr_accessor :property
|
728
|
-
|
729
|
-
def initialize(**args)
|
730
|
-
update!(**args)
|
731
|
-
end
|
732
|
-
|
733
|
-
# Update properties of this object
|
734
|
-
def update!(**args)
|
735
|
-
@aggregation_function = args[:aggregation_function] if args.key?(:aggregation_function)
|
736
|
-
@property = args[:property] if args.key?(:property)
|
737
|
-
end
|
738
|
-
end
|
739
|
-
|
740
|
-
# A filter on a specific property.
|
741
|
-
class PropertyFilter
|
742
|
-
include Google::Apis::Core::Hashable
|
743
|
-
|
744
|
-
# The operator to filter by. One of lessThan, lessThanOrEqual, greaterThan,
|
745
|
-
# greaterThanOrEqual, equal, or hasAncestor.
|
746
|
-
# Corresponds to the JSON property `operator`
|
747
|
-
# @return [String]
|
748
|
-
attr_accessor :operator
|
749
|
-
|
750
|
-
# A reference to a property relative to the kind expressions.
|
751
|
-
# Corresponds to the JSON property `property`
|
752
|
-
# @return [Google::Apis::DatastoreV1beta2::PropertyReference]
|
753
|
-
attr_accessor :property
|
754
|
-
|
755
|
-
# A message that can hold any of the supported value types and associated
|
756
|
-
# metadata.
|
757
|
-
# Corresponds to the JSON property `value`
|
758
|
-
# @return [Google::Apis::DatastoreV1beta2::Value]
|
759
|
-
attr_accessor :value
|
760
|
-
|
761
|
-
def initialize(**args)
|
762
|
-
update!(**args)
|
763
|
-
end
|
764
|
-
|
765
|
-
# Update properties of this object
|
766
|
-
def update!(**args)
|
767
|
-
@operator = args[:operator] if args.key?(:operator)
|
768
|
-
@property = args[:property] if args.key?(:property)
|
769
|
-
@value = args[:value] if args.key?(:value)
|
770
|
-
end
|
771
|
-
end
|
772
|
-
|
773
|
-
# The desired order for a specific property.
|
774
|
-
class PropertyOrder
|
775
|
-
include Google::Apis::Core::Hashable
|
776
|
-
|
777
|
-
# The direction to order by. One of ascending or descending. Optional, defaults
|
778
|
-
# to ascending.
|
779
|
-
# Corresponds to the JSON property `direction`
|
780
|
-
# @return [String]
|
781
|
-
attr_accessor :direction
|
782
|
-
|
783
|
-
# A reference to a property relative to the kind expressions.
|
784
|
-
# Corresponds to the JSON property `property`
|
785
|
-
# @return [Google::Apis::DatastoreV1beta2::PropertyReference]
|
786
|
-
attr_accessor :property
|
787
|
-
|
788
|
-
def initialize(**args)
|
789
|
-
update!(**args)
|
790
|
-
end
|
791
|
-
|
792
|
-
# Update properties of this object
|
793
|
-
def update!(**args)
|
794
|
-
@direction = args[:direction] if args.key?(:direction)
|
795
|
-
@property = args[:property] if args.key?(:property)
|
796
|
-
end
|
797
|
-
end
|
798
|
-
|
799
|
-
# A reference to a property relative to the kind expressions.
|
800
|
-
class PropertyReference
|
801
|
-
include Google::Apis::Core::Hashable
|
802
|
-
|
803
|
-
# The name of the property.
|
804
|
-
# Corresponds to the JSON property `name`
|
805
|
-
# @return [String]
|
806
|
-
attr_accessor :name
|
807
|
-
|
808
|
-
def initialize(**args)
|
809
|
-
update!(**args)
|
810
|
-
end
|
811
|
-
|
812
|
-
# Update properties of this object
|
813
|
-
def update!(**args)
|
814
|
-
@name = args[:name] if args.key?(:name)
|
815
|
-
end
|
816
|
-
end
|
817
|
-
|
818
|
-
# A query.
|
819
|
-
class Query
|
820
|
-
include Google::Apis::Core::Hashable
|
821
|
-
|
822
|
-
# An ending point for the query results. Optional. Query cursors are returned in
|
823
|
-
# query result batches.
|
824
|
-
# Corresponds to the JSON property `endCursor`
|
825
|
-
# @return [String]
|
826
|
-
attr_accessor :end_cursor
|
827
|
-
|
828
|
-
# A holder for any type of filter. Exactly one field should be specified.
|
829
|
-
# Corresponds to the JSON property `filter`
|
830
|
-
# @return [Google::Apis::DatastoreV1beta2::Filter]
|
831
|
-
attr_accessor :filter
|
832
|
-
|
833
|
-
# The properties to group by (if empty, no grouping is applied to the result set)
|
834
|
-
# .
|
835
|
-
# Corresponds to the JSON property `groupBy`
|
836
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::PropertyReference>]
|
837
|
-
attr_accessor :group_by
|
838
|
-
|
839
|
-
# The kinds to query (if empty, returns entities from all kinds).
|
840
|
-
# Corresponds to the JSON property `kinds`
|
841
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::KindExpression>]
|
842
|
-
attr_accessor :kinds
|
843
|
-
|
844
|
-
# The maximum number of results to return. Applies after all other constraints.
|
845
|
-
# Optional.
|
846
|
-
# Corresponds to the JSON property `limit`
|
847
|
-
# @return [Fixnum]
|
848
|
-
attr_accessor :limit
|
849
|
-
|
850
|
-
# The number of results to skip. Applies before limit, but after all other
|
851
|
-
# constraints (optional, defaults to 0).
|
852
|
-
# Corresponds to the JSON property `offset`
|
853
|
-
# @return [Fixnum]
|
854
|
-
attr_accessor :offset
|
855
|
-
|
856
|
-
# The order to apply to the query results (if empty, order is unspecified).
|
857
|
-
# Corresponds to the JSON property `order`
|
858
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::PropertyOrder>]
|
859
|
-
attr_accessor :order
|
860
|
-
|
861
|
-
# The projection to return. If not set the entire entity is returned.
|
862
|
-
# Corresponds to the JSON property `projection`
|
863
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::PropertyExpression>]
|
864
|
-
attr_accessor :projection
|
865
|
-
|
866
|
-
# A starting point for the query results. Optional. Query cursors are returned
|
867
|
-
# in query result batches.
|
868
|
-
# Corresponds to the JSON property `startCursor`
|
869
|
-
# @return [String]
|
870
|
-
attr_accessor :start_cursor
|
871
|
-
|
872
|
-
def initialize(**args)
|
873
|
-
update!(**args)
|
874
|
-
end
|
875
|
-
|
876
|
-
# Update properties of this object
|
877
|
-
def update!(**args)
|
878
|
-
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
879
|
-
@filter = args[:filter] if args.key?(:filter)
|
880
|
-
@group_by = args[:group_by] if args.key?(:group_by)
|
881
|
-
@kinds = args[:kinds] if args.key?(:kinds)
|
882
|
-
@limit = args[:limit] if args.key?(:limit)
|
883
|
-
@offset = args[:offset] if args.key?(:offset)
|
884
|
-
@order = args[:order] if args.key?(:order)
|
885
|
-
@projection = args[:projection] if args.key?(:projection)
|
886
|
-
@start_cursor = args[:start_cursor] if args.key?(:start_cursor)
|
887
|
-
end
|
888
|
-
end
|
889
|
-
|
890
|
-
# A batch of results produced by a query.
|
891
|
-
class QueryResultBatch
|
892
|
-
include Google::Apis::Core::Hashable
|
893
|
-
|
894
|
-
# A cursor that points to the position after the last result in the batch. May
|
895
|
-
# be absent. TODO(arfuller): Once all plans produce cursors update documentation
|
896
|
-
# here.
|
897
|
-
# Corresponds to the JSON property `endCursor`
|
898
|
-
# @return [String]
|
899
|
-
attr_accessor :end_cursor
|
900
|
-
|
901
|
-
# The result type for every entity in entityResults. full for full entities,
|
902
|
-
# projection for entities with only projected properties, keyOnly for entities
|
903
|
-
# with only a key.
|
904
|
-
# Corresponds to the JSON property `entityResultType`
|
905
|
-
# @return [String]
|
906
|
-
attr_accessor :entity_result_type
|
907
|
-
|
908
|
-
# The results for this batch.
|
909
|
-
# Corresponds to the JSON property `entityResults`
|
910
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::EntityResult>]
|
911
|
-
attr_accessor :entity_results
|
912
|
-
|
913
|
-
# The state of the query after the current batch. One of notFinished,
|
914
|
-
# moreResultsAfterLimit, noMoreResults.
|
915
|
-
# Corresponds to the JSON property `moreResults`
|
916
|
-
# @return [String]
|
917
|
-
attr_accessor :more_results
|
918
|
-
|
919
|
-
# The number of results skipped because of Query.offset.
|
920
|
-
# Corresponds to the JSON property `skippedResults`
|
921
|
-
# @return [Fixnum]
|
922
|
-
attr_accessor :skipped_results
|
923
|
-
|
924
|
-
def initialize(**args)
|
925
|
-
update!(**args)
|
926
|
-
end
|
927
|
-
|
928
|
-
# Update properties of this object
|
929
|
-
def update!(**args)
|
930
|
-
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
931
|
-
@entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type)
|
932
|
-
@entity_results = args[:entity_results] if args.key?(:entity_results)
|
933
|
-
@more_results = args[:more_results] if args.key?(:more_results)
|
934
|
-
@skipped_results = args[:skipped_results] if args.key?(:skipped_results)
|
935
|
-
end
|
936
|
-
end
|
937
|
-
|
938
|
-
#
|
939
|
-
class ReadOptions
|
940
|
-
include Google::Apis::Core::Hashable
|
941
|
-
|
942
|
-
# The read consistency to use. One of default, strong, or eventual. Cannot be
|
943
|
-
# set when transaction is set. Lookup and ancestor queries default to strong,
|
944
|
-
# global queries default to eventual and cannot be set to strong. Optional.
|
945
|
-
# Default is default.
|
946
|
-
# Corresponds to the JSON property `readConsistency`
|
947
|
-
# @return [String]
|
948
|
-
attr_accessor :read_consistency
|
949
|
-
|
950
|
-
# The transaction to use. Optional.
|
951
|
-
# Corresponds to the JSON property `transaction`
|
952
|
-
# @return [String]
|
953
|
-
attr_accessor :transaction
|
954
|
-
|
955
|
-
def initialize(**args)
|
956
|
-
update!(**args)
|
957
|
-
end
|
958
|
-
|
959
|
-
# Update properties of this object
|
960
|
-
def update!(**args)
|
961
|
-
@read_consistency = args[:read_consistency] if args.key?(:read_consistency)
|
962
|
-
@transaction = args[:transaction] if args.key?(:transaction)
|
963
|
-
end
|
964
|
-
end
|
965
|
-
|
966
|
-
#
|
967
|
-
class ResponseHeader
|
968
|
-
include Google::Apis::Core::Hashable
|
969
|
-
|
970
|
-
# Identifies what kind of resource this is. Value: the fixed string "datastore#
|
971
|
-
# responseHeader".
|
972
|
-
# Corresponds to the JSON property `kind`
|
973
|
-
# @return [String]
|
974
|
-
attr_accessor :kind
|
975
|
-
|
976
|
-
def initialize(**args)
|
977
|
-
update!(**args)
|
978
|
-
end
|
979
|
-
|
980
|
-
# Update properties of this object
|
981
|
-
def update!(**args)
|
982
|
-
@kind = args[:kind] if args.key?(:kind)
|
983
|
-
end
|
984
|
-
end
|
985
|
-
|
986
|
-
#
|
987
|
-
class RollbackRequest
|
988
|
-
include Google::Apis::Core::Hashable
|
989
|
-
|
990
|
-
# The transaction identifier, returned by a call to beginTransaction.
|
991
|
-
# Corresponds to the JSON property `transaction`
|
992
|
-
# @return [String]
|
993
|
-
attr_accessor :transaction
|
994
|
-
|
995
|
-
def initialize(**args)
|
996
|
-
update!(**args)
|
997
|
-
end
|
998
|
-
|
999
|
-
# Update properties of this object
|
1000
|
-
def update!(**args)
|
1001
|
-
@transaction = args[:transaction] if args.key?(:transaction)
|
1002
|
-
end
|
1003
|
-
end
|
1004
|
-
|
1005
|
-
#
|
1006
|
-
class RollbackResponse
|
1007
|
-
include Google::Apis::Core::Hashable
|
1008
|
-
|
1009
|
-
#
|
1010
|
-
# Corresponds to the JSON property `header`
|
1011
|
-
# @return [Google::Apis::DatastoreV1beta2::ResponseHeader]
|
1012
|
-
attr_accessor :header
|
1013
|
-
|
1014
|
-
def initialize(**args)
|
1015
|
-
update!(**args)
|
1016
|
-
end
|
1017
|
-
|
1018
|
-
# Update properties of this object
|
1019
|
-
def update!(**args)
|
1020
|
-
@header = args[:header] if args.key?(:header)
|
1021
|
-
end
|
1022
|
-
end
|
1023
|
-
|
1024
|
-
#
|
1025
|
-
class RunQueryRequest
|
1026
|
-
include Google::Apis::Core::Hashable
|
1027
|
-
|
1028
|
-
# A GQL query.
|
1029
|
-
# Corresponds to the JSON property `gqlQuery`
|
1030
|
-
# @return [Google::Apis::DatastoreV1beta2::GqlQuery]
|
1031
|
-
attr_accessor :gql_query
|
1032
|
-
|
1033
|
-
# An identifier for a particular subset of entities.
|
1034
|
-
# Entities are partitioned into various subsets, each used by different datasets
|
1035
|
-
# and different namespaces within a dataset and so forth.
|
1036
|
-
# Corresponds to the JSON property `partitionId`
|
1037
|
-
# @return [Google::Apis::DatastoreV1beta2::PartitionId]
|
1038
|
-
attr_accessor :partition_id
|
1039
|
-
|
1040
|
-
# A query.
|
1041
|
-
# Corresponds to the JSON property `query`
|
1042
|
-
# @return [Google::Apis::DatastoreV1beta2::Query]
|
1043
|
-
attr_accessor :query
|
1044
|
-
|
1045
|
-
# The options for this query.
|
1046
|
-
# Corresponds to the JSON property `readOptions`
|
1047
|
-
# @return [Google::Apis::DatastoreV1beta2::ReadOptions]
|
1048
|
-
attr_accessor :read_options
|
1049
|
-
|
1050
|
-
def initialize(**args)
|
1051
|
-
update!(**args)
|
1052
|
-
end
|
1053
|
-
|
1054
|
-
# Update properties of this object
|
1055
|
-
def update!(**args)
|
1056
|
-
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
1057
|
-
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
1058
|
-
@query = args[:query] if args.key?(:query)
|
1059
|
-
@read_options = args[:read_options] if args.key?(:read_options)
|
1060
|
-
end
|
1061
|
-
end
|
1062
|
-
|
1063
|
-
#
|
1064
|
-
class RunQueryResponse
|
1065
|
-
include Google::Apis::Core::Hashable
|
1066
|
-
|
1067
|
-
# A batch of results produced by a query.
|
1068
|
-
# Corresponds to the JSON property `batch`
|
1069
|
-
# @return [Google::Apis::DatastoreV1beta2::QueryResultBatch]
|
1070
|
-
attr_accessor :batch
|
1071
|
-
|
1072
|
-
#
|
1073
|
-
# Corresponds to the JSON property `header`
|
1074
|
-
# @return [Google::Apis::DatastoreV1beta2::ResponseHeader]
|
1075
|
-
attr_accessor :header
|
1076
|
-
|
1077
|
-
def initialize(**args)
|
1078
|
-
update!(**args)
|
1079
|
-
end
|
1080
|
-
|
1081
|
-
# Update properties of this object
|
1082
|
-
def update!(**args)
|
1083
|
-
@batch = args[:batch] if args.key?(:batch)
|
1084
|
-
@header = args[:header] if args.key?(:header)
|
1085
|
-
end
|
1086
|
-
end
|
1087
|
-
|
1088
|
-
# A message that can hold any of the supported value types and associated
|
1089
|
-
# metadata.
|
1090
|
-
class Value
|
1091
|
-
include Google::Apis::Core::Hashable
|
1092
|
-
|
1093
|
-
# A blob key value.
|
1094
|
-
# Corresponds to the JSON property `blobKeyValue`
|
1095
|
-
# @return [String]
|
1096
|
-
attr_accessor :blob_key_value
|
1097
|
-
|
1098
|
-
# A blob value. May be a maximum of 1,000,000 bytes. When indexed is true, may
|
1099
|
-
# have at most 500 bytes.
|
1100
|
-
# Corresponds to the JSON property `blobValue`
|
1101
|
-
# @return [String]
|
1102
|
-
attr_accessor :blob_value
|
1103
|
-
|
1104
|
-
# A boolean value.
|
1105
|
-
# Corresponds to the JSON property `booleanValue`
|
1106
|
-
# @return [Boolean]
|
1107
|
-
attr_accessor :boolean_value
|
1108
|
-
alias_method :boolean_value?, :boolean_value
|
1109
|
-
|
1110
|
-
# A timestamp value.
|
1111
|
-
# Corresponds to the JSON property `dateTimeValue`
|
1112
|
-
# @return [DateTime]
|
1113
|
-
attr_accessor :date_time_value
|
1114
|
-
|
1115
|
-
# A double value.
|
1116
|
-
# Corresponds to the JSON property `doubleValue`
|
1117
|
-
# @return [Float]
|
1118
|
-
attr_accessor :double_value
|
1119
|
-
|
1120
|
-
# An entity.
|
1121
|
-
# Corresponds to the JSON property `entityValue`
|
1122
|
-
# @return [Google::Apis::DatastoreV1beta2::Entity]
|
1123
|
-
attr_accessor :entity_value
|
1124
|
-
|
1125
|
-
# If the value should be indexed.
|
1126
|
-
# The indexed property may be set for a null value. When indexed is true,
|
1127
|
-
# stringValue is limited to 500 characters and the blob value is limited to 500
|
1128
|
-
# bytes. Input values by default have indexed set to true; however, you can
|
1129
|
-
# explicitly set indexed to true if you want. (An output value never has indexed
|
1130
|
-
# explicitly set to true.) If a value is itself an entity, it cannot have
|
1131
|
-
# indexed set to true.
|
1132
|
-
# Corresponds to the JSON property `indexed`
|
1133
|
-
# @return [Boolean]
|
1134
|
-
attr_accessor :indexed
|
1135
|
-
alias_method :indexed?, :indexed
|
1136
|
-
|
1137
|
-
# An integer value.
|
1138
|
-
# Corresponds to the JSON property `integerValue`
|
1139
|
-
# @return [String]
|
1140
|
-
attr_accessor :integer_value
|
1141
|
-
|
1142
|
-
# A unique identifier for an entity.
|
1143
|
-
# Corresponds to the JSON property `keyValue`
|
1144
|
-
# @return [Google::Apis::DatastoreV1beta2::Key]
|
1145
|
-
attr_accessor :key_value
|
1146
|
-
|
1147
|
-
# A list value. Cannot contain another list value. A Value instance that sets
|
1148
|
-
# field list_value must not set field meaning or field indexed.
|
1149
|
-
# Corresponds to the JSON property `listValue`
|
1150
|
-
# @return [Array<Google::Apis::DatastoreV1beta2::Value>]
|
1151
|
-
attr_accessor :list_value
|
1152
|
-
|
1153
|
-
# The meaning field is reserved and should not be used.
|
1154
|
-
# Corresponds to the JSON property `meaning`
|
1155
|
-
# @return [Fixnum]
|
1156
|
-
attr_accessor :meaning
|
1157
|
-
|
1158
|
-
# A UTF-8 encoded string value. When indexed is true, may have at most 500
|
1159
|
-
# characters.
|
1160
|
-
# Corresponds to the JSON property `stringValue`
|
1161
|
-
# @return [String]
|
1162
|
-
attr_accessor :string_value
|
1163
|
-
|
1164
|
-
def initialize(**args)
|
1165
|
-
update!(**args)
|
1166
|
-
end
|
1167
|
-
|
1168
|
-
# Update properties of this object
|
1169
|
-
def update!(**args)
|
1170
|
-
@blob_key_value = args[:blob_key_value] if args.key?(:blob_key_value)
|
1171
|
-
@blob_value = args[:blob_value] if args.key?(:blob_value)
|
1172
|
-
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
1173
|
-
@date_time_value = args[:date_time_value] if args.key?(:date_time_value)
|
1174
|
-
@double_value = args[:double_value] if args.key?(:double_value)
|
1175
|
-
@entity_value = args[:entity_value] if args.key?(:entity_value)
|
1176
|
-
@indexed = args[:indexed] if args.key?(:indexed)
|
1177
|
-
@integer_value = args[:integer_value] if args.key?(:integer_value)
|
1178
|
-
@key_value = args[:key_value] if args.key?(:key_value)
|
1179
|
-
@list_value = args[:list_value] if args.key?(:list_value)
|
1180
|
-
@meaning = args[:meaning] if args.key?(:meaning)
|
1181
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
1182
|
-
end
|
1183
|
-
end
|
1184
|
-
end
|
1185
|
-
end
|
1186
|
-
end
|