google-api-client 0.9.11 → 0.9.12
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 +4 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/api_names.yaml +55 -117
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1/service.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +371 -1
- data/generated/google/apis/analytics_v3/representations.rb +135 -0
- data/generated/google/apis/analytics_v3/service.rb +218 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
- data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
- data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
- data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -2
- data/generated/google/apis/bigquery_v2/representations.rb +6 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/classroom_v1/classes.rb +176 -37
- data/generated/google/apis/classroom_v1/representations.rb +73 -9
- data/generated/google/apis/classroom_v1/service.rb +392 -37
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +599 -77
- data/generated/google/apis/compute_beta/representations.rb +240 -0
- data/generated/google/apis/compute_beta/service.rb +1999 -710
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +140 -58
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +462 -521
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +689 -1
- data/generated/google/apis/content_v2/representations.rb +316 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -0
- data/generated/google/apis/fitness_v1/representations.rb +1 -0
- data/generated/google/apis/fitness_v1/service.rb +2 -2
- data/generated/google/apis/fitness_v1.rb +7 -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/classes.rb +13 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -11
- data/generated/google/apis/gmail_v1/service.rb +5 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +340 -421
- data/generated/google/apis/monitoring_v3/representations.rb +0 -17
- data/generated/google/apis/monitoring_v3/service.rb +136 -168
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +35 -0
- data/generated/google/apis/sheets_v4/representations.rb +16 -0
- data/generated/google/apis/sheets_v4/service.rb +55 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +36 -1
- data/generated/google/apis/storage_v1/representations.rb +16 -0
- data/generated/google/apis/storage_v1/service.rb +18 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/dfareporting_v2_6/service.rb'
|
|
16
|
+
require 'google/apis/dfareporting_v2_6/classes.rb'
|
|
17
|
+
require 'google/apis/dfareporting_v2_6/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# DCM/DFA Reporting And Trafficking API
|
|
22
|
+
#
|
|
23
|
+
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
|
24
|
+
#
|
|
25
|
+
# @see https://developers.google.com/doubleclick-advertisers/
|
|
26
|
+
module DfareportingV2_6
|
|
27
|
+
VERSION = 'V2_6'
|
|
28
|
+
REVISION = '20160803'
|
|
29
|
+
|
|
30
|
+
# Manage DoubleClick Digital Marketing conversions
|
|
31
|
+
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
|
32
|
+
|
|
33
|
+
# View and manage DoubleClick for Advertisers reports
|
|
34
|
+
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
|
35
|
+
|
|
36
|
+
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
|
|
37
|
+
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
|
27
27
|
module DoubleclicksearchV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20160810'
|
|
30
30
|
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
|
@@ -137,7 +137,7 @@ module Google
|
|
|
137
137
|
# @return [String]
|
|
138
138
|
attr_accessor :quota_type
|
|
139
139
|
|
|
140
|
-
# The number of remaining change ids.
|
|
140
|
+
# The number of remaining change ids, limited to no more than 2500.
|
|
141
141
|
# Corresponds to the JSON property `remainingChangeIds`
|
|
142
142
|
# @return [String]
|
|
143
143
|
attr_accessor :remaining_change_ids
|
|
@@ -151,6 +151,13 @@ module Google
|
|
|
151
151
|
# @return [String]
|
|
152
152
|
attr_accessor :end_time_millis
|
|
153
153
|
|
|
154
|
+
# A list of acceptable data quality standards. Only data points which conform to
|
|
155
|
+
# at least one of the specified data quality standards will be returned. If the
|
|
156
|
+
# list is empty, all data points are returned.
|
|
157
|
+
# Corresponds to the JSON property `filteredDataQualityStandard`
|
|
158
|
+
# @return [Array<String>]
|
|
159
|
+
attr_accessor :filtered_data_quality_standard
|
|
160
|
+
|
|
154
161
|
# The start of a window of time. Data that intersects with this time window will
|
|
155
162
|
# be aggregated. The time is in milliseconds since epoch, inclusive.
|
|
156
163
|
# Corresponds to the JSON property `startTimeMillis`
|
|
@@ -169,6 +176,7 @@ module Google
|
|
|
169
176
|
@bucket_by_session = args[:bucket_by_session] if args.key?(:bucket_by_session)
|
|
170
177
|
@bucket_by_time = args[:bucket_by_time] if args.key?(:bucket_by_time)
|
|
171
178
|
@end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
|
|
179
|
+
@filtered_data_quality_standard = args[:filtered_data_quality_standard] if args.key?(:filtered_data_quality_standard)
|
|
172
180
|
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
|
173
181
|
end
|
|
174
182
|
end
|
|
@@ -184,6 +184,7 @@ module Google
|
|
|
184
184
|
property :bucket_by_time, as: 'bucketByTime', class: Google::Apis::FitnessV1::BucketByTime, decorator: Google::Apis::FitnessV1::BucketByTime::Representation
|
|
185
185
|
|
|
186
186
|
property :end_time_millis, as: 'endTimeMillis'
|
|
187
|
+
collection :filtered_data_quality_standard, as: 'filteredDataQualityStandard'
|
|
187
188
|
property :start_time_millis, as: 'startTimeMillis'
|
|
188
189
|
end
|
|
189
190
|
end
|
|
@@ -381,8 +381,8 @@ module Google
|
|
|
381
381
|
# bit integers.
|
|
382
382
|
# @param [Fixnum] limit
|
|
383
383
|
# If specified, no more than this many data points will be included in the
|
|
384
|
-
# dataset. If
|
|
385
|
-
#
|
|
384
|
+
# dataset. If there are more data points in the dataset, nextPageToken will be
|
|
385
|
+
# set in the dataset response.
|
|
386
386
|
# @param [String] page_token
|
|
387
387
|
# The continuation token, which is used to page through large datasets. To get
|
|
388
388
|
# the next page of a dataset, set this parameter to the value of nextPageToken
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
|
26
26
|
module FitnessV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160801'
|
|
29
29
|
|
|
30
30
|
# View your activity information in Google Fit
|
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
|
@@ -44,6 +44,12 @@ module Google
|
|
|
44
44
|
|
|
45
45
|
# View and store your location data in Google Fit
|
|
46
46
|
AUTH_FITNESS_LOCATION_WRITE = 'https://www.googleapis.com/auth/fitness.location.write'
|
|
47
|
+
|
|
48
|
+
# View nutrition information in Google Fit
|
|
49
|
+
AUTH_FITNESS_NUTRITION_READ = 'https://www.googleapis.com/auth/fitness.nutrition.read'
|
|
50
|
+
|
|
51
|
+
# View and store nutrition information in Google Fit
|
|
52
|
+
AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
|
|
47
53
|
end
|
|
48
54
|
end
|
|
49
55
|
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services
|
|
26
26
|
module GamesConfigurationV1configuration
|
|
27
27
|
VERSION = 'V1configuration'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160810'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services
|
|
26
26
|
module GamesManagementV1management
|
|
27
27
|
VERSION = 'V1management'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160810'
|
|
29
29
|
|
|
30
30
|
# Share your Google+ profile information and view and manage your game activity
|
|
31
31
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
|
26
26
|
module GamesV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160810'
|
|
29
29
|
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
|
@@ -531,6 +531,17 @@ module Google
|
|
|
531
531
|
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
|
532
532
|
attr_accessor :annotations
|
|
533
533
|
|
|
534
|
+
# A unique request ID which enables the server to detect duplicated requests. If
|
|
535
|
+
# provided, duplicated requests will result in the same response; if not
|
|
536
|
+
# provided, duplicated requests may result in duplicated data. For a given
|
|
537
|
+
# annotation set, callers should not reuse `request_id`s when writing different
|
|
538
|
+
# batches of annotations - behavior in this case is undefined. A common approach
|
|
539
|
+
# is to use a UUID. For batch jobs where worker crashes are a possibility,
|
|
540
|
+
# consider using some unique variant of a worker or run ID.
|
|
541
|
+
# Corresponds to the JSON property `requestId`
|
|
542
|
+
# @return [String]
|
|
543
|
+
attr_accessor :request_id
|
|
544
|
+
|
|
534
545
|
def initialize(**args)
|
|
535
546
|
update!(**args)
|
|
536
547
|
end
|
|
@@ -538,6 +549,7 @@ module Google
|
|
|
538
549
|
# Update properties of this object
|
|
539
550
|
def update!(**args)
|
|
540
551
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
552
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
|
541
553
|
end
|
|
542
554
|
end
|
|
543
555
|
|
|
@@ -2768,8 +2780,7 @@ module Google
|
|
|
2768
2780
|
|
|
2769
2781
|
# Only return variant calls which belong to call sets with these ids. Leaving
|
|
2770
2782
|
# this blank returns all variant calls. If a variant has no calls belonging to
|
|
2771
|
-
# any of these call sets, it won't be returned at all.
|
|
2772
|
-
# no calls from any call set will never be returned.
|
|
2783
|
+
# any of these call sets, it won't be returned at all.
|
|
2773
2784
|
# Corresponds to the JSON property `callSetIds`
|
|
2774
2785
|
# @return [Array<String>]
|
|
2775
2786
|
attr_accessor :call_set_ids
|
|
@@ -624,6 +624,7 @@ module Google
|
|
|
624
624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
625
625
|
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
|
626
626
|
|
|
627
|
+
property :request_id, as: 'requestId'
|
|
627
628
|
end
|
|
628
629
|
end
|
|
629
630
|
|
|
@@ -911,9 +911,8 @@ module Google
|
|
|
911
911
|
# definitions of read group sets and other genomics resources, see [Fundamentals
|
|
912
912
|
# of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
|
913
913
|
# genomics) Note that currently there may be some differences between exported
|
|
914
|
-
# BAM files and the original BAM file at the time of import. See
|
|
915
|
-
# ImportReadGroupSets
|
|
916
|
-
# caveats.
|
|
914
|
+
# BAM files and the original BAM file at the time of import. See
|
|
915
|
+
# ImportReadGroupSets for caveats.
|
|
917
916
|
# @param [String] read_group_set_id
|
|
918
917
|
# Required. The ID of the read group set to export. The caller must have READ
|
|
919
918
|
# access to this read group set.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics/
|
|
26
26
|
module GenomicsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160809'
|
|
29
29
|
|
|
30
30
|
# View and manage your data in Google BigQuery
|
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -975,10 +975,7 @@ module Google
|
|
|
975
975
|
class PopSettings
|
|
976
976
|
include Google::Apis::Core::Hashable
|
|
977
977
|
|
|
978
|
-
# The range of messages which are accessible via POP.
|
|
979
|
-
# FROM_NOW_ON causes any existing messages to become inaccessible and causes all
|
|
980
|
-
# future messages to become accessible. Setting this to ALL_MAIL causes all
|
|
981
|
-
# messages to become accessible, even if they have been fetched previously.
|
|
978
|
+
# The range of messages which are accessible via POP.
|
|
982
979
|
# Corresponds to the JSON property `accessWindow`
|
|
983
980
|
# @return [String]
|
|
984
981
|
attr_accessor :access_window
|
|
@@ -1055,9 +1052,9 @@ module Google
|
|
|
1055
1052
|
# Whether this address is selected as the default "From:" address in situations
|
|
1056
1053
|
# such as composing a new message or sending a vacation auto-reply. Every Gmail
|
|
1057
1054
|
# account has exactly one default send-as address, so the only legal value that
|
|
1058
|
-
# clients may write to this field is
|
|
1059
|
-
#
|
|
1060
|
-
#
|
|
1055
|
+
# clients may write to this field is true. Changing this from false to true for
|
|
1056
|
+
# an address will result in this field becoming false for the other previous
|
|
1057
|
+
# default address.
|
|
1061
1058
|
# Corresponds to the JSON property `isDefault`
|
|
1062
1059
|
# @return [Boolean]
|
|
1063
1060
|
attr_accessor :is_default
|
|
@@ -1225,8 +1222,8 @@ module Google
|
|
|
1225
1222
|
|
|
1226
1223
|
# An optional end time for sending auto-replies (epoch ms). When this is
|
|
1227
1224
|
# specified, Gmail will automatically reply only to messages that it receives
|
|
1228
|
-
# before the end time. If both
|
|
1229
|
-
#
|
|
1225
|
+
# before the end time. If both startTime and endTime are specified, startTime
|
|
1226
|
+
# must precede endTime.
|
|
1230
1227
|
# Corresponds to the JSON property `endTime`
|
|
1231
1228
|
# @return [String]
|
|
1232
1229
|
attr_accessor :end_time
|
|
@@ -1264,8 +1261,8 @@ module Google
|
|
|
1264
1261
|
|
|
1265
1262
|
# An optional start time for sending auto-replies (epoch ms). When this is
|
|
1266
1263
|
# specified, Gmail will automatically reply only to messages that it receives
|
|
1267
|
-
# after the start time. If both
|
|
1268
|
-
#
|
|
1264
|
+
# after the start time. If both startTime and endTime are specified, startTime
|
|
1265
|
+
# must precede endTime.
|
|
1269
1266
|
# Corresponds to the JSON property `startTime`
|
|
1270
1267
|
# @return [String]
|
|
1271
1268
|
attr_accessor :start_time
|
|
@@ -1700,8 +1700,8 @@ module Google
|
|
|
1700
1700
|
|
|
1701
1701
|
# Creates a forwarding address. If ownership verification is required, a message
|
|
1702
1702
|
# will be sent to the recipient and the resource's verification status will be
|
|
1703
|
-
# set to
|
|
1704
|
-
# status set to
|
|
1703
|
+
# set to pending; otherwise, the resource will be created with verification
|
|
1704
|
+
# status set to accepted.
|
|
1705
1705
|
# @param [String] user_id
|
|
1706
1706
|
# User's email address. The special value "me" can be used to indicate the
|
|
1707
1707
|
# authenticated user.
|
|
@@ -1857,8 +1857,8 @@ module Google
|
|
|
1857
1857
|
# attempt to connect to the SMTP service to validate the configuration before
|
|
1858
1858
|
# creating the alias. If ownership verification is required for the alias, a
|
|
1859
1859
|
# message will be sent to the email address and the resource's verification
|
|
1860
|
-
# status will be set to
|
|
1861
|
-
# verification status set to
|
|
1860
|
+
# status will be set to pending; otherwise, the resource will be created with
|
|
1861
|
+
# verification status set to accepted. If a signature is provided, Gmail will
|
|
1862
1862
|
# sanitize the HTML before saving it with the alias.
|
|
1863
1863
|
# @param [String] user_id
|
|
1864
1864
|
# User's email address. The special value "me" can be used to indicate the
|
|
@@ -2101,7 +2101,7 @@ module Google
|
|
|
2101
2101
|
end
|
|
2102
2102
|
|
|
2103
2103
|
# Sends a verification email to the specified send-as alias address. The
|
|
2104
|
-
# verification status must be
|
|
2104
|
+
# verification status must be pending.
|
|
2105
2105
|
# @param [String] user_id
|
|
2106
2106
|
# User's email address. The special value "me" can be used to indicate the
|
|
2107
2107
|
# authenticated user.
|
|
@@ -284,6 +284,12 @@ module Google
|
|
|
284
284
|
# @return [String]
|
|
285
285
|
attr_accessor :app_id
|
|
286
286
|
|
|
287
|
+
# Explicitly specify the auth flow type. Currently only support "CODE_FLOW" type.
|
|
288
|
+
# The field is only used for Google provider.
|
|
289
|
+
# Corresponds to the JSON property `authFlowType`
|
|
290
|
+
# @return [String]
|
|
291
|
+
attr_accessor :auth_flow_type
|
|
292
|
+
|
|
287
293
|
# The relying party OAuth client ID.
|
|
288
294
|
# Corresponds to the JSON property `clientId`
|
|
289
295
|
# @return [String]
|
|
@@ -300,6 +306,12 @@ module Google
|
|
|
300
306
|
# @return [String]
|
|
301
307
|
attr_accessor :continue_uri
|
|
302
308
|
|
|
309
|
+
# The hosted domain to restrict sign-in to accounts at that domain for Google
|
|
310
|
+
# Apps hosted accounts.
|
|
311
|
+
# Corresponds to the JSON property `hostedDomain`
|
|
312
|
+
# @return [String]
|
|
313
|
+
attr_accessor :hosted_domain
|
|
314
|
+
|
|
303
315
|
# The email or federated ID of the user.
|
|
304
316
|
# Corresponds to the JSON property `identifier`
|
|
305
317
|
# @return [String]
|
|
@@ -333,6 +345,11 @@ module Google
|
|
|
333
345
|
# @return [String]
|
|
334
346
|
attr_accessor :provider_id
|
|
335
347
|
|
|
348
|
+
# The session_id passed by client.
|
|
349
|
+
# Corresponds to the JSON property `sessionId`
|
|
350
|
+
# @return [String]
|
|
351
|
+
attr_accessor :session_id
|
|
352
|
+
|
|
336
353
|
def initialize(**args)
|
|
337
354
|
update!(**args)
|
|
338
355
|
end
|
|
@@ -340,15 +357,18 @@ module Google
|
|
|
340
357
|
# Update properties of this object
|
|
341
358
|
def update!(**args)
|
|
342
359
|
@app_id = args[:app_id] if args.key?(:app_id)
|
|
360
|
+
@auth_flow_type = args[:auth_flow_type] if args.key?(:auth_flow_type)
|
|
343
361
|
@client_id = args[:client_id] if args.key?(:client_id)
|
|
344
362
|
@context = args[:context] if args.key?(:context)
|
|
345
363
|
@continue_uri = args[:continue_uri] if args.key?(:continue_uri)
|
|
364
|
+
@hosted_domain = args[:hosted_domain] if args.key?(:hosted_domain)
|
|
346
365
|
@identifier = args[:identifier] if args.key?(:identifier)
|
|
347
366
|
@oauth_consumer_key = args[:oauth_consumer_key] if args.key?(:oauth_consumer_key)
|
|
348
367
|
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
|
349
368
|
@openid_realm = args[:openid_realm] if args.key?(:openid_realm)
|
|
350
369
|
@ota_app = args[:ota_app] if args.key?(:ota_app)
|
|
351
370
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
|
371
|
+
@session_id = args[:session_id] if args.key?(:session_id)
|
|
352
372
|
end
|
|
353
373
|
end
|
|
354
374
|
|
|
@@ -1581,6 +1601,11 @@ module Google
|
|
|
1581
1601
|
# @return [String]
|
|
1582
1602
|
attr_accessor :salt
|
|
1583
1603
|
|
|
1604
|
+
# User's screen name at Twitter.
|
|
1605
|
+
# Corresponds to the JSON property `screenName`
|
|
1606
|
+
# @return [String]
|
|
1607
|
+
attr_accessor :screen_name
|
|
1608
|
+
|
|
1584
1609
|
# Timestamp in seconds for valid login token.
|
|
1585
1610
|
# Corresponds to the JSON property `validSince`
|
|
1586
1611
|
# @return [String]
|
|
@@ -1609,6 +1634,7 @@ module Google
|
|
|
1609
1634
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
1610
1635
|
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
|
1611
1636
|
@salt = args[:salt] if args.key?(:salt)
|
|
1637
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
|
1612
1638
|
@valid_since = args[:valid_since] if args.key?(:valid_since)
|
|
1613
1639
|
@version = args[:version] if args.key?(:version)
|
|
1614
1640
|
end
|
|
@@ -1648,6 +1674,11 @@ module Google
|
|
|
1648
1674
|
# @return [String]
|
|
1649
1675
|
attr_accessor :raw_id
|
|
1650
1676
|
|
|
1677
|
+
# User's screen name at Twitter.
|
|
1678
|
+
# Corresponds to the JSON property `screenName`
|
|
1679
|
+
# @return [String]
|
|
1680
|
+
attr_accessor :screen_name
|
|
1681
|
+
|
|
1651
1682
|
def initialize(**args)
|
|
1652
1683
|
update!(**args)
|
|
1653
1684
|
end
|
|
@@ -1660,6 +1691,7 @@ module Google
|
|
|
1660
1691
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
1661
1692
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
|
1662
1693
|
@raw_id = args[:raw_id] if args.key?(:raw_id)
|
|
1694
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
|
1663
1695
|
end
|
|
1664
1696
|
end
|
|
1665
1697
|
end
|
|
@@ -1850,6 +1882,11 @@ module Google
|
|
|
1850
1882
|
# @return [String]
|
|
1851
1883
|
attr_accessor :refresh_token
|
|
1852
1884
|
|
|
1885
|
+
# The screen_name of a Twitter user.
|
|
1886
|
+
# Corresponds to the JSON property `screenName`
|
|
1887
|
+
# @return [String]
|
|
1888
|
+
attr_accessor :screen_name
|
|
1889
|
+
|
|
1853
1890
|
# The timezone of the user.
|
|
1854
1891
|
# Corresponds to the JSON property `timeZone`
|
|
1855
1892
|
# @return [String]
|
|
@@ -1899,6 +1936,7 @@ module Google
|
|
|
1899
1936
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
1900
1937
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
|
1901
1938
|
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
|
1939
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
|
1902
1940
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
1903
1941
|
@verified_provider = args[:verified_provider] if args.key?(:verified_provider)
|
|
1904
1942
|
end
|