google-api-client 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
- data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
- data/.kokoro/build.bat +8 -0
- data/.kokoro/build.sh +36 -0
- data/.kokoro/common.cfg +22 -0
- data/.kokoro/continuous/common.cfg +20 -0
- data/.kokoro/continuous/linux.cfg +15 -0
- data/.kokoro/continuous/osx.cfg +3 -0
- data/.kokoro/continuous/windows.cfg +3 -0
- data/.kokoro/osx.sh +35 -0
- data/.kokoro/presubmit/common.cfg +19 -0
- data/.kokoro/presubmit/linux.cfg +14 -0
- data/.kokoro/presubmit/osx.cfg +3 -0
- data/.kokoro/presubmit/windows.cfg +3 -0
- data/.kokoro/trampoline.sh +24 -0
- data/.kokoro/windows.sh +32 -0
- data/CHANGELOG.md +83 -0
- data/Gemfile +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +87 -29
- data/generated/google/apis/bigquery_v2/representations.rb +21 -0
- data/generated/google/apis/bigquery_v2/service.rb +7 -9
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/classes.rb +14 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
- data/generated/google/apis/cloudiot_v1/service.rb +172 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +107 -0
- data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
- data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +9 -0
- data/generated/google/apis/composer_v1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +938 -117
- data/generated/google/apis/compute_alpha/representations.rb +310 -2
- data/generated/google/apis/compute_alpha/service.rb +1203 -245
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1175 -219
- data/generated/google/apis/compute_beta/representations.rb +375 -2
- data/generated/google/apis/compute_beta/service.rb +907 -139
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1485 -143
- data/generated/google/apis/compute_v1/representations.rb +503 -0
- data/generated/google/apis/compute_v1/service.rb +1375 -85
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +99 -6
- data/generated/google/apis/container_v1/representations.rb +39 -0
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +3 -3
- data/generated/google/apis/container_v1beta1/classes.rb +162 -9
- data/generated/google/apis/container_v1beta1/representations.rb +80 -0
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +40 -32
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2/service.rb +3 -3
- data/generated/google/apis/content_v2_1.rb +35 -0
- data/generated/google/apis/content_v2_1/classes.rb +9104 -0
- data/generated/google/apis/content_v2_1/representations.rb +3967 -0
- data/generated/google/apis/content_v2_1/service.rb +3463 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -1
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
- data/generated/google/apis/dialogflow_v2/service.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
- data/generated/google/apis/dns_v1beta2/service.rb +246 -0
- data/generated/google/apis/drive_v2.rb +3 -3
- data/generated/google/apis/drive_v3.rb +3 -3
- data/generated/google/apis/driveactivity_v2.rb +37 -0
- data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
- data/generated/google/apis/driveactivity_v2/service.rb +89 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +2225 -520
- data/generated/google/apis/firestore_v1/representations.rb +800 -33
- data/generated/google/apis/firestore_v1/service.rb +526 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -2
- data/generated/google/apis/fitness_v1/service.rb +7 -3
- data/generated/google/apis/games_management_v1management.rb +1 -4
- data/generated/google/apis/games_v1.rb +1 -4
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/iap_v1.rb +34 -0
- data/generated/google/apis/iap_v1/classes.rb +308 -0
- data/generated/google/apis/iap_v1/representations.rb +126 -0
- data/generated/google/apis/iap_v1/service.rb +725 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +8 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +6 -6
- data/generated/google/apis/jobs_v3/service.rb +8 -8
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
- data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -7
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +0 -365
- data/generated/google/apis/pagespeedonline_v5.rb +32 -0
- data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -12
- data/generated/google/apis/pubsub_v1/representations.rb +15 -0
- data/generated/google/apis/pubsub_v1/service.rb +26 -18
- data/generated/google/apis/redis_v1.rb +2 -3
- data/generated/google/apis/redis_v1/service.rb +1 -2
- data/generated/google/apis/redis_v1beta1.rb +2 -3
- data/generated/google/apis/redis_v1beta1/service.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/script_v1.rb +24 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +187 -2
- data/generated/google/apis/slides_v1/representations.rb +67 -0
- data/generated/google/apis/slides_v1/service.rb +4 -3
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +58 -10
- data/generated/google/apis/speech_v1/representations.rb +29 -1
- data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
- data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
- data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +54 -0
- data/generated/google/apis/storage_v1/representations.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -19
- data/generated/google/apis/testing_v1/representations.rb +20 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +78 -7
- data/generated/google/apis/vault_v1/representations.rb +34 -1
- data/generated/google/apis/vault_v1/service.rb +141 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +33 -0
- data/generated/google/apis/vision_v1/representations.rb +16 -0
- data/generated/google/apis/vision_v1/service.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +1 -1
- data/lib/google/api_client/auth/installed_app.rb +17 -2
- data/lib/google/api_client/client_secrets.rb +1 -1
- data/lib/google/apis/core/download.rb +2 -2
- data/lib/google/apis/errors.rb +9 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +46 -17
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
- data/generated/google/apis/dfareporting_v3_0.rb +0 -40
- data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
- data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
- data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
@@ -472,6 +472,24 @@ module Google
|
|
472
472
|
include Google::Apis::Core::JsonObjectSupport
|
473
473
|
end
|
474
474
|
|
475
|
+
class WebApp
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class WebAppIcon
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class WebAppsListResponse
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
475
493
|
class Administrator
|
476
494
|
# @private
|
477
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1222,6 +1240,36 @@ module Google
|
|
1222
1240
|
property :user_value, as: 'userValue'
|
1223
1241
|
end
|
1224
1242
|
end
|
1243
|
+
|
1244
|
+
class WebApp
|
1245
|
+
# @private
|
1246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1247
|
+
property :display_mode, as: 'displayMode'
|
1248
|
+
collection :icons, as: 'icons', class: Google::Apis::AndroidenterpriseV1::WebAppIcon, decorator: Google::Apis::AndroidenterpriseV1::WebAppIcon::Representation
|
1249
|
+
|
1250
|
+
property :is_published, as: 'isPublished'
|
1251
|
+
property :start_url, as: 'startUrl'
|
1252
|
+
property :title, as: 'title'
|
1253
|
+
property :version_code, :numeric_string => true, as: 'versionCode'
|
1254
|
+
property :web_app_id, as: 'webAppId'
|
1255
|
+
end
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
class WebAppIcon
|
1259
|
+
# @private
|
1260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1261
|
+
property :image_data, as: 'imageData'
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
class WebAppsListResponse
|
1266
|
+
# @private
|
1267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1268
|
+
property :kind, as: 'kind'
|
1269
|
+
collection :web_app, as: 'webApp', class: Google::Apis::AndroidenterpriseV1::WebApp, decorator: Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
1270
|
+
|
1271
|
+
end
|
1272
|
+
end
|
1225
1273
|
end
|
1226
1274
|
end
|
1227
1275
|
end
|
@@ -2854,6 +2854,7 @@ module Google
|
|
2854
2854
|
# Generates an authentication token which the device policy client can use to
|
2855
2855
|
# provision the given EMM-managed user account on a device. The generated token
|
2856
2856
|
# is single-use and expires after a few minutes.
|
2857
|
+
# You can provision a maximum of 10 devices per user.
|
2857
2858
|
# This call only works with EMM-managed accounts.
|
2858
2859
|
# @param [String] enterprise_id
|
2859
2860
|
# The ID of the enterprise.
|
@@ -3277,6 +3278,223 @@ module Google
|
|
3277
3278
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
3278
3279
|
execute_or_queue_command(command, &block)
|
3279
3280
|
end
|
3281
|
+
|
3282
|
+
# Deletes an existing web app.
|
3283
|
+
# @param [String] enterprise_id
|
3284
|
+
# The ID of the enterprise.
|
3285
|
+
# @param [String] web_app_id
|
3286
|
+
# The ID of the web app.
|
3287
|
+
# @param [String] fields
|
3288
|
+
# Selector specifying which fields to include in a partial response.
|
3289
|
+
# @param [String] quota_user
|
3290
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3291
|
+
# characters.
|
3292
|
+
# @param [String] user_ip
|
3293
|
+
# Deprecated. Please use quotaUser instead.
|
3294
|
+
# @param [Google::Apis::RequestOptions] options
|
3295
|
+
# Request-specific options
|
3296
|
+
#
|
3297
|
+
# @yield [result, err] Result & error if block supplied
|
3298
|
+
# @yieldparam result [NilClass] No result returned for this method
|
3299
|
+
# @yieldparam err [StandardError] error object if request failed
|
3300
|
+
#
|
3301
|
+
# @return [void]
|
3302
|
+
#
|
3303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3306
|
+
def delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3307
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3308
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3309
|
+
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
3310
|
+
command.query['fields'] = fields unless fields.nil?
|
3311
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3312
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3313
|
+
execute_or_queue_command(command, &block)
|
3314
|
+
end
|
3315
|
+
|
3316
|
+
# Gets an existing web app.
|
3317
|
+
# @param [String] enterprise_id
|
3318
|
+
# The ID of the enterprise.
|
3319
|
+
# @param [String] web_app_id
|
3320
|
+
# The ID of the web app.
|
3321
|
+
# @param [String] fields
|
3322
|
+
# Selector specifying which fields to include in a partial response.
|
3323
|
+
# @param [String] quota_user
|
3324
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3325
|
+
# characters.
|
3326
|
+
# @param [String] user_ip
|
3327
|
+
# Deprecated. Please use quotaUser instead.
|
3328
|
+
# @param [Google::Apis::RequestOptions] options
|
3329
|
+
# Request-specific options
|
3330
|
+
#
|
3331
|
+
# @yield [result, err] Result & error if block supplied
|
3332
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
3333
|
+
# @yieldparam err [StandardError] error object if request failed
|
3334
|
+
#
|
3335
|
+
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
3336
|
+
#
|
3337
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3338
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3339
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3340
|
+
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3341
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3342
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3343
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
3344
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3345
|
+
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
3346
|
+
command.query['fields'] = fields unless fields.nil?
|
3347
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3348
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3349
|
+
execute_or_queue_command(command, &block)
|
3350
|
+
end
|
3351
|
+
|
3352
|
+
# Creates a new web app for the enterprise.
|
3353
|
+
# @param [String] enterprise_id
|
3354
|
+
# The ID of the enterprise.
|
3355
|
+
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
3356
|
+
# @param [String] fields
|
3357
|
+
# Selector specifying which fields to include in a partial response.
|
3358
|
+
# @param [String] quota_user
|
3359
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3360
|
+
# characters.
|
3361
|
+
# @param [String] user_ip
|
3362
|
+
# Deprecated. Please use quotaUser instead.
|
3363
|
+
# @param [Google::Apis::RequestOptions] options
|
3364
|
+
# Request-specific options
|
3365
|
+
#
|
3366
|
+
# @yield [result, err] Result & error if block supplied
|
3367
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
3368
|
+
# @yieldparam err [StandardError] error object if request failed
|
3369
|
+
#
|
3370
|
+
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
3371
|
+
#
|
3372
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3373
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3374
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3375
|
+
def insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3376
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webApps', options)
|
3377
|
+
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3378
|
+
command.request_object = web_app_object
|
3379
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3380
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
3381
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3382
|
+
command.query['fields'] = fields unless fields.nil?
|
3383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3384
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3385
|
+
execute_or_queue_command(command, &block)
|
3386
|
+
end
|
3387
|
+
|
3388
|
+
# Retrieves the details of all web apps for a given enterprise.
|
3389
|
+
# @param [String] enterprise_id
|
3390
|
+
# The ID of the enterprise.
|
3391
|
+
# @param [String] fields
|
3392
|
+
# Selector specifying which fields to include in a partial response.
|
3393
|
+
# @param [String] quota_user
|
3394
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3395
|
+
# characters.
|
3396
|
+
# @param [String] user_ip
|
3397
|
+
# Deprecated. Please use quotaUser instead.
|
3398
|
+
# @param [Google::Apis::RequestOptions] options
|
3399
|
+
# Request-specific options
|
3400
|
+
#
|
3401
|
+
# @yield [result, err] Result & error if block supplied
|
3402
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebAppsListResponse] parsed result object
|
3403
|
+
# @yieldparam err [StandardError] error object if request failed
|
3404
|
+
#
|
3405
|
+
# @return [Google::Apis::AndroidenterpriseV1::WebAppsListResponse]
|
3406
|
+
#
|
3407
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3408
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3409
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3410
|
+
def list_webapps(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3411
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps', options)
|
3412
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::WebAppsListResponse::Representation
|
3413
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::WebAppsListResponse
|
3414
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3415
|
+
command.query['fields'] = fields unless fields.nil?
|
3416
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3417
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3418
|
+
execute_or_queue_command(command, &block)
|
3419
|
+
end
|
3420
|
+
|
3421
|
+
# Updates an existing web app. This method supports patch semantics.
|
3422
|
+
# @param [String] enterprise_id
|
3423
|
+
# The ID of the enterprise.
|
3424
|
+
# @param [String] web_app_id
|
3425
|
+
# The ID of the web app.
|
3426
|
+
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
3427
|
+
# @param [String] fields
|
3428
|
+
# Selector specifying which fields to include in a partial response.
|
3429
|
+
# @param [String] quota_user
|
3430
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3431
|
+
# characters.
|
3432
|
+
# @param [String] user_ip
|
3433
|
+
# Deprecated. Please use quotaUser instead.
|
3434
|
+
# @param [Google::Apis::RequestOptions] options
|
3435
|
+
# Request-specific options
|
3436
|
+
#
|
3437
|
+
# @yield [result, err] Result & error if block supplied
|
3438
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
3439
|
+
# @yieldparam err [StandardError] error object if request failed
|
3440
|
+
#
|
3441
|
+
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
3442
|
+
#
|
3443
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3444
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3445
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3446
|
+
def patch_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3447
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3448
|
+
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3449
|
+
command.request_object = web_app_object
|
3450
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3451
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
3452
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3453
|
+
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
3454
|
+
command.query['fields'] = fields unless fields.nil?
|
3455
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3456
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3457
|
+
execute_or_queue_command(command, &block)
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# Updates an existing web app.
|
3461
|
+
# @param [String] enterprise_id
|
3462
|
+
# The ID of the enterprise.
|
3463
|
+
# @param [String] web_app_id
|
3464
|
+
# The ID of the web app.
|
3465
|
+
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
3466
|
+
# @param [String] fields
|
3467
|
+
# Selector specifying which fields to include in a partial response.
|
3468
|
+
# @param [String] quota_user
|
3469
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3470
|
+
# characters.
|
3471
|
+
# @param [String] user_ip
|
3472
|
+
# Deprecated. Please use quotaUser instead.
|
3473
|
+
# @param [Google::Apis::RequestOptions] options
|
3474
|
+
# Request-specific options
|
3475
|
+
#
|
3476
|
+
# @yield [result, err] Result & error if block supplied
|
3477
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
3478
|
+
# @yieldparam err [StandardError] error object if request failed
|
3479
|
+
#
|
3480
|
+
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
3481
|
+
#
|
3482
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3483
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3484
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3485
|
+
def update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3486
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3487
|
+
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3488
|
+
command.request_object = web_app_object
|
3489
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3490
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
3491
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3492
|
+
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
3493
|
+
command.query['fields'] = fields unless fields.nil?
|
3494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3495
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3496
|
+
execute_or_queue_command(command, &block)
|
3497
|
+
end
|
3280
3498
|
|
3281
3499
|
protected
|
3282
3500
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/android/management
|
27
27
|
module AndroidmanagementV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181113'
|
30
30
|
|
31
31
|
# Manage Android devices and apps for your customers
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
@@ -2290,7 +2290,7 @@ module Google
|
|
2290
2290
|
attr_accessor :usb_file_transfer_disabled
|
2291
2291
|
alias_method :usb_file_transfer_disabled?, :usb_file_transfer_disabled
|
2292
2292
|
|
2293
|
-
# Whether USB storage is enabled.
|
2293
|
+
# Whether USB storage is enabled. Deprecated.
|
2294
2294
|
# Corresponds to the JSON property `usbMassStorageEnabled`
|
2295
2295
|
# @return [Boolean]
|
2296
2296
|
attr_accessor :usb_mass_storage_enabled
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181113'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -1400,6 +1400,13 @@ module Google
|
|
1400
1400
|
attr_accessor :auto_renewing
|
1401
1401
|
alias_method :auto_renewing?, :auto_renewing
|
1402
1402
|
|
1403
|
+
# Time at which the subscription will be automatically resumed, in milliseconds
|
1404
|
+
# since the Epoch. Only present if the user has requested to pause the
|
1405
|
+
# subscription.
|
1406
|
+
# Corresponds to the JSON property `autoResumeTimeMillis`
|
1407
|
+
# @return [Fixnum]
|
1408
|
+
attr_accessor :auto_resume_time_millis
|
1409
|
+
|
1403
1410
|
# The reason why a subscription was canceled or is not auto-renewing. Possible
|
1404
1411
|
# values are:
|
1405
1412
|
# - User canceled the subscription
|
@@ -1547,6 +1554,7 @@ module Google
|
|
1547
1554
|
# Update properties of this object
|
1548
1555
|
def update!(**args)
|
1549
1556
|
@auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
|
1557
|
+
@auto_resume_time_millis = args[:auto_resume_time_millis] if args.key?(:auto_resume_time_millis)
|
1550
1558
|
@cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
|
1551
1559
|
@cancel_survey_result = args[:cancel_survey_result] if args.key?(:cancel_survey_result)
|
1552
1560
|
@country_code = args[:country_code] if args.key?(:country_code)
|
@@ -760,6 +760,7 @@ module Google
|
|
760
760
|
# @private
|
761
761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
762
762
|
property :auto_renewing, as: 'autoRenewing'
|
763
|
+
property :auto_resume_time_millis, :numeric_string => true, as: 'autoResumeTimeMillis'
|
763
764
|
property :cancel_reason, as: 'cancelReason'
|
764
765
|
property :cancel_survey_result, as: 'cancelSurveyResult', class: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult, decorator: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult::Representation
|
765
766
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181113'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181120'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181202'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -415,7 +415,7 @@ module Google
|
|
415
415
|
attr_accessor :last_modified_time
|
416
416
|
|
417
417
|
# The geographic location where the dataset should reside. The default value is
|
418
|
-
# US. See details at https://cloud.google.com/bigquery/docs/
|
418
|
+
# US. See details at https://cloud.google.com/bigquery/docs/locations.
|
419
419
|
# Corresponds to the JSON property `location`
|
420
420
|
# @return [String]
|
421
421
|
attr_accessor :location
|
@@ -581,7 +581,7 @@ module Google
|
|
581
581
|
# @return [Hash<String,String>]
|
582
582
|
attr_accessor :labels
|
583
583
|
|
584
|
-
#
|
584
|
+
# The geographic location where the data resides.
|
585
585
|
# Corresponds to the JSON property `location`
|
586
586
|
# @return [String]
|
587
587
|
attr_accessor :location
|
@@ -1164,7 +1164,8 @@ module Google
|
|
1164
1164
|
include Google::Apis::Core::Hashable
|
1165
1165
|
|
1166
1166
|
# [Beta] [Optional] Range of a sheet to query from. Only used when non-empty.
|
1167
|
-
# Typical format:
|
1167
|
+
# Typical format: sheet_name!top_left_cell_id:bottom_right_cell_id For example:
|
1168
|
+
# sheet1!A1:B20
|
1168
1169
|
# Corresponds to the JSON property `range`
|
1169
1170
|
# @return [String]
|
1170
1171
|
attr_accessor :range
|
@@ -1601,6 +1602,12 @@ module Google
|
|
1601
1602
|
# @return [String]
|
1602
1603
|
attr_accessor :quote
|
1603
1604
|
|
1605
|
+
# [TrustedTester] Range partitioning specification for this table. Only one of
|
1606
|
+
# timePartitioning and rangePartitioning should be specified.
|
1607
|
+
# Corresponds to the JSON property `rangePartitioning`
|
1608
|
+
# @return [Google::Apis::BigqueryV2::RangePartitioning]
|
1609
|
+
attr_accessor :range_partitioning
|
1610
|
+
|
1604
1611
|
# [Optional] The schema for the destination table. The schema can be omitted if
|
1605
1612
|
# the destination table already exists, or if you're loading data from Google
|
1606
1613
|
# Cloud Datastore.
|
@@ -1658,15 +1665,15 @@ module Google
|
|
1658
1665
|
# @return [Array<String>]
|
1659
1666
|
attr_accessor :source_uris
|
1660
1667
|
|
1661
|
-
# Time-based partitioning specification for the destination table.
|
1668
|
+
# Time-based partitioning specification for the destination table. Only one of
|
1669
|
+
# timePartitioning and rangePartitioning should be specified.
|
1662
1670
|
# Corresponds to the JSON property `timePartitioning`
|
1663
1671
|
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
1664
1672
|
attr_accessor :time_partitioning
|
1665
1673
|
|
1666
|
-
# If sourceFormat is set to "AVRO", indicates whether to enable
|
1667
|
-
# logical types into their corresponding types (ie. TIMESTAMP),
|
1668
|
-
# using their raw types (ie. INTEGER).
|
1669
|
-
# feature launches, but can be set now in preparation.
|
1674
|
+
# [Optional] If sourceFormat is set to "AVRO", indicates whether to enable
|
1675
|
+
# interpreting logical types into their corresponding types (ie. TIMESTAMP),
|
1676
|
+
# instead of only using their raw types (ie. INTEGER).
|
1670
1677
|
# Corresponds to the JSON property `useAvroLogicalTypes`
|
1671
1678
|
# @return [Boolean]
|
1672
1679
|
attr_accessor :use_avro_logical_types
|
@@ -1705,6 +1712,7 @@ module Google
|
|
1705
1712
|
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
1706
1713
|
@projection_fields = args[:projection_fields] if args.key?(:projection_fields)
|
1707
1714
|
@quote = args[:quote] if args.key?(:quote)
|
1715
|
+
@range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
|
1708
1716
|
@schema = args[:schema] if args.key?(:schema)
|
1709
1717
|
@schema_inline = args[:schema_inline] if args.key?(:schema_inline)
|
1710
1718
|
@schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
|
@@ -1819,6 +1827,12 @@ module Google
|
|
1819
1827
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
1820
1828
|
attr_accessor :query_parameters
|
1821
1829
|
|
1830
|
+
# [TrustedTester] Range partitioning specification for this table. Only one of
|
1831
|
+
# timePartitioning and rangePartitioning should be specified.
|
1832
|
+
# Corresponds to the JSON property `rangePartitioning`
|
1833
|
+
# @return [Google::Apis::BigqueryV2::RangePartitioning]
|
1834
|
+
attr_accessor :range_partitioning
|
1835
|
+
|
1822
1836
|
# Allows the schema of the destination table to be updated as a side effect of
|
1823
1837
|
# the query job. Schema update options are supported in two cases: when
|
1824
1838
|
# writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and
|
@@ -1839,7 +1853,8 @@ module Google
|
|
1839
1853
|
# @return [Hash<String,Google::Apis::BigqueryV2::ExternalDataConfiguration>]
|
1840
1854
|
attr_accessor :table_definitions
|
1841
1855
|
|
1842
|
-
# Time-based partitioning specification for the destination table.
|
1856
|
+
# Time-based partitioning specification for the destination table. Only one of
|
1857
|
+
# timePartitioning and rangePartitioning should be specified.
|
1843
1858
|
# Corresponds to the JSON property `timePartitioning`
|
1844
1859
|
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
1845
1860
|
attr_accessor :time_partitioning
|
@@ -1901,6 +1916,7 @@ module Google
|
|
1901
1916
|
@priority = args[:priority] if args.key?(:priority)
|
1902
1917
|
@query = args[:query] if args.key?(:query)
|
1903
1918
|
@query_parameters = args[:query_parameters] if args.key?(:query_parameters)
|
1919
|
+
@range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
|
1904
1920
|
@schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options)
|
1905
1921
|
@table_definitions = args[:table_definitions] if args.key?(:table_definitions)
|
1906
1922
|
@time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
|
@@ -2295,6 +2311,15 @@ module Google
|
|
2295
2311
|
# @return [Fixnum]
|
2296
2312
|
attr_accessor :total_bytes_processed
|
2297
2313
|
|
2314
|
+
# [Output-only] For dry-run jobs, totalBytesProcessed is an estimate and this
|
2315
|
+
# field specifies the accuracy of the estimate. Possible values can be: UNKNOWN:
|
2316
|
+
# accuracy of the estimate is unknown. PRECISE: estimate is precise. LOWER_BOUND:
|
2317
|
+
# estimate is lower bound of what the query would cost. UPPER_BOUND: estiamte
|
2318
|
+
# is upper bound of what the query would cost.
|
2319
|
+
# Corresponds to the JSON property `totalBytesProcessedAccuracy`
|
2320
|
+
# @return [String]
|
2321
|
+
attr_accessor :total_bytes_processed_accuracy
|
2322
|
+
|
2298
2323
|
# [Output-only] Total number of partitions processed from all partitioned tables
|
2299
2324
|
# referenced in the job.
|
2300
2325
|
# Corresponds to the JSON property `totalPartitionsProcessed`
|
@@ -2335,6 +2360,7 @@ module Google
|
|
2335
2360
|
@timeline = args[:timeline] if args.key?(:timeline)
|
2336
2361
|
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
2337
2362
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
2363
|
+
@total_bytes_processed_accuracy = args[:total_bytes_processed_accuracy] if args.key?(:total_bytes_processed_accuracy)
|
2338
2364
|
@total_partitions_processed = args[:total_partitions_processed] if args.key?(:total_partitions_processed)
|
2339
2365
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
2340
2366
|
@undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters)
|
@@ -2470,6 +2496,32 @@ module Google
|
|
2470
2496
|
end
|
2471
2497
|
end
|
2472
2498
|
|
2499
|
+
#
|
2500
|
+
class MaterializedViewDefinition
|
2501
|
+
include Google::Apis::Core::Hashable
|
2502
|
+
|
2503
|
+
# [Output-only] [TrustedTester] The time when this materialized view was last
|
2504
|
+
# modified, in milliseconds since the epoch.
|
2505
|
+
# Corresponds to the JSON property `lastRefreshTime`
|
2506
|
+
# @return [Fixnum]
|
2507
|
+
attr_accessor :last_refresh_time
|
2508
|
+
|
2509
|
+
# [Required] A query whose result is persisted.
|
2510
|
+
# Corresponds to the JSON property `query`
|
2511
|
+
# @return [String]
|
2512
|
+
attr_accessor :query
|
2513
|
+
|
2514
|
+
def initialize(**args)
|
2515
|
+
update!(**args)
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
# Update properties of this object
|
2519
|
+
def update!(**args)
|
2520
|
+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
2521
|
+
@query = args[:query] if args.key?(:query)
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2473
2525
|
#
|
2474
2526
|
class ModelDefinition
|
2475
2527
|
include Google::Apis::Core::Hashable
|
@@ -2790,8 +2842,8 @@ module Google
|
|
2790
2842
|
# @return [String]
|
2791
2843
|
attr_accessor :kind
|
2792
2844
|
|
2793
|
-
# The geographic location where the job should run.
|
2794
|
-
#
|
2845
|
+
# The geographic location where the job should run. See details at https://cloud.
|
2846
|
+
# google.com/bigquery/docs/locations#specifying_your_location.
|
2795
2847
|
# Corresponds to the JSON property `location`
|
2796
2848
|
# @return [String]
|
2797
2849
|
attr_accessor :location
|
@@ -3021,14 +3073,14 @@ module Google
|
|
3021
3073
|
class RangePartitioning
|
3022
3074
|
include Google::Apis::Core::Hashable
|
3023
3075
|
|
3024
|
-
# [
|
3076
|
+
# [TrustedTester] [Required] The table is partitioned by this field. The field
|
3025
3077
|
# must be a top-level NULLABLE/REQUIRED field. The only supported type is
|
3026
3078
|
# INTEGER/INT64.
|
3027
3079
|
# Corresponds to the JSON property `field`
|
3028
3080
|
# @return [String]
|
3029
3081
|
attr_accessor :field
|
3030
3082
|
|
3031
|
-
# [
|
3083
|
+
# [TrustedTester] [Required] Defines the ranges for range partitioning.
|
3032
3084
|
# Corresponds to the JSON property `range`
|
3033
3085
|
# @return [Google::Apis::BigqueryV2::RangePartitioning::Range]
|
3034
3086
|
attr_accessor :range
|
@@ -3043,21 +3095,21 @@ module Google
|
|
3043
3095
|
@range = args[:range] if args.key?(:range)
|
3044
3096
|
end
|
3045
3097
|
|
3046
|
-
# [
|
3098
|
+
# [TrustedTester] [Required] Defines the ranges for range partitioning.
|
3047
3099
|
class Range
|
3048
3100
|
include Google::Apis::Core::Hashable
|
3049
3101
|
|
3050
|
-
# [
|
3102
|
+
# [TrustedTester] [Required] The end of range partitioning, exclusive.
|
3051
3103
|
# Corresponds to the JSON property `end`
|
3052
3104
|
# @return [Fixnum]
|
3053
3105
|
attr_accessor :end
|
3054
3106
|
|
3055
|
-
# [
|
3107
|
+
# [TrustedTester] [Required] The width of each interval.
|
3056
3108
|
# Corresponds to the JSON property `interval`
|
3057
3109
|
# @return [Fixnum]
|
3058
3110
|
attr_accessor :interval
|
3059
3111
|
|
3060
|
-
# [
|
3112
|
+
# [TrustedTester] [Required] The start of range partitioning, inclusive.
|
3061
3113
|
# Corresponds to the JSON property `start`
|
3062
3114
|
# @return [Fixnum]
|
3063
3115
|
attr_accessor :start
|
@@ -3113,7 +3165,7 @@ module Google
|
|
3113
3165
|
class Table
|
3114
3166
|
include Google::Apis::Core::Hashable
|
3115
3167
|
|
3116
|
-
# [
|
3168
|
+
# [Beta] Clustering specification for the table. Must be specified with
|
3117
3169
|
# partitioning, data in the table will be first partitioned and subsequently
|
3118
3170
|
# clustered.
|
3119
3171
|
# Corresponds to the JSON property `clustering`
|
@@ -3196,6 +3248,11 @@ module Google
|
|
3196
3248
|
# @return [String]
|
3197
3249
|
attr_accessor :location
|
3198
3250
|
|
3251
|
+
# [Optional] Materialized view definition.
|
3252
|
+
# Corresponds to the JSON property `materializedView`
|
3253
|
+
# @return [Google::Apis::BigqueryV2::MaterializedViewDefinition]
|
3254
|
+
attr_accessor :materialized_view
|
3255
|
+
|
3199
3256
|
# [Output-only, Beta] Present iff this table represents a ML model. Describes
|
3200
3257
|
# the training information for the model, and it is required to run 'PREDICT'
|
3201
3258
|
# queries.
|
@@ -3215,7 +3272,7 @@ module Google
|
|
3215
3272
|
# @return [Fixnum]
|
3216
3273
|
attr_accessor :num_long_term_bytes
|
3217
3274
|
|
3218
|
-
# [Output-only] [
|
3275
|
+
# [Output-only] [TrustedTester] The physical size of this table in bytes,
|
3219
3276
|
# excluding any data in the streaming buffer. This includes compression and
|
3220
3277
|
# storage used for time travel.
|
3221
3278
|
# Corresponds to the JSON property `numPhysicalBytes`
|
@@ -3228,14 +3285,14 @@ module Google
|
|
3228
3285
|
# @return [Fixnum]
|
3229
3286
|
attr_accessor :num_rows
|
3230
3287
|
|
3231
|
-
# [
|
3288
|
+
# [TrustedTester] Range partitioning specification for this table. Only one of
|
3232
3289
|
# timePartitioning and rangePartitioning should be specified.
|
3233
3290
|
# Corresponds to the JSON property `rangePartitioning`
|
3234
3291
|
# @return [Google::Apis::BigqueryV2::RangePartitioning]
|
3235
3292
|
attr_accessor :range_partitioning
|
3236
3293
|
|
3237
|
-
# [
|
3238
|
-
#
|
3294
|
+
# [Beta] [Optional] If set to true, queries over this table require a partition
|
3295
|
+
# filter that can be used for partition elimination to be specified.
|
3239
3296
|
# Corresponds to the JSON property `requirePartitionFilter`
|
3240
3297
|
# @return [Boolean]
|
3241
3298
|
attr_accessor :require_partition_filter
|
@@ -3270,7 +3327,8 @@ module Google
|
|
3270
3327
|
attr_accessor :time_partitioning
|
3271
3328
|
|
3272
3329
|
# [Output-only] Describes the table type. The following values are supported:
|
3273
|
-
# TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query.
|
3330
|
+
# TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. [
|
3331
|
+
# TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted.
|
3274
3332
|
# EXTERNAL: A table that references data stored in an external storage system,
|
3275
3333
|
# such as Google Cloud Storage. The default value is TABLE.
|
3276
3334
|
# Corresponds to the JSON property `type`
|
@@ -3301,6 +3359,7 @@ module Google
|
|
3301
3359
|
@labels = args[:labels] if args.key?(:labels)
|
3302
3360
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
3303
3361
|
@location = args[:location] if args.key?(:location)
|
3362
|
+
@materialized_view = args[:materialized_view] if args.key?(:materialized_view)
|
3304
3363
|
@model = args[:model] if args.key?(:model)
|
3305
3364
|
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
3306
3365
|
@num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
|
@@ -3367,12 +3426,11 @@ module Google
|
|
3367
3426
|
attr_accessor :skip_invalid_rows
|
3368
3427
|
alias_method :skip_invalid_rows?, :skip_invalid_rows
|
3369
3428
|
|
3370
|
-
#
|
3371
|
-
#
|
3372
|
-
#
|
3373
|
-
#
|
3374
|
-
#
|
3375
|
-
# with templates tables.
|
3429
|
+
# If specified, treats the destination table as a base template, and inserts the
|
3430
|
+
# rows into an instance table named "`destination``templateSuffix`". BigQuery
|
3431
|
+
# will manage creation of the instance table, using the schema of the base
|
3432
|
+
# template table. See https://cloud.google.com/bigquery/streaming-data-into-
|
3433
|
+
# bigquery#template-tables for considerations when working with templates tables.
|
3376
3434
|
# Corresponds to the JSON property `templateSuffix`
|
3377
3435
|
# @return [String]
|
3378
3436
|
attr_accessor :template_suffix
|