google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -50,6 +50,14 @@ module Google
|
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
end
|
52
52
|
|
53
|
+
class ExplainQueryStage
|
54
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
55
|
+
end
|
56
|
+
|
57
|
+
class ExplainQueryStep
|
58
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
59
|
+
end
|
60
|
+
|
53
61
|
class ExternalDataConfiguration
|
54
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
55
63
|
end
|
@@ -142,6 +150,10 @@ module Google
|
|
142
150
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
143
151
|
end
|
144
152
|
|
153
|
+
class Streamingbuffer
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
155
|
+
end
|
156
|
+
|
145
157
|
class Table
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
159
|
end
|
@@ -287,6 +299,34 @@ module Google
|
|
287
299
|
end
|
288
300
|
end
|
289
301
|
|
302
|
+
class ExplainQueryStage
|
303
|
+
# @private
|
304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :compute_ratio_avg, as: 'computeRatioAvg'
|
306
|
+
property :compute_ratio_max, as: 'computeRatioMax'
|
307
|
+
property :id, as: 'id'
|
308
|
+
property :name, as: 'name'
|
309
|
+
property :read_ratio_avg, as: 'readRatioAvg'
|
310
|
+
property :read_ratio_max, as: 'readRatioMax'
|
311
|
+
property :records_read, as: 'recordsRead'
|
312
|
+
property :records_written, as: 'recordsWritten'
|
313
|
+
collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation
|
314
|
+
|
315
|
+
property :wait_ratio_avg, as: 'waitRatioAvg'
|
316
|
+
property :wait_ratio_max, as: 'waitRatioMax'
|
317
|
+
property :write_ratio_avg, as: 'writeRatioAvg'
|
318
|
+
property :write_ratio_max, as: 'writeRatioMax'
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class ExplainQueryStep
|
323
|
+
# @private
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
325
|
+
property :kind, as: 'kind'
|
326
|
+
collection :substeps, as: 'substeps'
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
290
330
|
class ExternalDataConfiguration
|
291
331
|
# @private
|
292
332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -306,6 +346,8 @@ module Google
|
|
306
346
|
# @private
|
307
347
|
class Representation < Google::Apis::Core::JsonRepresentation
|
308
348
|
property :cache_hit, as: 'cacheHit'
|
349
|
+
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
350
|
+
|
309
351
|
property :etag, as: 'etag'
|
310
352
|
property :job_complete, as: 'jobComplete'
|
311
353
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
@@ -510,7 +552,11 @@ module Google
|
|
510
552
|
class JobStatistics2
|
511
553
|
# @private
|
512
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :billing_tier, as: 'billingTier'
|
513
556
|
property :cache_hit, as: 'cacheHit'
|
557
|
+
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
|
558
|
+
|
559
|
+
property :total_bytes_billed, as: 'totalBytesBilled'
|
514
560
|
property :total_bytes_processed, as: 'totalBytesProcessed'
|
515
561
|
end
|
516
562
|
end
|
@@ -593,6 +639,8 @@ module Google
|
|
593
639
|
# @private
|
594
640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
595
641
|
property :cache_hit, as: 'cacheHit'
|
642
|
+
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
643
|
+
|
596
644
|
property :job_complete, as: 'jobComplete'
|
597
645
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
598
646
|
|
@@ -607,6 +655,15 @@ module Google
|
|
607
655
|
end
|
608
656
|
end
|
609
657
|
|
658
|
+
class Streamingbuffer
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :estimated_bytes, as: 'estimatedBytes'
|
662
|
+
property :estimated_rows, as: 'estimatedRows'
|
663
|
+
property :oldest_entry_time, as: 'oldestEntryTime'
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
610
667
|
class Table
|
611
668
|
# @private
|
612
669
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -626,6 +683,8 @@ module Google
|
|
626
683
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
627
684
|
|
628
685
|
property :self_link, as: 'selfLink'
|
686
|
+
property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation
|
687
|
+
|
629
688
|
property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
630
689
|
|
631
690
|
property :type, as: 'type'
|
@@ -649,6 +708,7 @@ module Google
|
|
649
708
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row, decorator: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row::Representation
|
650
709
|
|
651
710
|
property :skip_invalid_rows, as: 'skipInvalidRows'
|
711
|
+
property :template_suffix, as: 'templateSuffix'
|
652
712
|
end
|
653
713
|
|
654
714
|
class Row
|
@@ -763,6 +823,8 @@ module Google
|
|
763
823
|
# @private
|
764
824
|
class Representation < Google::Apis::Core::JsonRepresentation
|
765
825
|
property :query, as: 'query'
|
826
|
+
collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
|
827
|
+
|
766
828
|
end
|
767
829
|
end
|
768
830
|
end
|
@@ -85,8 +85,7 @@ module Google
|
|
85
85
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
86
86
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
87
87
|
def delete_dataset(project_id, dataset_id, delete_contents: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
88
|
-
|
89
|
-
command = make_simple_command(:delete, path, options)
|
88
|
+
command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}', options)
|
90
89
|
command.params['projectId'] = project_id unless project_id.nil?
|
91
90
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
92
91
|
command.query['deleteContents'] = delete_contents unless delete_contents.nil?
|
@@ -123,8 +122,7 @@ module Google
|
|
123
122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
124
123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
125
124
|
def get_dataset(project_id, dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
126
|
-
|
127
|
-
command = make_simple_command(:get, path, options)
|
125
|
+
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}', options)
|
128
126
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
129
127
|
command.response_class = Google::Apis::BigqueryV2::Dataset
|
130
128
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -161,8 +159,7 @@ module Google
|
|
161
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
161
|
def insert_dataset(project_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
164
|
-
|
165
|
-
command = make_simple_command(:post, path, options)
|
162
|
+
command = make_simple_command(:post, 'projects/{projectId}/datasets', options)
|
166
163
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
167
164
|
command.request_object = dataset_object
|
168
165
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
@@ -206,8 +203,7 @@ module Google
|
|
206
203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
207
204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
208
205
|
def list_datasets(project_id, all: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
209
|
-
|
210
|
-
command = make_simple_command(:get, path, options)
|
206
|
+
command = make_simple_command(:get, 'projects/{projectId}/datasets', options)
|
211
207
|
command.response_representation = Google::Apis::BigqueryV2::DatasetList::Representation
|
212
208
|
command.response_class = Google::Apis::BigqueryV2::DatasetList
|
213
209
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -251,8 +247,7 @@ module Google
|
|
251
247
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
252
248
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
253
249
|
def patch_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
254
|
-
|
255
|
-
command = make_simple_command(:patch, path, options)
|
250
|
+
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}', options)
|
256
251
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
257
252
|
command.request_object = dataset_object
|
258
253
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
@@ -295,8 +290,7 @@ module Google
|
|
295
290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
296
291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
297
292
|
def update_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
298
|
-
|
299
|
-
command = make_simple_command(:put, path, options)
|
293
|
+
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}', options)
|
300
294
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
301
295
|
command.request_object = dataset_object
|
302
296
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
@@ -311,7 +305,7 @@ module Google
|
|
311
305
|
|
312
306
|
# Requests that a job be cancelled. This call will return immediately, and the
|
313
307
|
# client will need to poll for the job status to see if the cancel completed
|
314
|
-
# successfully.
|
308
|
+
# successfully. Cancelled jobs may still incur costs.
|
315
309
|
# @param [String] project_id
|
316
310
|
# Project ID of the job to cancel
|
317
311
|
# @param [String] job_id
|
@@ -338,8 +332,7 @@ module Google
|
|
338
332
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
339
333
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
340
334
|
def cancel_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
341
|
-
|
342
|
-
command = make_simple_command(:post, path, options)
|
335
|
+
command = make_simple_command(:post, 'project/{projectId}/jobs/{jobId}/cancel', options)
|
343
336
|
command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation
|
344
337
|
command.response_class = Google::Apis::BigqueryV2::CancelJobResponse
|
345
338
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -379,8 +372,7 @@ module Google
|
|
379
372
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
380
373
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
381
374
|
def get_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
382
|
-
|
383
|
-
command = make_simple_command(:get, path, options)
|
375
|
+
command = make_simple_command(:get, 'projects/{projectId}/jobs/{jobId}', options)
|
384
376
|
command.response_representation = Google::Apis::BigqueryV2::Job::Representation
|
385
377
|
command.response_class = Google::Apis::BigqueryV2::Job
|
386
378
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -428,8 +420,7 @@ module Google
|
|
428
420
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
429
421
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
430
422
|
def get_job_query_results(project_id, job_id, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
431
|
-
|
432
|
-
command = make_simple_command(:get, path, options)
|
423
|
+
command = make_simple_command(:get, 'projects/{projectId}/queries/{jobId}', options)
|
433
424
|
command.response_representation = Google::Apis::BigqueryV2::GetQueryResultsResponse::Representation
|
434
425
|
command.response_class = Google::Apis::BigqueryV2::GetQueryResultsResponse
|
435
426
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -474,11 +465,10 @@ module Google
|
|
474
465
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
475
466
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
476
467
|
def insert_job(project_id, job_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
477
|
-
path = 'projects/{projectId}/jobs'
|
478
468
|
if upload_source.nil?
|
479
|
-
command = make_simple_command(:post,
|
469
|
+
command = make_simple_command(:post, 'projects/{projectId}/jobs', options)
|
480
470
|
else
|
481
|
-
command = make_upload_command(:post,
|
471
|
+
command = make_upload_command(:post, 'projects/{projectId}/jobs', options)
|
482
472
|
command.upload_source = upload_source
|
483
473
|
command.upload_content_type = content_type
|
484
474
|
end
|
@@ -531,8 +521,7 @@ module Google
|
|
531
521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
532
522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
533
523
|
def list_jobs(project_id, all_users: nil, max_results: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
534
|
-
|
535
|
-
command = make_simple_command(:get, path, options)
|
524
|
+
command = make_simple_command(:get, 'projects/{projectId}/jobs', options)
|
536
525
|
command.response_representation = Google::Apis::BigqueryV2::JobList::Representation
|
537
526
|
command.response_class = Google::Apis::BigqueryV2::JobList
|
538
527
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -573,9 +562,8 @@ module Google
|
|
573
562
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
574
563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
575
564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
576
|
-
def
|
577
|
-
|
578
|
-
command = make_simple_command(:post, path, options)
|
565
|
+
def query_job(project_id, query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
566
|
+
command = make_simple_command(:post, 'projects/{projectId}/queries', options)
|
579
567
|
command.request_representation = Google::Apis::BigqueryV2::QueryRequest::Representation
|
580
568
|
command.request_object = query_request_object
|
581
569
|
command.response_representation = Google::Apis::BigqueryV2::QueryResponse::Representation
|
@@ -614,8 +602,7 @@ module Google
|
|
614
602
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
615
603
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
616
604
|
def list_projects(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
617
|
-
|
618
|
-
command = make_simple_command(:get, path, options)
|
605
|
+
command = make_simple_command(:get, 'projects', options)
|
619
606
|
command.response_representation = Google::Apis::BigqueryV2::ProjectList::Representation
|
620
607
|
command.response_class = Google::Apis::BigqueryV2::ProjectList
|
621
608
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -657,8 +644,7 @@ module Google
|
|
657
644
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
658
645
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
659
646
|
def insert_all_table_data(project_id, dataset_id, table_id, insert_all_table_data_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
660
|
-
|
661
|
-
command = make_simple_command(:post, path, options)
|
647
|
+
command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', options)
|
662
648
|
command.request_representation = Google::Apis::BigqueryV2::InsertAllTableDataRequest::Representation
|
663
649
|
command.request_object = insert_all_table_data_request_object
|
664
650
|
command.response_representation = Google::Apis::BigqueryV2::InsertAllTableDataResponse::Representation
|
@@ -708,8 +694,7 @@ module Google
|
|
708
694
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
709
695
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
710
696
|
def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
711
|
-
|
712
|
-
command = make_simple_command(:get, path, options)
|
697
|
+
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
|
713
698
|
command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
|
714
699
|
command.response_class = Google::Apis::BigqueryV2::TableDataList
|
715
700
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -754,8 +739,7 @@ module Google
|
|
754
739
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
755
740
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
756
741
|
def delete_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
757
|
-
|
758
|
-
command = make_simple_command(:delete, path, options)
|
742
|
+
command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
759
743
|
command.params['projectId'] = project_id unless project_id.nil?
|
760
744
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
761
745
|
command.params['tableId'] = table_id unless table_id.nil?
|
@@ -796,8 +780,7 @@ module Google
|
|
796
780
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
797
781
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
798
782
|
def get_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
799
|
-
|
800
|
-
command = make_simple_command(:get, path, options)
|
783
|
+
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
801
784
|
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
802
785
|
command.response_class = Google::Apis::BigqueryV2::Table
|
803
786
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -837,8 +820,7 @@ module Google
|
|
837
820
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
838
821
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
839
822
|
def insert_table(project_id, dataset_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
840
|
-
|
841
|
-
command = make_simple_command(:post, path, options)
|
823
|
+
command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables', options)
|
842
824
|
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
|
843
825
|
command.request_object = table_object
|
844
826
|
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
@@ -882,8 +864,7 @@ module Google
|
|
882
864
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
883
865
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
884
866
|
def list_tables(project_id, dataset_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
885
|
-
|
886
|
-
command = make_simple_command(:get, path, options)
|
867
|
+
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables', options)
|
887
868
|
command.response_representation = Google::Apis::BigqueryV2::TableList::Representation
|
888
869
|
command.response_class = Google::Apis::BigqueryV2::TableList
|
889
870
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -928,8 +909,7 @@ module Google
|
|
928
909
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
929
910
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
930
911
|
def patch_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
931
|
-
|
932
|
-
command = make_simple_command(:patch, path, options)
|
912
|
+
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
933
913
|
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
|
934
914
|
command.request_object = table_object
|
935
915
|
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
@@ -975,8 +955,7 @@ module Google
|
|
975
955
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
976
956
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
977
957
|
def update_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
978
|
-
|
979
|
-
command = make_simple_command(:put, path, options)
|
958
|
+
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
980
959
|
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
|
981
960
|
command.request_object = table_object
|
982
961
|
command.response_representation = Google::Apis::BigqueryV2::Table::Representation
|
@@ -82,8 +82,7 @@ module Google
|
|
82
82
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
83
83
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
84
84
|
def get_blog_user_info(user_id, blog_id, max_posts: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
85
|
-
|
86
|
-
command = make_simple_command(:get, path, options)
|
85
|
+
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}', options)
|
87
86
|
command.response_representation = Google::Apis::BloggerV3::BlogUserInfo::Representation
|
88
87
|
command.response_class = Google::Apis::BloggerV3::BlogUserInfo
|
89
88
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -125,8 +124,7 @@ module Google
|
|
125
124
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
126
125
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
127
126
|
def get_blog(blog_id, max_posts: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
128
|
-
|
129
|
-
command = make_simple_command(:get, path, options)
|
127
|
+
command = make_simple_command(:get, 'blogs/{blogId}', options)
|
130
128
|
command.response_representation = Google::Apis::BloggerV3::Blog::Representation
|
131
129
|
command.response_class = Google::Apis::BloggerV3::Blog
|
132
130
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -166,8 +164,7 @@ module Google
|
|
166
164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
167
165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
168
166
|
def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
169
|
-
|
170
|
-
command = make_simple_command(:get, path, options)
|
167
|
+
command = make_simple_command(:get, 'blogs/byurl', options)
|
171
168
|
command.response_representation = Google::Apis::BloggerV3::Blog::Representation
|
172
169
|
command.response_class = Google::Apis::BloggerV3::Blog
|
173
170
|
command.query['url'] = url unless url.nil?
|
@@ -217,8 +214,7 @@ module Google
|
|
217
214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
216
|
def list_blogs_by_user(user_id, fetch_user_info: nil, role: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
220
|
-
|
221
|
-
command = make_simple_command(:get, path, options)
|
217
|
+
command = make_simple_command(:get, 'users/{userId}/blogs', options)
|
222
218
|
command.response_representation = Google::Apis::BloggerV3::BlogList::Representation
|
223
219
|
command.response_class = Google::Apis::BloggerV3::BlogList
|
224
220
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -261,8 +257,7 @@ module Google
|
|
261
257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
259
|
def approve_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
264
|
-
|
265
|
-
command = make_simple_command(:post, path, options)
|
260
|
+
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', options)
|
266
261
|
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
|
267
262
|
command.response_class = Google::Apis::BloggerV3::Comment
|
268
263
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -303,8 +298,7 @@ module Google
|
|
303
298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
304
299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
305
300
|
def delete_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
306
|
-
|
307
|
-
command = make_simple_command(:delete, path, options)
|
301
|
+
command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
|
308
302
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
309
303
|
command.params['postId'] = post_id unless post_id.nil?
|
310
304
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
@@ -348,8 +342,7 @@ module Google
|
|
348
342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
349
343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
350
344
|
def get_comment(blog_id, post_id, comment_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
351
|
-
|
352
|
-
command = make_simple_command(:get, path, options)
|
345
|
+
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
|
353
346
|
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
|
354
347
|
command.response_class = Google::Apis::BloggerV3::Comment
|
355
348
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -403,8 +396,7 @@ module Google
|
|
403
396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
404
397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
405
398
|
def list_comments(blog_id, post_id, end_date: nil, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
406
|
-
|
407
|
-
command = make_simple_command(:get, path, options)
|
399
|
+
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
|
408
400
|
command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
|
409
401
|
command.response_class = Google::Apis::BloggerV3::CommentList
|
410
402
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -458,8 +450,7 @@ module Google
|
|
458
450
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
459
451
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
460
452
|
def list_comments_by_blog(blog_id, end_date: nil, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
461
|
-
|
462
|
-
command = make_simple_command(:get, path, options)
|
453
|
+
command = make_simple_command(:get, 'blogs/{blogId}/comments', options)
|
463
454
|
command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
|
464
455
|
command.response_class = Google::Apis::BloggerV3::CommentList
|
465
456
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -504,8 +495,7 @@ module Google
|
|
504
495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
505
496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
506
497
|
def mark_comment_as_spam(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
507
|
-
|
508
|
-
command = make_simple_command(:post, path, options)
|
498
|
+
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', options)
|
509
499
|
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
|
510
500
|
command.response_class = Google::Apis::BloggerV3::Comment
|
511
501
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -546,8 +536,7 @@ module Google
|
|
546
536
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
547
537
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
548
538
|
def remove_comment_content(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
549
|
-
|
550
|
-
command = make_simple_command(:post, path, options)
|
539
|
+
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', options)
|
551
540
|
command.response_representation = Google::Apis::BloggerV3::Comment::Representation
|
552
541
|
command.response_class = Google::Apis::BloggerV3::Comment
|
553
542
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -585,8 +574,7 @@ module Google
|
|
585
574
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
586
575
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
587
576
|
def get_page_view(blog_id, range: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
588
|
-
|
589
|
-
command = make_simple_command(:get, path, options)
|
577
|
+
command = make_simple_command(:get, 'blogs/{blogId}/pageviews', options)
|
590
578
|
command.response_representation = Google::Apis::BloggerV3::Pageviews::Representation
|
591
579
|
command.response_class = Google::Apis::BloggerV3::Pageviews
|
592
580
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -624,8 +612,7 @@ module Google
|
|
624
612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
625
613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
626
614
|
def delete_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
627
|
-
|
628
|
-
command = make_simple_command(:delete, path, options)
|
615
|
+
command = make_simple_command(:delete, 'blogs/{blogId}/pages/{pageId}', options)
|
629
616
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
630
617
|
command.params['pageId'] = page_id unless page_id.nil?
|
631
618
|
command.query['fields'] = fields unless fields.nil?
|
@@ -662,8 +649,7 @@ module Google
|
|
662
649
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
663
650
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
664
651
|
def get_page(blog_id, page_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
665
|
-
|
666
|
-
command = make_simple_command(:get, path, options)
|
652
|
+
command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
|
667
653
|
command.response_representation = Google::Apis::BloggerV3::Page::Representation
|
668
654
|
command.response_class = Google::Apis::BloggerV3::Page
|
669
655
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -703,8 +689,7 @@ module Google
|
|
703
689
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
704
690
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
705
691
|
def insert_page(blog_id, page_object = nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
706
|
-
|
707
|
-
command = make_simple_command(:post, path, options)
|
692
|
+
command = make_simple_command(:post, 'blogs/{blogId}/pages', options)
|
708
693
|
command.request_representation = Google::Apis::BloggerV3::Page::Representation
|
709
694
|
command.request_object = page_object
|
710
695
|
command.response_representation = Google::Apis::BloggerV3::Page::Representation
|
@@ -752,8 +737,7 @@ module Google
|
|
752
737
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
738
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
739
|
def list_pages(blog_id, fetch_bodies: nil, max_results: nil, page_token: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
755
|
-
|
756
|
-
command = make_simple_command(:get, path, options)
|
740
|
+
command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
|
757
741
|
command.response_representation = Google::Apis::BloggerV3::PageList::Representation
|
758
742
|
command.response_class = Google::Apis::BloggerV3::PageList
|
759
743
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -802,8 +786,7 @@ module Google
|
|
802
786
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
787
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
788
|
def patch_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
805
|
-
|
806
|
-
command = make_simple_command(:patch, path, options)
|
789
|
+
command = make_simple_command(:patch, 'blogs/{blogId}/pages/{pageId}', options)
|
807
790
|
command.request_representation = Google::Apis::BloggerV3::Page::Representation
|
808
791
|
command.request_object = page_object
|
809
792
|
command.response_representation = Google::Apis::BloggerV3::Page::Representation
|
@@ -845,8 +828,7 @@ module Google
|
|
845
828
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
846
829
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
847
830
|
def publish_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
848
|
-
|
849
|
-
command = make_simple_command(:post, path, options)
|
831
|
+
command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/publish', options)
|
850
832
|
command.response_representation = Google::Apis::BloggerV3::Page::Representation
|
851
833
|
command.response_class = Google::Apis::BloggerV3::Page
|
852
834
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -884,8 +866,7 @@ module Google
|
|
884
866
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
885
867
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
886
868
|
def revert_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
887
|
-
|
888
|
-
command = make_simple_command(:post, path, options)
|
869
|
+
command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/revert', options)
|
889
870
|
command.response_representation = Google::Apis::BloggerV3::Page::Representation
|
890
871
|
command.response_class = Google::Apis::BloggerV3::Page
|
891
872
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -930,8 +911,7 @@ module Google
|
|
930
911
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
931
912
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
932
913
|
def update_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
933
|
-
|
934
|
-
command = make_simple_command(:put, path, options)
|
914
|
+
command = make_simple_command(:put, 'blogs/{blogId}/pages/{pageId}', options)
|
935
915
|
command.request_representation = Google::Apis::BloggerV3::Page::Representation
|
936
916
|
command.request_object = page_object
|
937
917
|
command.response_representation = Google::Apis::BloggerV3::Page::Representation
|
@@ -980,8 +960,7 @@ module Google
|
|
980
960
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
981
961
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
982
962
|
def get_post_user_info(user_id, blog_id, post_id, max_comments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
983
|
-
|
984
|
-
command = make_simple_command(:get, path, options)
|
963
|
+
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts/{postId}', options)
|
985
964
|
command.response_representation = Google::Apis::BloggerV3::PostUserInfo::Representation
|
986
965
|
command.response_class = Google::Apis::BloggerV3::PostUserInfo
|
987
966
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -1042,8 +1021,7 @@ module Google
|
|
1042
1021
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1043
1022
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1044
1023
|
def list_post_user_info(user_id, blog_id, end_date: nil, fetch_bodies: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1045
|
-
|
1046
|
-
command = make_simple_command(:get, path, options)
|
1024
|
+
command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts', options)
|
1047
1025
|
command.response_representation = Google::Apis::BloggerV3::PostUserInfosList::Representation
|
1048
1026
|
command.response_class = Google::Apis::BloggerV3::PostUserInfosList
|
1049
1027
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -1090,8 +1068,7 @@ module Google
|
|
1090
1068
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1091
1069
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1092
1070
|
def delete_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1093
|
-
|
1094
|
-
command = make_simple_command(:delete, path, options)
|
1071
|
+
command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}', options)
|
1095
1072
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
1096
1073
|
command.params['postId'] = post_id unless post_id.nil?
|
1097
1074
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1138,8 +1115,7 @@ module Google
|
|
1138
1115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1139
1116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1140
1117
|
def get_post(blog_id, post_id, fetch_body: nil, fetch_images: nil, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1141
|
-
|
1142
|
-
command = make_simple_command(:get, path, options)
|
1118
|
+
command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
|
1143
1119
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
1144
1120
|
command.response_class = Google::Apis::BloggerV3::Post
|
1145
1121
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -1186,8 +1162,7 @@ module Google
|
|
1186
1162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
1163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
1164
|
def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1189
|
-
|
1190
|
-
command = make_simple_command(:get, path, options)
|
1165
|
+
command = make_simple_command(:get, 'blogs/{blogId}/posts/bypath', options)
|
1191
1166
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
1192
1167
|
command.response_class = Google::Apis::BloggerV3::Post
|
1193
1168
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -1234,8 +1209,7 @@ module Google
|
|
1234
1209
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1235
1210
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1236
1211
|
def insert_post(blog_id, post_object = nil, fetch_body: nil, fetch_images: nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1237
|
-
|
1238
|
-
command = make_simple_command(:post, path, options)
|
1212
|
+
command = make_simple_command(:post, 'blogs/{blogId}/posts', options)
|
1239
1213
|
command.request_representation = Google::Apis::BloggerV3::Post::Representation
|
1240
1214
|
command.request_object = post_object
|
1241
1215
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
@@ -1297,8 +1271,7 @@ module Google
|
|
1297
1271
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1298
1272
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1299
1273
|
def list_posts(blog_id, end_date: nil, fetch_bodies: nil, fetch_images: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1300
|
-
|
1301
|
-
command = make_simple_command(:get, path, options)
|
1274
|
+
command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
|
1302
1275
|
command.response_representation = Google::Apis::BloggerV3::PostList::Representation
|
1303
1276
|
command.response_class = Google::Apis::BloggerV3::PostList
|
1304
1277
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -1360,8 +1333,7 @@ module Google
|
|
1360
1333
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1361
1334
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1362
1335
|
def patch_post(blog_id, post_id, post_object = nil, fetch_body: nil, fetch_images: nil, max_comments: nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1363
|
-
|
1364
|
-
command = make_simple_command(:patch, path, options)
|
1336
|
+
command = make_simple_command(:patch, 'blogs/{blogId}/posts/{postId}', options)
|
1365
1337
|
command.request_representation = Google::Apis::BloggerV3::Post::Representation
|
1366
1338
|
command.request_object = post_object
|
1367
1339
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
@@ -1412,8 +1384,7 @@ module Google
|
|
1412
1384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1413
1385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1414
1386
|
def publish_post(blog_id, post_id, publish_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1415
|
-
|
1416
|
-
command = make_simple_command(:post, path, options)
|
1387
|
+
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/publish', options)
|
1417
1388
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
1418
1389
|
command.response_class = Google::Apis::BloggerV3::Post
|
1419
1390
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -1452,8 +1423,7 @@ module Google
|
|
1452
1423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1453
1424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1454
1425
|
def revert_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1455
|
-
|
1456
|
-
command = make_simple_command(:post, path, options)
|
1426
|
+
command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/revert', options)
|
1457
1427
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
1458
1428
|
command.response_class = Google::Apis::BloggerV3::Post
|
1459
1429
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -1496,8 +1466,7 @@ module Google
|
|
1496
1466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1497
1467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1498
1468
|
def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1499
|
-
|
1500
|
-
command = make_simple_command(:get, path, options)
|
1469
|
+
command = make_simple_command(:get, 'blogs/{blogId}/posts/search', options)
|
1501
1470
|
command.response_representation = Google::Apis::BloggerV3::PostList::Representation
|
1502
1471
|
command.response_class = Google::Apis::BloggerV3::PostList
|
1503
1472
|
command.params['blogId'] = blog_id unless blog_id.nil?
|
@@ -1552,8 +1521,7 @@ module Google
|
|
1552
1521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1553
1522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1554
1523
|
def update_post(blog_id, post_id, post_object = nil, fetch_body: nil, fetch_images: nil, max_comments: nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1555
|
-
|
1556
|
-
command = make_simple_command(:put, path, options)
|
1524
|
+
command = make_simple_command(:put, 'blogs/{blogId}/posts/{postId}', options)
|
1557
1525
|
command.request_representation = Google::Apis::BloggerV3::Post::Representation
|
1558
1526
|
command.request_object = post_object
|
1559
1527
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
@@ -1596,8 +1564,7 @@ module Google
|
|
1596
1564
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1597
1565
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1598
1566
|
def get_user(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1599
|
-
|
1600
|
-
command = make_simple_command(:get, path, options)
|
1567
|
+
command = make_simple_command(:get, 'users/{userId}', options)
|
1601
1568
|
command.response_representation = Google::Apis::BloggerV3::User::Representation
|
1602
1569
|
command.response_class = Google::Apis::BloggerV3::User
|
1603
1570
|
command.params['userId'] = user_id unless user_id.nil?
|