google-api-client 0.9.12 → 0.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +9 -1
- data/api_names.yaml +2 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +8 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +12 -4
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +13 -5
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- 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 +186 -0
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +10 -4
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +6 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +26 -27
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- 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 +4 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +26 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +596 -0
- data/generated/google/apis/language_v1beta1/representations.rb +289 -0
- data/generated/google/apis/language_v1beta1/service.rb +154 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +2 -2
- data/generated/google/apis/oauth2_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/sheets_v4.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +512 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
- data/generated/google/apis/speech_v1beta1/service.rb +268 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +10 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +20 -12
@@ -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
|
|
@@ -608,6 +632,7 @@ module Google
|
|
608
632
|
|
609
633
|
property :schema_inline, as: 'schemaInline'
|
610
634
|
property :schema_inline_format, as: 'schemaInlineFormat'
|
635
|
+
collection :schema_update_options, as: 'schemaUpdateOptions'
|
611
636
|
property :skip_leading_rows, as: 'skipLeadingRows'
|
612
637
|
property :source_format, as: 'sourceFormat'
|
613
638
|
collection :source_uris, as: 'sourceUris'
|
@@ -627,9 +652,13 @@ module Google
|
|
627
652
|
property :flatten_results, as: 'flattenResults'
|
628
653
|
property :maximum_billing_tier, as: 'maximumBillingTier'
|
629
654
|
property :maximum_bytes_billed, as: 'maximumBytesBilled'
|
655
|
+
property :parameter_mode, as: 'parameterMode'
|
630
656
|
property :preserve_nulls, as: 'preserveNulls'
|
631
657
|
property :priority, as: 'priority'
|
632
658
|
property :query, as: 'query'
|
659
|
+
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
660
|
+
|
661
|
+
collection :schema_update_options, as: 'schemaUpdateOptions'
|
633
662
|
hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
634
663
|
|
635
664
|
property :use_legacy_sql, as: 'useLegacySql'
|
@@ -723,6 +752,8 @@ module Google
|
|
723
752
|
|
724
753
|
property :total_bytes_billed, as: 'totalBytesBilled'
|
725
754
|
property :total_bytes_processed, as: 'totalBytesProcessed'
|
755
|
+
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
756
|
+
|
726
757
|
end
|
727
758
|
end
|
728
759
|
|
@@ -785,6 +816,49 @@ module Google
|
|
785
816
|
end
|
786
817
|
end
|
787
818
|
|
819
|
+
class QueryParameter
|
820
|
+
# @private
|
821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
+
property :name, as: 'name'
|
823
|
+
property :parameter_type, as: 'parameterType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
|
824
|
+
|
825
|
+
property :parameter_value, as: 'parameterValue', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
|
826
|
+
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
class QueryParameterType
|
831
|
+
# @private
|
832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
833
|
+
property :array_type, as: 'arrayType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
|
834
|
+
|
835
|
+
collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation
|
836
|
+
|
837
|
+
property :type, as: 'type'
|
838
|
+
end
|
839
|
+
|
840
|
+
class StructType
|
841
|
+
# @private
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
+
property :description, as: 'description'
|
844
|
+
property :name, as: 'name'
|
845
|
+
property :type, as: 'type', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
|
846
|
+
|
847
|
+
end
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
class QueryParameterValue
|
852
|
+
# @private
|
853
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
854
|
+
collection :array_values, as: 'arrayValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
|
855
|
+
|
856
|
+
collection :struct_values, as: 'structValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
|
857
|
+
|
858
|
+
property :value, as: 'value'
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
788
862
|
class QueryRequest
|
789
863
|
# @private
|
790
864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -793,8 +867,11 @@ module Google
|
|
793
867
|
property :dry_run, as: 'dryRun'
|
794
868
|
property :kind, as: 'kind'
|
795
869
|
property :max_results, as: 'maxResults'
|
870
|
+
property :parameter_mode, as: 'parameterMode'
|
796
871
|
property :preserve_nulls, as: 'preserveNulls'
|
797
872
|
property :query, as: 'query'
|
873
|
+
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
874
|
+
|
798
875
|
property :timeout_ms, as: 'timeoutMs'
|
799
876
|
property :use_legacy_sql, as: 'useLegacySql'
|
800
877
|
property :use_query_cache, as: 'useQueryCache'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160829'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -322,9 +322,8 @@ module Google
|
|
322
322
|
attr_accessor :primary_party
|
323
323
|
|
324
324
|
# The set of ballot responses for the referendum. A ballot response represents a
|
325
|
-
# line on the ballot. Common examples might include "yes" or "no" for referenda
|
326
|
-
#
|
327
|
-
# contests of type 'Referendum'.
|
325
|
+
# line on the ballot. Common examples might include "yes" or "no" for referenda.
|
326
|
+
# This field is only populated for contests of type 'Referendum'.
|
328
327
|
# Corresponds to the JSON property `referendumBallotResponses`
|
329
328
|
# @return [Array<String>]
|
330
329
|
attr_accessor :referendum_ballot_responses
|
@@ -403,7 +402,8 @@ module Google
|
|
403
402
|
attr_accessor :special
|
404
403
|
|
405
404
|
# The type of contest. Usually this will be 'General', 'Primary', or 'Run-off'
|
406
|
-
# for contests with candidates. For referenda this will be 'Referendum'.
|
405
|
+
# for contests with candidates. For referenda this will be 'Referendum'. For
|
406
|
+
# Retention contests this will typically be 'Retention'.
|
407
407
|
# Corresponds to the JSON property `type`
|
408
408
|
# @return [String]
|
409
409
|
attr_accessor :type
|
@@ -621,6 +621,11 @@ module Google
|
|
621
621
|
# @return [String]
|
622
622
|
attr_accessor :id
|
623
623
|
|
624
|
+
#
|
625
|
+
# Corresponds to the JSON property `kgForeignKey`
|
626
|
+
# @return [String]
|
627
|
+
attr_accessor :kg_foreign_key
|
628
|
+
|
624
629
|
# The name of the district.
|
625
630
|
# Corresponds to the JSON property `name`
|
626
631
|
# @return [String]
|
@@ -641,6 +646,7 @@ module Google
|
|
641
646
|
# Update properties of this object
|
642
647
|
def update!(**args)
|
643
648
|
@id = args[:id] if args.key?(:id)
|
649
|
+
@kg_foreign_key = args[:kg_foreign_key] if args.key?(:kg_foreign_key)
|
644
650
|
@name = args[:name] if args.key?(:name)
|
645
651
|
@scope = args[:scope] if args.key?(:scope)
|
646
652
|
end
|
@@ -132,6 +132,10 @@ module Google
|
|
132
132
|
# obtained at https://www.googleapis.com/civicinfo/`version`/elections
|
133
133
|
# @param [Boolean] official_only
|
134
134
|
# If set to true, only data from official state sources will be returned.
|
135
|
+
# @param [Boolean] return_all_available_data
|
136
|
+
# If set to true, the query will return the success codeand include any partial
|
137
|
+
# information when it is unable to determine a matching address or unable to
|
138
|
+
# determine the election for electionId=0 queries.
|
135
139
|
# @param [String] fields
|
136
140
|
# Selector specifying which fields to include in a partial response.
|
137
141
|
# @param [String] quota_user
|
@@ -153,13 +157,14 @@ module Google
|
|
153
157
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
154
158
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
155
159
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
156
|
-
def query_voter_info(address, election_id: nil, official_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
160
|
+
def query_voter_info(address, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
157
161
|
command = make_simple_command(:get, 'voterinfo', options)
|
158
162
|
command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation
|
159
163
|
command.response_class = Google::Apis::CivicinfoV2::VoterInfoResponse
|
160
164
|
command.query['address'] = address unless address.nil?
|
161
165
|
command.query['electionId'] = election_id unless election_id.nil?
|
162
166
|
command.query['officialOnly'] = official_only unless official_only.nil?
|
167
|
+
command.query['returnAllAvailableData'] = return_all_available_data unless return_all_available_data.nil?
|
163
168
|
command.query['fields'] = fields unless fields.nil?
|
164
169
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
165
170
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/container-builder/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160831'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -287,6 +287,12 @@ module Google
|
|
287
287
|
class BuildTrigger
|
288
288
|
include Google::Apis::Core::Hashable
|
289
289
|
|
290
|
+
# Path, from the source root, to a file whose contents is used for the
|
291
|
+
# template.
|
292
|
+
# Corresponds to the JSON property `filename`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :filename
|
295
|
+
|
290
296
|
# RepoSource describes the location of the source in a Google Cloud Source
|
291
297
|
# Repository.
|
292
298
|
# Corresponds to the JSON property `triggerTemplate`
|
@@ -319,6 +325,7 @@ module Google
|
|
319
325
|
|
320
326
|
# Update properties of this object
|
321
327
|
def update!(**args)
|
328
|
+
@filename = args[:filename] if args.key?(:filename)
|
322
329
|
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
323
330
|
@build = args[:build] if args.key?(:build)
|
324
331
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -196,6 +196,7 @@ module Google
|
|
196
196
|
class BuildTrigger
|
197
197
|
# @private
|
198
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
199
|
+
property :filename, as: 'filename'
|
199
200
|
property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
200
201
|
|
201
202
|
property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160817'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160817'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160824'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
27
27
|
module DatastoreV1beta3
|
28
28
|
VERSION = 'V1beta3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160823'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -171,7 +171,7 @@ module Google
|
|
171
171
|
|
172
172
|
# The identifier of the transaction in which to read. A
|
173
173
|
# transaction identifier is returned by a call to
|
174
|
-
# BeginTransaction.
|
174
|
+
# Datastore.BeginTransaction.
|
175
175
|
# Corresponds to the JSON property `transaction`
|
176
176
|
# @return [String]
|
177
177
|
attr_accessor :transaction
|
@@ -218,13 +218,13 @@ module Google
|
|
218
218
|
end
|
219
219
|
end
|
220
220
|
|
221
|
-
# The request for
|
221
|
+
# The request for Datastore.Commit.
|
222
222
|
class CommitRequest
|
223
223
|
include Google::Apis::Core::Hashable
|
224
224
|
|
225
225
|
# The identifier of the transaction associated with the commit. A
|
226
226
|
# transaction identifier is returned by a call to
|
227
|
-
# BeginTransaction.
|
227
|
+
# Datastore.BeginTransaction.
|
228
228
|
# Corresponds to the JSON property `transaction`
|
229
229
|
# @return [String]
|
230
230
|
attr_accessor :transaction
|
@@ -340,12 +340,12 @@ module Google
|
|
340
340
|
end
|
341
341
|
end
|
342
342
|
|
343
|
-
# The request for
|
343
|
+
# The request for Datastore.Rollback.
|
344
344
|
class RollbackRequest
|
345
345
|
include Google::Apis::Core::Hashable
|
346
346
|
|
347
347
|
# The transaction identifier, returned by a call to
|
348
|
-
#
|
348
|
+
# Datastore.BeginTransaction.
|
349
349
|
# Corresponds to the JSON property `transaction`
|
350
350
|
# @return [String]
|
351
351
|
attr_accessor :transaction
|
@@ -380,10 +380,11 @@ module Google
|
|
380
380
|
|
381
381
|
# The version of the entity, a strictly positive number that monotonically
|
382
382
|
# increases with changes to the entity.
|
383
|
-
# This field is set for `FULL` entity
|
384
|
-
#
|
385
|
-
# `LookupResponse`, this
|
386
|
-
#
|
383
|
+
# This field is set for `FULL` entity
|
384
|
+
# results.
|
385
|
+
# For missing entities in `LookupResponse`, this
|
386
|
+
# is the version of the snapshot that was used to look up the entity, and it
|
387
|
+
# is always set except for eventually consistent reads.
|
387
388
|
# Corresponds to the JSON property `version`
|
388
389
|
# @return [String]
|
389
390
|
attr_accessor :version
|
@@ -473,7 +474,7 @@ module Google
|
|
473
474
|
end
|
474
475
|
end
|
475
476
|
|
476
|
-
# The response for
|
477
|
+
# The response for Datastore.BeginTransaction.
|
477
478
|
class BeginTransactionResponse
|
478
479
|
include Google::Apis::Core::Hashable
|
479
480
|
|
@@ -594,7 +595,7 @@ module Google
|
|
594
595
|
end
|
595
596
|
end
|
596
597
|
|
597
|
-
# The request for
|
598
|
+
# The request for Datastore.AllocateIds.
|
598
599
|
class AllocateIdsRequest
|
599
600
|
include Google::Apis::Core::Hashable
|
600
601
|
|
@@ -706,7 +707,7 @@ module Google
|
|
706
707
|
end
|
707
708
|
end
|
708
709
|
|
709
|
-
# The response for
|
710
|
+
# The response for Datastore.Rollback.
|
710
711
|
# (an empty message).
|
711
712
|
class RollbackResponse
|
712
713
|
include Google::Apis::Core::Hashable
|
@@ -799,7 +800,7 @@ module Google
|
|
799
800
|
end
|
800
801
|
end
|
801
802
|
|
802
|
-
# The response for
|
803
|
+
# The response for Datastore.AllocateIds.
|
803
804
|
class AllocateIdsResponse
|
804
805
|
include Google::Apis::Core::Hashable
|
805
806
|
|
@@ -819,7 +820,7 @@ module Google
|
|
819
820
|
end
|
820
821
|
end
|
821
822
|
|
822
|
-
# The response for
|
823
|
+
# The response for Datastore.Lookup.
|
823
824
|
class LookupResponse
|
824
825
|
include Google::Apis::Core::Hashable
|
825
826
|
|
@@ -856,7 +857,7 @@ module Google
|
|
856
857
|
end
|
857
858
|
end
|
858
859
|
|
859
|
-
# The request for
|
860
|
+
# The request for Datastore.BeginTransaction.
|
860
861
|
class BeginTransactionRequest
|
861
862
|
include Google::Apis::Core::Hashable
|
862
863
|
|
@@ -925,7 +926,7 @@ module Google
|
|
925
926
|
end
|
926
927
|
end
|
927
928
|
|
928
|
-
# The response for
|
929
|
+
# The response for Datastore.RunQuery.
|
929
930
|
class RunQueryResponse
|
930
931
|
include Google::Apis::Core::Hashable
|
931
932
|
|
@@ -996,17 +997,16 @@ module Google
|
|
996
997
|
# @return [String]
|
997
998
|
attr_accessor :query_string
|
998
999
|
|
999
|
-
# For each non-reserved named binding site in the query string,
|
1000
|
-
#
|
1001
|
-
# but not necessarily the inverse.
|
1000
|
+
# For each non-reserved named binding site in the query string, there must be
|
1001
|
+
# a named parameter with that name, but not necessarily the inverse.
|
1002
1002
|
# Key must match regex `A-Za-z_$*`, must not match regex
|
1003
1003
|
# `__.*__`, and must not be `""`.
|
1004
1004
|
# Corresponds to the JSON property `namedBindings`
|
1005
1005
|
# @return [Hash<String,Google::Apis::DatastoreV1beta3::GqlQueryParameter>]
|
1006
1006
|
attr_accessor :named_bindings
|
1007
1007
|
|
1008
|
-
# When false, the query string must not contain any literals and instead
|
1009
|
-
#
|
1008
|
+
# When false, the query string must not contain any literals and instead must
|
1009
|
+
# bind all values. For example,
|
1010
1010
|
# `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while
|
1011
1011
|
# `SELECT * FROM Kind WHERE a = @value` is.
|
1012
1012
|
# Corresponds to the JSON property `allowLiterals`
|
@@ -1016,9 +1016,8 @@ module Google
|
|
1016
1016
|
|
1017
1017
|
# Numbered binding site @1 references the first numbered parameter,
|
1018
1018
|
# effectively using 1-based indexing, rather than the usual 0.
|
1019
|
-
# For each binding site numbered i in `query_string`,
|
1020
|
-
#
|
1021
|
-
# The inverse must also be true.
|
1019
|
+
# For each binding site numbered i in `query_string`, there must be an i-th
|
1020
|
+
# numbered parameter. The inverse must also be true.
|
1022
1021
|
# Corresponds to the JSON property `positionalBindings`
|
1023
1022
|
# @return [Array<Google::Apis::DatastoreV1beta3::GqlQueryParameter>]
|
1024
1023
|
attr_accessor :positional_bindings
|
@@ -1092,7 +1091,7 @@ module Google
|
|
1092
1091
|
end
|
1093
1092
|
end
|
1094
1093
|
|
1095
|
-
# The response for
|
1094
|
+
# The response for Datastore.Commit.
|
1096
1095
|
class CommitResponse
|
1097
1096
|
include Google::Apis::Core::Hashable
|
1098
1097
|
|
@@ -1119,7 +1118,7 @@ module Google
|
|
1119
1118
|
end
|
1120
1119
|
end
|
1121
1120
|
|
1122
|
-
# The request for
|
1121
|
+
# The request for Datastore.RunQuery.
|
1123
1122
|
class RunQueryRequest
|
1124
1123
|
include Google::Apis::Core::Hashable
|
1125
1124
|
|
@@ -1171,7 +1170,7 @@ module Google
|
|
1171
1170
|
end
|
1172
1171
|
end
|
1173
1172
|
|
1174
|
-
# The request for
|
1173
|
+
# The request for Datastore.Lookup.
|
1175
1174
|
class LookupRequest
|
1176
1175
|
include Google::Apis::Core::Hashable
|
1177
1176
|
|