google-api-client 0.28.0 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +4 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +13 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +3 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -33
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/service.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +48 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +698 -240
- data/generated/google/apis/compute_alpha/representations.rb +185 -63
- data/generated/google/apis/compute_alpha/service.rb +286 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +195 -148
- data/generated/google/apis/compute_beta/representations.rb +80 -62
- data/generated/google/apis/compute_beta/service.rb +85 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +209 -17
- data/generated/google/apis/compute_v1/representations.rb +70 -0
- data/generated/google/apis/compute_v1/service.rb +2 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +78 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -6
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +12 -213
- data/generated/google/apis/content_v2_1/representations.rb +2 -117
- data/generated/google/apis/content_v2_1/service.rb +1 -161
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +39 -29
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -29
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +576 -0
- data/generated/google/apis/file_v1/representations.rb +219 -0
- data/generated/google/apis/file_v1/service.rb +472 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/service.rb +33 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +4 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/service.rb +40 -40
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +12 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c06e6023e012af078431c1c99477f3f109143bdb
|
4
|
+
data.tar.gz: 16b87c6d35103ec4bb898c023b9b81bef7cbb656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9ffc18eb0b404e2adbe1bd06f302877ee2d851e16ddcccb55267a8d97af49b4749242def7dc17fae074699070a8122336299f1e91eaff24989d3ac717eae9d3
|
7
|
+
data.tar.gz: 97ea3146e975fa45d2b39984b01948e34e9e6595432e485b9f98ff222bd5cdcfe21d5915aae9b52e878b0c53a1828a23136b27381d4f2c061fde29e43d55f075
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,41 @@
|
|
1
|
+
# 0.28.1
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `file_v1`
|
4
|
+
* Updated `accesscontextmanager_v1beta`
|
5
|
+
* Updated `admin_directory_v1`
|
6
|
+
* Updated `androidenterprise_v1`
|
7
|
+
* Updated `androidpublisher_v1_1`
|
8
|
+
* Updated `androidpublisher_v2`
|
9
|
+
* Updated `androidpublisher_v3`
|
10
|
+
* Updated `appsmarket_v2`
|
11
|
+
* Updated `bigquerydatatransfer_v1`
|
12
|
+
* Updated `books_v1`
|
13
|
+
* Updated `cloudidentity_v1`
|
14
|
+
* Updated `compute_alpha`
|
15
|
+
* Updated `compute_beta`
|
16
|
+
* Updated `compute_v1`
|
17
|
+
* Updated `containeranalysis_v1beta1`
|
18
|
+
* Updated `content_v2`
|
19
|
+
* Updated `content_v2_1`
|
20
|
+
* Updated `dialogflow_v2`
|
21
|
+
* Updated `dialogflow_v2beta1`
|
22
|
+
* Updated `doubleclickbidmanager_v1`
|
23
|
+
* Updated `gmail_v1`
|
24
|
+
* Updated `jobs_v3`
|
25
|
+
* Updated `jobs_v3p1beta1`
|
26
|
+
* Updated `ml_v1`
|
27
|
+
* Updated `monitoring_v3`
|
28
|
+
* Updated `pubsub_v1`
|
29
|
+
* Updated `serviceconsumermanagement_v1`
|
30
|
+
* Updated `servicenetworking_v1beta`
|
31
|
+
* Updated `testing_v1`
|
32
|
+
* Updated `texttospeech_v1`
|
33
|
+
* Updated `toolresults_v1beta3`
|
34
|
+
* Updated `vision_v1`
|
35
|
+
* Updated `vision_v1p1beta1`
|
36
|
+
* Updated `vision_v1p2beta1`
|
37
|
+
* Updated `youtube_partner_v1`
|
38
|
+
|
1
39
|
# 0.28.0
|
2
40
|
* Breaking changes:
|
3
41
|
* Deleted `monitoring_v1`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
26
26
|
module AccesscontextmanagerV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190121'
|
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'
|
@@ -560,8 +560,8 @@ module Google
|
|
560
560
|
# `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
|
561
561
|
# must be in the same policy as this `ServicePerimeter`. Referencing a
|
562
562
|
# nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
|
563
|
-
# listed, resources within the perimeter can only be accessed via GCP calls
|
564
|
-
# request origins within the perimeter. Example:
|
563
|
+
# listed, resources within the perimeter can only be accessed via GCP calls
|
564
|
+
# with request origins within the perimeter. Example:
|
565
565
|
# `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
|
566
566
|
# For Service Perimeter Bridge, must be empty.
|
567
567
|
# Corresponds to the JSON property `accessLevels`
|
@@ -592,9 +592,8 @@ module Google
|
|
592
592
|
# GCP services that are not subject to the Service Perimeter restrictions.
|
593
593
|
# May contain a list of services or a single wildcard "*". For example, if
|
594
594
|
# `logging.googleapis.com` is unrestricted, users can access logs inside the
|
595
|
-
# perimeter as if the perimeter doesn't exist, and it also means VMs inside
|
596
|
-
# perimeter
|
597
|
-
# can access logs outside the perimeter.
|
595
|
+
# perimeter as if the perimeter doesn't exist, and it also means VMs inside
|
596
|
+
# the perimeter can access logs outside the perimeter.
|
598
597
|
# The wildcard means that unless explicitly specified by
|
599
598
|
# "restricted_services" list, any service is treated as unrestricted. One of
|
600
599
|
# the fields "restricted_services", "unrestricted_services" must contain a
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/directory/
|
27
27
|
module AdminDirectoryV1
|
28
28
|
VERSION = 'DirectoryV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190118'
|
30
30
|
|
31
31
|
# View and manage customer related information
|
32
32
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
@@ -3236,6 +3236,16 @@ module Google
|
|
3236
3236
|
# @return [String]
|
3237
3237
|
attr_accessor :primary_email
|
3238
3238
|
|
3239
|
+
# Recovery email of the user.
|
3240
|
+
# Corresponds to the JSON property `recoveryEmail`
|
3241
|
+
# @return [String]
|
3242
|
+
attr_accessor :recovery_email
|
3243
|
+
|
3244
|
+
# Recovery phone of the user.
|
3245
|
+
# Corresponds to the JSON property `recoveryPhone`
|
3246
|
+
# @return [String]
|
3247
|
+
attr_accessor :recovery_phone
|
3248
|
+
|
3239
3249
|
#
|
3240
3250
|
# Corresponds to the JSON property `relations`
|
3241
3251
|
# @return [Object]
|
@@ -3315,6 +3325,8 @@ module Google
|
|
3315
3325
|
@phones = args[:phones] if args.key?(:phones)
|
3316
3326
|
@posix_accounts = args[:posix_accounts] if args.key?(:posix_accounts)
|
3317
3327
|
@primary_email = args[:primary_email] if args.key?(:primary_email)
|
3328
|
+
@recovery_email = args[:recovery_email] if args.key?(:recovery_email)
|
3329
|
+
@recovery_phone = args[:recovery_phone] if args.key?(:recovery_phone)
|
3318
3330
|
@relations = args[:relations] if args.key?(:relations)
|
3319
3331
|
@ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
|
3320
3332
|
@suspended = args[:suspended] if args.key?(:suspended)
|
@@ -3981,7 +3993,7 @@ module Google
|
|
3981
3993
|
class UserPosixAccount
|
3982
3994
|
include Google::Apis::Core::Hashable
|
3983
3995
|
|
3984
|
-
# A POSIX account field identifier.
|
3996
|
+
# A POSIX account field identifier.
|
3985
3997
|
# Corresponds to the JSON property `accountId`
|
3986
3998
|
# @return [String]
|
3987
3999
|
attr_accessor :account_id
|
@@ -1350,6 +1350,8 @@ module Google
|
|
1350
1350
|
property :phones, as: 'phones'
|
1351
1351
|
property :posix_accounts, as: 'posixAccounts'
|
1352
1352
|
property :primary_email, as: 'primaryEmail'
|
1353
|
+
property :recovery_email, as: 'recoveryEmail'
|
1354
|
+
property :recovery_phone, as: 'recoveryPhone'
|
1353
1355
|
property :relations, as: 'relations'
|
1354
1356
|
property :ssh_public_keys, as: 'sshPublicKeys'
|
1355
1357
|
property :suspended, as: 'suspended'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190117'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -570,7 +570,7 @@ module Google
|
|
570
570
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
|
571
571
|
attr_accessor :auto_install_constraint
|
572
572
|
|
573
|
-
# The auto install mode. If unset defaults to
|
573
|
+
# The auto install mode. If unset defaults to "doNotAutoInstall".
|
574
574
|
# Corresponds to the JSON property `autoInstallMode`
|
575
575
|
# @return [String]
|
576
576
|
attr_accessor :auto_install_mode
|
@@ -2951,7 +2951,8 @@ module Google
|
|
2951
2951
|
# @return [String]
|
2952
2952
|
attr_accessor :display_mode
|
2953
2953
|
|
2954
|
-
# A list of icons representing this website.
|
2954
|
+
# A list of icons representing this website. If absent, a default icon (for
|
2955
|
+
# create) or the current icon (for update) will be used.
|
2955
2956
|
# Corresponds to the JSON property `icons`
|
2956
2957
|
# @return [Array<Google::Apis::AndroidenterpriseV1::WebAppIcon>]
|
2957
2958
|
attr_accessor :icons
|
@@ -530,39 +530,6 @@ module Google
|
|
530
530
|
execute_or_queue_command(command, &block)
|
531
531
|
end
|
532
532
|
|
533
|
-
# Deprecated and unused.
|
534
|
-
# @param [String] enterprise_id
|
535
|
-
# The ID of the enterprise.
|
536
|
-
# @param [String] fields
|
537
|
-
# Selector specifying which fields to include in a partial response.
|
538
|
-
# @param [String] quota_user
|
539
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
540
|
-
# characters.
|
541
|
-
# @param [String] user_ip
|
542
|
-
# Deprecated. Please use quotaUser instead.
|
543
|
-
# @param [Google::Apis::RequestOptions] options
|
544
|
-
# Request-specific options
|
545
|
-
#
|
546
|
-
# @yield [result, err] Result & error if block supplied
|
547
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] parsed result object
|
548
|
-
# @yieldparam err [StandardError] error object if request failed
|
549
|
-
#
|
550
|
-
# @return [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig]
|
551
|
-
#
|
552
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
553
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
554
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
555
|
-
def get_enterprise_android_device_policy_config(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
556
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/androidDevicePolicyConfig', options)
|
557
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation
|
558
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig
|
559
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
560
|
-
command.query['fields'] = fields unless fields.nil?
|
561
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
562
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
563
|
-
execute_or_queue_command(command, &block)
|
564
|
-
end
|
565
|
-
|
566
533
|
# Returns a service account and credentials. The service account can be bound to
|
567
534
|
# the enterprise by calling setAccount. The service account is unique to this
|
568
535
|
# enterprise and EMM, and will be deleted if the enterprise is unbound. The
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV1_1
|
27
27
|
VERSION = 'V1_1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190120'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -68,6 +68,7 @@ module Google
|
|
68
68
|
# are:
|
69
69
|
# - Test (i.e. purchased from a license testing account)
|
70
70
|
# - Promo (i.e. purchased using a promo code)
|
71
|
+
# - Rewarded (i.e. from watching a video ad instead of paying)
|
71
72
|
# Corresponds to the JSON property `purchaseType`
|
72
73
|
# @return [Fixnum]
|
73
74
|
attr_accessor :purchase_type
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190120'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -1110,6 +1110,7 @@ module Google
|
|
1110
1110
|
# are:
|
1111
1111
|
# - Test (i.e. purchased from a license testing account)
|
1112
1112
|
# - Promo (i.e. purchased using a promo code)
|
1113
|
+
# - Rewarded (i.e. from watching a video ad instead of paying)
|
1113
1114
|
# Corresponds to the JSON property `purchaseType`
|
1114
1115
|
# @return [Fixnum]
|
1115
1116
|
attr_accessor :purchase_type
|
@@ -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 = '20190120'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -1084,6 +1084,7 @@ module Google
|
|
1084
1084
|
# are:
|
1085
1085
|
# - Test (i.e. purchased from a license testing account)
|
1086
1086
|
# - Promo (i.e. purchased using a promo code)
|
1087
|
+
# - Rewarded (i.e. from watching a video ad instead of paying)
|
1087
1088
|
# Corresponds to the JSON property `purchaseType`
|
1088
1089
|
# @return [Fixnum]
|
1089
1090
|
attr_accessor :purchase_type
|
@@ -18,15 +18,15 @@ require 'google/apis/appsmarket_v2/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# G Suite Marketplace API
|
22
22
|
#
|
23
|
-
# Lets your
|
23
|
+
# Lets your G Suite Marketplace applications integrate with Google's licensing
|
24
24
|
# service
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/google-apps/marketplace/v2/developers_guide
|
27
27
|
module AppsmarketV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190124'
|
30
30
|
|
31
31
|
# View your installed application's licensing information
|
32
32
|
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
|
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module AppsmarketV2
|
23
|
-
#
|
23
|
+
# G Suite Marketplace API
|
24
24
|
#
|
25
|
-
# Lets your
|
25
|
+
# Lets your G Suite Marketplace applications integrate with Google's licensing
|
26
26
|
# service
|
27
27
|
#
|
28
28
|
# @example
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
27
27
|
module BigquerydatatransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190119'
|
30
30
|
|
31
31
|
# View and manage your data in Google BigQuery
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -515,6 +515,48 @@ module Google
|
|
515
515
|
end
|
516
516
|
end
|
517
517
|
|
518
|
+
# Options customizing the data transfer schedule.
|
519
|
+
class ScheduleOptions
|
520
|
+
include Google::Apis::Core::Hashable
|
521
|
+
|
522
|
+
# If true, automatic scheduling of data transfer runs for this configuration
|
523
|
+
# will be disabled. The runs can be started on ad-hoc basis using
|
524
|
+
# StartManualTransferRuns API. When automatic scheduling is disabled, the
|
525
|
+
# TransferConfig.schedule field will be ignored.
|
526
|
+
# Corresponds to the JSON property `disableAutoScheduling`
|
527
|
+
# @return [Boolean]
|
528
|
+
attr_accessor :disable_auto_scheduling
|
529
|
+
alias_method :disable_auto_scheduling?, :disable_auto_scheduling
|
530
|
+
|
531
|
+
# Defines time to stop scheduling transfer runs. A transfer run cannot be
|
532
|
+
# scheduled at or after the end time. The end time can be changed at any
|
533
|
+
# moment. The time when a data transfer can be trigerred manually is not
|
534
|
+
# limited by this option.
|
535
|
+
# Corresponds to the JSON property `endTime`
|
536
|
+
# @return [String]
|
537
|
+
attr_accessor :end_time
|
538
|
+
|
539
|
+
# Specifies time to start scheduling transfer runs. The first run will be
|
540
|
+
# scheduled at or after the start time according to a recurrence pattern
|
541
|
+
# defined in the schedule string. The start time can be changed at any
|
542
|
+
# moment. The time when a data transfer can be trigerred manually is not
|
543
|
+
# limited by this option.
|
544
|
+
# Corresponds to the JSON property `startTime`
|
545
|
+
# @return [String]
|
546
|
+
attr_accessor :start_time
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@disable_auto_scheduling = args[:disable_auto_scheduling] if args.key?(:disable_auto_scheduling)
|
555
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
556
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
518
560
|
# A request to schedule transfer runs for a time range.
|
519
561
|
class ScheduleTransferRunsRequest
|
520
562
|
include Google::Apis::Core::Hashable
|
@@ -717,6 +759,11 @@ module Google
|
|
717
759
|
# @return [String]
|
718
760
|
attr_accessor :schedule
|
719
761
|
|
762
|
+
# Options customizing the data transfer schedule.
|
763
|
+
# Corresponds to the JSON property `scheduleOptions`
|
764
|
+
# @return [Google::Apis::BigquerydatatransferV1::ScheduleOptions]
|
765
|
+
attr_accessor :schedule_options
|
766
|
+
|
720
767
|
# Output only. State of the most recently updated transfer run.
|
721
768
|
# Corresponds to the JSON property `state`
|
722
769
|
# @return [String]
|
@@ -748,6 +795,7 @@ module Google
|
|
748
795
|
@next_run_time = args[:next_run_time] if args.key?(:next_run_time)
|
749
796
|
@params = args[:params] if args.key?(:params)
|
750
797
|
@schedule = args[:schedule] if args.key?(:schedule)
|
798
|
+
@schedule_options = args[:schedule_options] if args.key?(:schedule_options)
|
751
799
|
@state = args[:state] if args.key?(:state)
|
752
800
|
@update_time = args[:update_time] if args.key?(:update_time)
|
753
801
|
@user_id = args[:user_id] if args.key?(:user_id)
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class ScheduleOptions
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class ScheduleTransferRunsRequest
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -246,6 +252,15 @@ module Google
|
|
246
252
|
end
|
247
253
|
end
|
248
254
|
|
255
|
+
class ScheduleOptions
|
256
|
+
# @private
|
257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
+
property :disable_auto_scheduling, as: 'disableAutoScheduling'
|
259
|
+
property :end_time, as: 'endTime'
|
260
|
+
property :start_time, as: 'startTime'
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
249
264
|
class ScheduleTransferRunsRequest
|
250
265
|
# @private
|
251
266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -284,6 +299,8 @@ module Google
|
|
284
299
|
property :next_run_time, as: 'nextRunTime'
|
285
300
|
hash :params, as: 'params'
|
286
301
|
property :schedule, as: 'schedule'
|
302
|
+
property :schedule_options, as: 'scheduleOptions', class: Google::Apis::BigquerydatatransferV1::ScheduleOptions, decorator: Google::Apis::BigquerydatatransferV1::ScheduleOptions::Representation
|
303
|
+
|
287
304
|
property :state, as: 'state'
|
288
305
|
property :update_time, as: 'updateTime'
|
289
306
|
property :user_id, :numeric_string => true, as: 'userId'
|
@@ -2133,6 +2133,11 @@ module Google
|
|
2133
2133
|
# @return [String]
|
2134
2134
|
attr_accessor :target_url
|
2135
2135
|
|
2136
|
+
#
|
2137
|
+
# Corresponds to the JSON property `timeToExpireMs`
|
2138
|
+
# @return [Fixnum]
|
2139
|
+
attr_accessor :time_to_expire_ms
|
2140
|
+
|
2136
2141
|
#
|
2137
2142
|
# Corresponds to the JSON property `title`
|
2138
2143
|
# @return [String]
|
@@ -2158,6 +2163,7 @@ module Google
|
|
2158
2163
|
@reason = args[:reason] if args.key?(:reason)
|
2159
2164
|
@show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action)
|
2160
2165
|
@target_url = args[:target_url] if args.key?(:target_url)
|
2166
|
+
@time_to_expire_ms = args[:time_to_expire_ms] if args.key?(:time_to_expire_ms)
|
2161
2167
|
@title = args[:title] if args.key?(:title)
|
2162
2168
|
end
|
2163
2169
|
end
|