google-api-client 0.9.8 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/Gemfile +9 -1
- data/README.md +10 -2
- data/api_names.yaml +63 -110
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +217 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
- data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
- data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- 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 +277 -20
- data/generated/google/apis/bigquery_v2/representations.rb +86 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -2
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +79 -1
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +183 -37
- data/generated/google/apis/classroom_v1/representations.rb +74 -9
- data/generated/google/apis/classroom_v1/service.rb +403 -38
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
- data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2299 -434
- data/generated/google/apis/compute_beta/representations.rb +752 -33
- data/generated/google/apis/compute_beta/service.rb +6067 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1681 -207
- data/generated/google/apis/compute_v1/representations.rb +552 -0
- data/generated/google/apis/compute_v1/service.rb +2797 -1171
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +757 -1
- data/generated/google/apis/content_v2/representations.rb +337 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/dataflow_v1b3.rb +38 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +27 -3
- data/generated/google/apis/drive_v2/representations.rb +4 -0
- data/generated/google/apis/drive_v2/service.rb +16 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +50 -16
- data/generated/google/apis/drive_v3/representations.rb +4 -0
- data/generated/google/apis/drive_v3/service.rb +12 -2
- data/generated/google/apis/fitness_v1.rb +8 -2
- data/generated/google/apis/fitness_v1/classes.rb +64 -6
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +143 -34
- data/generated/google/apis/genomics_v1/representations.rb +48 -11
- data/generated/google/apis/genomics_v1/service.rb +35 -37
- data/generated/google/apis/gmail_v1.rb +10 -1
- data/generated/google/apis/gmail_v1/classes.rb +542 -4
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +181 -206
- data/generated/google/apis/iam_v1/representations.rb +36 -45
- data/generated/google/apis/iam_v1/service.rb +101 -67
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +599 -0
- data/generated/google/apis/language_v1beta1/representations.rb +289 -0
- data/generated/google/apis/language_v1beta1/service.rb +152 -0
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
- data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
- data/generated/google/apis/logging_v2beta1/service.rb +290 -209
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +711 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +10 -9
- data/generated/google/apis/pubsub_v1/service.rb +128 -27
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +910 -89
- data/generated/google/apis/sheets_v4/representations.rb +194 -10
- data/generated/google/apis/sheets_v4/service.rb +216 -49
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
- data/generated/google/apis/speech_v1beta1/service.rb +271 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +43 -18
- data/generated/google/apis/storage_v1/representations.rb +4 -1
- data/generated/google/apis/storage_v1/service.rb +5 -2
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +12 -11
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +183 -21
- data/generated/google/apis/youtube_v3/representations.rb +85 -4
- data/generated/google/apis/youtube_v3/service.rb +41 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/core/base_service.rb +10 -4
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +2 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/sync.rb +71 -0
- metadata +55 -13
@@ -220,6 +220,30 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class QueryParameter
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class QueryParameterType
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
class StructType
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
234
|
+
|
235
|
+
include Google::Apis::Core::JsonObjectSupport
|
236
|
+
end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class QueryParameterValue
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
223
247
|
class QueryRequest
|
224
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
249
|
|
@@ -364,6 +388,7 @@ module Google
|
|
364
388
|
collection :column_families, as: 'columnFamilies', class: Google::Apis::BigqueryV2::BigtableColumnFamily, decorator: Google::Apis::BigqueryV2::BigtableColumnFamily::Representation
|
365
389
|
|
366
390
|
property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies'
|
391
|
+
property :read_rowkey_as_string, as: 'readRowkeyAsString'
|
367
392
|
end
|
368
393
|
end
|
369
394
|
|
@@ -393,6 +418,7 @@ module Google
|
|
393
418
|
property :friendly_name, as: 'friendlyName'
|
394
419
|
property :id, as: 'id'
|
395
420
|
property :kind, as: 'kind'
|
421
|
+
hash :labels, as: 'labels'
|
396
422
|
property :last_modified_time, as: 'lastModifiedTime'
|
397
423
|
property :location, as: 'location'
|
398
424
|
property :self_link, as: 'selfLink'
|
@@ -430,6 +456,7 @@ module Google
|
|
430
456
|
property :friendly_name, as: 'friendlyName'
|
431
457
|
property :id, as: 'id'
|
432
458
|
property :kind, as: 'kind'
|
459
|
+
hash :labels, as: 'labels'
|
433
460
|
end
|
434
461
|
end
|
435
462
|
end
|
@@ -511,6 +538,7 @@ module Google
|
|
511
538
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
512
539
|
|
513
540
|
property :kind, as: 'kind'
|
541
|
+
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
514
542
|
property :page_token, as: 'pageToken'
|
515
543
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
516
544
|
|
@@ -564,6 +592,7 @@ module Google
|
|
564
592
|
property :dry_run, as: 'dryRun'
|
565
593
|
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation
|
566
594
|
|
595
|
+
hash :labels, as: 'labels'
|
567
596
|
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation
|
568
597
|
|
569
598
|
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
|
@@ -604,6 +633,7 @@ module Google
|
|
604
633
|
|
605
634
|
property :schema_inline, as: 'schemaInline'
|
606
635
|
property :schema_inline_format, as: 'schemaInlineFormat'
|
636
|
+
collection :schema_update_options, as: 'schemaUpdateOptions'
|
607
637
|
property :skip_leading_rows, as: 'skipLeadingRows'
|
608
638
|
property :source_format, as: 'sourceFormat'
|
609
639
|
collection :source_uris, as: 'sourceUris'
|
@@ -622,9 +652,14 @@ module Google
|
|
622
652
|
|
623
653
|
property :flatten_results, as: 'flattenResults'
|
624
654
|
property :maximum_billing_tier, as: 'maximumBillingTier'
|
655
|
+
property :maximum_bytes_billed, as: 'maximumBytesBilled'
|
656
|
+
property :parameter_mode, as: 'parameterMode'
|
625
657
|
property :preserve_nulls, as: 'preserveNulls'
|
626
658
|
property :priority, as: 'priority'
|
627
659
|
property :query, as: 'query'
|
660
|
+
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
661
|
+
|
662
|
+
collection :schema_update_options, as: 'schemaUpdateOptions'
|
628
663
|
hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
629
664
|
|
630
665
|
property :use_legacy_sql, as: 'useLegacySql'
|
@@ -709,6 +744,7 @@ module Google
|
|
709
744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
710
745
|
property :billing_tier, as: 'billingTier'
|
711
746
|
property :cache_hit, as: 'cacheHit'
|
747
|
+
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
712
748
|
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
|
713
749
|
|
714
750
|
collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
@@ -717,6 +753,8 @@ module Google
|
|
717
753
|
|
718
754
|
property :total_bytes_billed, as: 'totalBytesBilled'
|
719
755
|
property :total_bytes_processed, as: 'totalBytesProcessed'
|
756
|
+
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
757
|
+
|
720
758
|
end
|
721
759
|
end
|
722
760
|
|
@@ -779,6 +817,49 @@ module Google
|
|
779
817
|
end
|
780
818
|
end
|
781
819
|
|
820
|
+
class QueryParameter
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
property :name, as: 'name'
|
824
|
+
property :parameter_type, as: 'parameterType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
|
825
|
+
|
826
|
+
property :parameter_value, as: 'parameterValue', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
|
827
|
+
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
class QueryParameterType
|
832
|
+
# @private
|
833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
834
|
+
property :array_type, as: 'arrayType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
|
835
|
+
|
836
|
+
collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation
|
837
|
+
|
838
|
+
property :type, as: 'type'
|
839
|
+
end
|
840
|
+
|
841
|
+
class StructType
|
842
|
+
# @private
|
843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
844
|
+
property :description, as: 'description'
|
845
|
+
property :name, as: 'name'
|
846
|
+
property :type, as: 'type', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
|
847
|
+
|
848
|
+
end
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
852
|
+
class QueryParameterValue
|
853
|
+
# @private
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
855
|
+
collection :array_values, as: 'arrayValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
|
856
|
+
|
857
|
+
hash :struct_values, as: 'structValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
|
858
|
+
|
859
|
+
property :value, as: 'value'
|
860
|
+
end
|
861
|
+
end
|
862
|
+
|
782
863
|
class QueryRequest
|
783
864
|
# @private
|
784
865
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -787,8 +868,11 @@ module Google
|
|
787
868
|
property :dry_run, as: 'dryRun'
|
788
869
|
property :kind, as: 'kind'
|
789
870
|
property :max_results, as: 'maxResults'
|
871
|
+
property :parameter_mode, as: 'parameterMode'
|
790
872
|
property :preserve_nulls, as: 'preserveNulls'
|
791
873
|
property :query, as: 'query'
|
874
|
+
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
875
|
+
|
792
876
|
property :timeout_ms, as: 'timeoutMs'
|
793
877
|
property :use_legacy_sql, as: 'useLegacySql'
|
794
878
|
property :use_query_cache, as: 'useQueryCache'
|
@@ -805,6 +889,7 @@ module Google
|
|
805
889
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
806
890
|
|
807
891
|
property :kind, as: 'kind'
|
892
|
+
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
808
893
|
property :page_token, as: 'pageToken'
|
809
894
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
810
895
|
|
@@ -994,6 +1079,7 @@ module Google
|
|
994
1079
|
# @private
|
995
1080
|
class Representation < Google::Apis::Core::JsonRepresentation
|
996
1081
|
property :query, as: 'query'
|
1082
|
+
property :use_legacy_sql, as: 'useLegacySql'
|
997
1083
|
collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
|
998
1084
|
|
999
1085
|
end
|
@@ -177,6 +177,11 @@ module Google
|
|
177
177
|
# Project ID of the datasets to be listed
|
178
178
|
# @param [Boolean] all
|
179
179
|
# Whether to list all datasets, including hidden ones
|
180
|
+
# @param [String] filter
|
181
|
+
# An expression for filtering the results of the request by label. The syntax is
|
182
|
+
# "labels.<name>[:<value>]". Multiple filters can be ANDed together by
|
183
|
+
# connecting with a space. Example: "labels.department:receiving labels.active".
|
184
|
+
# See Filtering datasets using labels for details.
|
180
185
|
# @param [Fixnum] max_results
|
181
186
|
# The maximum number of results to return
|
182
187
|
# @param [String] page_token
|
@@ -202,12 +207,13 @@ module Google
|
|
202
207
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
203
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
204
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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)
|
210
|
+
def list_datasets(project_id, all: nil, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
206
211
|
command = make_simple_command(:get, 'projects/{projectId}/datasets', options)
|
207
212
|
command.response_representation = Google::Apis::BigqueryV2::DatasetList::Representation
|
208
213
|
command.response_class = Google::Apis::BigqueryV2::DatasetList
|
209
214
|
command.params['projectId'] = project_id unless project_id.nil?
|
210
215
|
command.query['all'] = all unless all.nil?
|
216
|
+
command.query['filter'] = filter unless filter.nil?
|
211
217
|
command.query['maxResults'] = max_results unless max_results.nil?
|
212
218
|
command.query['pageToken'] = page_token unless page_token.nil?
|
213
219
|
command.query['fields'] = fields unless fields.nil?
|
@@ -332,7 +338,7 @@ module Google
|
|
332
338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
333
339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
334
340
|
def cancel_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
335
|
-
command = make_simple_command(:post, '
|
341
|
+
command = make_simple_command(:post, 'projects/{projectId}/jobs/{jobId}/cancel', options)
|
336
342
|
command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation
|
337
343
|
command.response_class = Google::Apis::BigqueryV2::CancelJobResponse
|
338
344
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Books API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Searches for books and manages your Google Books library.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/books/docs/v1/getting_started
|
26
26
|
module BooksV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161005'
|
29
29
|
|
30
30
|
# Manage your books
|
31
31
|
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
@@ -2413,7 +2413,8 @@ module Google
|
|
2413
2413
|
# @return [String]
|
2414
2414
|
attr_accessor :kind
|
2415
2415
|
|
2416
|
-
#
|
2416
|
+
# Series info list. The client always expects this element in the JSON output,
|
2417
|
+
# hence declared here as OutputAlways.
|
2417
2418
|
# Corresponds to the JSON property `series`
|
2418
2419
|
# @return [Array<Google::Apis::BooksV1::Series::Series>]
|
2419
2420
|
attr_accessor :series
|
@@ -2568,6 +2569,11 @@ module Google
|
|
2568
2569
|
# @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors]
|
2569
2570
|
attr_accessor :more_from_authors
|
2570
2571
|
|
2572
|
+
#
|
2573
|
+
# Corresponds to the JSON property `moreFromSeries`
|
2574
|
+
# @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries]
|
2575
|
+
attr_accessor :more_from_series
|
2576
|
+
|
2571
2577
|
def initialize(**args)
|
2572
2578
|
update!(**args)
|
2573
2579
|
end
|
@@ -2575,6 +2581,7 @@ module Google
|
|
2575
2581
|
# Update properties of this object
|
2576
2582
|
def update!(**args)
|
2577
2583
|
@more_from_authors = args[:more_from_authors] if args.key?(:more_from_authors)
|
2584
|
+
@more_from_series = args[:more_from_series] if args.key?(:more_from_series)
|
2578
2585
|
end
|
2579
2586
|
|
2580
2587
|
#
|
@@ -2595,6 +2602,25 @@ module Google
|
|
2595
2602
|
@opted_state = args[:opted_state] if args.key?(:opted_state)
|
2596
2603
|
end
|
2597
2604
|
end
|
2605
|
+
|
2606
|
+
#
|
2607
|
+
class MoreFromSeries
|
2608
|
+
include Google::Apis::Core::Hashable
|
2609
|
+
|
2610
|
+
#
|
2611
|
+
# Corresponds to the JSON property `opted_state`
|
2612
|
+
# @return [String]
|
2613
|
+
attr_accessor :opted_state
|
2614
|
+
|
2615
|
+
def initialize(**args)
|
2616
|
+
update!(**args)
|
2617
|
+
end
|
2618
|
+
|
2619
|
+
# Update properties of this object
|
2620
|
+
def update!(**args)
|
2621
|
+
@opted_state = args[:opted_state] if args.key?(:opted_state)
|
2622
|
+
end
|
2623
|
+
end
|
2598
2624
|
end
|
2599
2625
|
end
|
2600
2626
|
|
@@ -3032,6 +3058,12 @@ module Google
|
|
3032
3058
|
# @return [Fixnum]
|
3033
3059
|
attr_accessor :finsky_offer_type
|
3034
3060
|
|
3061
|
+
# Indicates whether the offer is giftable.
|
3062
|
+
# Corresponds to the JSON property `giftable`
|
3063
|
+
# @return [Boolean]
|
3064
|
+
attr_accessor :giftable
|
3065
|
+
alias_method :giftable?, :giftable
|
3066
|
+
|
3035
3067
|
# Offer list (=undiscounted) price in Micros.
|
3036
3068
|
# Corresponds to the JSON property `listPrice`
|
3037
3069
|
# @return [Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice]
|
@@ -3054,6 +3086,7 @@ module Google
|
|
3054
3086
|
# Update properties of this object
|
3055
3087
|
def update!(**args)
|
3056
3088
|
@finsky_offer_type = args[:finsky_offer_type] if args.key?(:finsky_offer_type)
|
3089
|
+
@giftable = args[:giftable] if args.key?(:giftable)
|
3057
3090
|
@list_price = args[:list_price] if args.key?(:list_price)
|
3058
3091
|
@rental_duration = args[:rental_duration] if args.key?(:rental_duration)
|
3059
3092
|
@retail_price = args[:retail_price] if args.key?(:retail_price)
|
@@ -3529,6 +3562,11 @@ module Google
|
|
3529
3562
|
# @return [Fixnum]
|
3530
3563
|
attr_accessor :page_count
|
3531
3564
|
|
3565
|
+
# A top-level summary of the panelization info in this volume.
|
3566
|
+
# Corresponds to the JSON property `panelizationSummary`
|
3567
|
+
# @return [Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary]
|
3568
|
+
attr_accessor :panelization_summary
|
3569
|
+
|
3532
3570
|
# URL to preview this volume on the Google Books site.
|
3533
3571
|
# Corresponds to the JSON property `previewLink`
|
3534
3572
|
# @return [String]
|
@@ -3605,6 +3643,7 @@ module Google
|
|
3605
3643
|
@main_category = args[:main_category] if args.key?(:main_category)
|
3606
3644
|
@maturity_rating = args[:maturity_rating] if args.key?(:maturity_rating)
|
3607
3645
|
@page_count = args[:page_count] if args.key?(:page_count)
|
3646
|
+
@panelization_summary = args[:panelization_summary] if args.key?(:panelization_summary)
|
3608
3647
|
@preview_link = args[:preview_link] if args.key?(:preview_link)
|
3609
3648
|
@print_type = args[:print_type] if args.key?(:print_type)
|
3610
3649
|
@printed_page_count = args[:printed_page_count] if args.key?(:printed_page_count)
|
@@ -3723,6 +3762,45 @@ module Google
|
|
3723
3762
|
@type = args[:type] if args.key?(:type)
|
3724
3763
|
end
|
3725
3764
|
end
|
3765
|
+
|
3766
|
+
# A top-level summary of the panelization info in this volume.
|
3767
|
+
class PanelizationSummary
|
3768
|
+
include Google::Apis::Core::Hashable
|
3769
|
+
|
3770
|
+
#
|
3771
|
+
# Corresponds to the JSON property `containsEpubBubbles`
|
3772
|
+
# @return [Boolean]
|
3773
|
+
attr_accessor :contains_epub_bubbles
|
3774
|
+
alias_method :contains_epub_bubbles?, :contains_epub_bubbles
|
3775
|
+
|
3776
|
+
#
|
3777
|
+
# Corresponds to the JSON property `containsImageBubbles`
|
3778
|
+
# @return [Boolean]
|
3779
|
+
attr_accessor :contains_image_bubbles
|
3780
|
+
alias_method :contains_image_bubbles?, :contains_image_bubbles
|
3781
|
+
|
3782
|
+
#
|
3783
|
+
# Corresponds to the JSON property `epubBubbleVersion`
|
3784
|
+
# @return [String]
|
3785
|
+
attr_accessor :epub_bubble_version
|
3786
|
+
|
3787
|
+
#
|
3788
|
+
# Corresponds to the JSON property `imageBubbleVersion`
|
3789
|
+
# @return [String]
|
3790
|
+
attr_accessor :image_bubble_version
|
3791
|
+
|
3792
|
+
def initialize(**args)
|
3793
|
+
update!(**args)
|
3794
|
+
end
|
3795
|
+
|
3796
|
+
# Update properties of this object
|
3797
|
+
def update!(**args)
|
3798
|
+
@contains_epub_bubbles = args[:contains_epub_bubbles] if args.key?(:contains_epub_bubbles)
|
3799
|
+
@contains_image_bubbles = args[:contains_image_bubbles] if args.key?(:contains_image_bubbles)
|
3800
|
+
@epub_bubble_version = args[:epub_bubble_version] if args.key?(:epub_bubble_version)
|
3801
|
+
@image_bubble_version = args[:image_bubble_version] if args.key?(:image_bubble_version)
|
3802
|
+
end
|
3803
|
+
end
|
3726
3804
|
end
|
3727
3805
|
end
|
3728
3806
|
|
@@ -417,6 +417,12 @@ module Google
|
|
417
417
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
|
+
|
421
|
+
class MoreFromSeries
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
420
426
|
|
421
427
|
include Google::Apis::Core::JsonObjectSupport
|
422
428
|
end
|
@@ -561,6 +567,12 @@ module Google
|
|
561
567
|
|
562
568
|
include Google::Apis::Core::JsonObjectSupport
|
563
569
|
end
|
570
|
+
|
571
|
+
class PanelizationSummary
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
564
576
|
|
565
577
|
include Google::Apis::Core::JsonObjectSupport
|
566
578
|
end
|
@@ -1353,6 +1365,8 @@ module Google
|
|
1353
1365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1354
1366
|
property :more_from_authors, as: 'moreFromAuthors', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors::Representation
|
1355
1367
|
|
1368
|
+
property :more_from_series, as: 'moreFromSeries', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries::Representation
|
1369
|
+
|
1356
1370
|
end
|
1357
1371
|
|
1358
1372
|
class MoreFromAuthors
|
@@ -1361,6 +1375,13 @@ module Google
|
|
1361
1375
|
property :opted_state, as: 'opted_state'
|
1362
1376
|
end
|
1363
1377
|
end
|
1378
|
+
|
1379
|
+
class MoreFromSeries
|
1380
|
+
# @private
|
1381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1382
|
+
property :opted_state, as: 'opted_state'
|
1383
|
+
end
|
1384
|
+
end
|
1364
1385
|
end
|
1365
1386
|
end
|
1366
1387
|
|
@@ -1480,6 +1501,7 @@ module Google
|
|
1480
1501
|
# @private
|
1481
1502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1482
1503
|
property :finsky_offer_type, as: 'finskyOfferType'
|
1504
|
+
property :giftable, as: 'giftable'
|
1483
1505
|
property :list_price, as: 'listPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice::Representation
|
1484
1506
|
|
1485
1507
|
property :rental_duration, as: 'rentalDuration', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration::Representation
|
@@ -1618,6 +1640,8 @@ module Google
|
|
1618
1640
|
property :main_category, as: 'mainCategory'
|
1619
1641
|
property :maturity_rating, as: 'maturityRating'
|
1620
1642
|
property :page_count, as: 'pageCount'
|
1643
|
+
property :panelization_summary, as: 'panelizationSummary', class: Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary::Representation
|
1644
|
+
|
1621
1645
|
property :preview_link, as: 'previewLink'
|
1622
1646
|
property :print_type, as: 'printType'
|
1623
1647
|
property :printed_page_count, as: 'printedPageCount'
|
@@ -1660,6 +1684,16 @@ module Google
|
|
1660
1684
|
property :type, as: 'type'
|
1661
1685
|
end
|
1662
1686
|
end
|
1687
|
+
|
1688
|
+
class PanelizationSummary
|
1689
|
+
# @private
|
1690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1691
|
+
property :contains_epub_bubbles, as: 'containsEpubBubbles'
|
1692
|
+
property :contains_image_bubbles, as: 'containsImageBubbles'
|
1693
|
+
property :epub_bubble_version, as: 'epubBubbleVersion'
|
1694
|
+
property :image_bubble_version, as: 'imageBubbleVersion'
|
1695
|
+
end
|
1696
|
+
end
|
1663
1697
|
end
|
1664
1698
|
end
|
1665
1699
|
|