google-api-client 0.9.8 → 0.9.15
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 +30 -0
- data/Gemfile +9 -1
- data/README.md +10 -2
- data/api_names.yaml +61 -110
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +160 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +46 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +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_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.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/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +722 -48
- data/generated/google/apis/androidenterprise_v1/representations.rb +305 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +1180 -146
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +430 -288
- data/generated/google/apis/appengine_v1beta5/representations.rb +84 -10
- data/generated/google/apis/appengine_v1beta5/service.rb +285 -25
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +254 -6
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -2
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +77 -0
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +16 -4
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2/service.rb +8 -2
- data/generated/google/apis/classroom_v1.rb +1 -1
- 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/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +320 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +136 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +157 -3
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +33 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +22 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +61 -39
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1620 -199
- data/generated/google/apis/compute_beta/representations.rb +563 -0
- data/generated/google/apis/compute_beta/service.rb +5123 -2690
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1717 -295
- data/generated/google/apis/compute_v1/representations.rb +536 -0
- data/generated/google/apis/compute_v1/service.rb +2038 -1041
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +709 -1
- data/generated/google/apis/content_v2/representations.rb +319 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +162 -50
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +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/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +11 -3
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +8 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +36 -16
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +8 -2
- data/generated/google/apis/fitness_v1/classes.rb +64 -6
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +111 -9
- data/generated/google/apis/genomics_v1/representations.rb +36 -0
- data/generated/google/apis/genomics_v1/service.rb +4 -7
- data/generated/google/apis/gmail_v1.rb +7 -1
- data/generated/google/apis/gmail_v1/classes.rb +540 -0
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +154 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +35 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +596 -0
- data/generated/google/apis/language_v1beta1/representations.rb +289 -0
- data/generated/google/apis/language_v1beta1/service.rb +154 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1328 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +711 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +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/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +521 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +219 -0
- data/generated/google/apis/speech_v1beta1/service.rb +268 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +26 -8
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +19 -10
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +10 -9
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +163 -2
- data/generated/google/apis/youtube_v3/representations.rb +82 -0
- data/generated/google/apis/youtube_v3/service.rb +6 -2
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/core/base_service.rb +10 -4
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +2 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/sync.rb +71 -0
- metadata +43 -13
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/sql/docs/reference/latest
|
|
27
27
|
module SqladminV1beta4
|
|
28
28
|
VERSION = 'V1beta4'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20160907'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -105,6 +105,11 @@ module Google
|
|
|
105
105
|
class BackupRun
|
|
106
106
|
include Google::Apis::Core::Hashable
|
|
107
107
|
|
|
108
|
+
# The description of this run, only applicable to on-demand backups.
|
|
109
|
+
# Corresponds to the JSON property `description`
|
|
110
|
+
# @return [String]
|
|
111
|
+
attr_accessor :description
|
|
112
|
+
|
|
108
113
|
# The time the backup operation completed in UTC timezone in RFC 3339 format,
|
|
109
114
|
# for example 2012-11-15T16:19:00.094Z.
|
|
110
115
|
# Corresponds to the JSON property `endTime`
|
|
@@ -154,6 +159,11 @@ module Google
|
|
|
154
159
|
# @return [String]
|
|
155
160
|
attr_accessor :status
|
|
156
161
|
|
|
162
|
+
# The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
|
163
|
+
# Corresponds to the JSON property `type`
|
|
164
|
+
# @return [String]
|
|
165
|
+
attr_accessor :type
|
|
166
|
+
|
|
157
167
|
# The start time of the backup window during which this the backup was attempted
|
|
158
168
|
# in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
|
|
159
169
|
# Corresponds to the JSON property `windowStartTime`
|
|
@@ -166,6 +176,7 @@ module Google
|
|
|
166
176
|
|
|
167
177
|
# Update properties of this object
|
|
168
178
|
def update!(**args)
|
|
179
|
+
@description = args[:description] if args.key?(:description)
|
|
169
180
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
170
181
|
@enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
|
|
171
182
|
@error = args[:error] if args.key?(:error)
|
|
@@ -175,6 +186,7 @@ module Google
|
|
|
175
186
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
176
187
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
177
188
|
@status = args[:status] if args.key?(:status)
|
|
189
|
+
@type = args[:type] if args.key?(:type)
|
|
178
190
|
@window_start_time = args[:window_start_time] if args.key?(:window_start_time)
|
|
179
191
|
end
|
|
180
192
|
end
|
|
@@ -555,7 +567,9 @@ module Google
|
|
|
555
567
|
attr_accessor :available
|
|
556
568
|
alias_method :available?, :available
|
|
557
569
|
|
|
558
|
-
# The name of the failover replica.
|
|
570
|
+
# The name of the failover replica. If specified at instance creation, a
|
|
571
|
+
# failover replica is created for the instance. The name doesn't include the
|
|
572
|
+
# project ID. This property is applicable only to Second Generation instances.
|
|
559
573
|
# Corresponds to the JSON property `name`
|
|
560
574
|
# @return [String]
|
|
561
575
|
attr_accessor :name
|
|
@@ -1541,13 +1555,17 @@ module Google
|
|
|
1541
1555
|
class Settings
|
|
1542
1556
|
include Google::Apis::Core::Hashable
|
|
1543
1557
|
|
|
1544
|
-
# The activation policy
|
|
1545
|
-
#
|
|
1546
|
-
#
|
|
1547
|
-
#
|
|
1548
|
-
#
|
|
1549
|
-
#
|
|
1550
|
-
#
|
|
1558
|
+
# The activation policy specifies when the instance is activated; it is
|
|
1559
|
+
# applicable only when the instance state is RUNNABLE. The activation policy
|
|
1560
|
+
# cannot be updated together with other settings for Second Generation instances.
|
|
1561
|
+
# Valid values:
|
|
1562
|
+
# ALWAYS: The instance is on; it is not deactivated by inactivity.
|
|
1563
|
+
# NEVER: The instance is off; it is not activated, even if a connection request
|
|
1564
|
+
# arrives.
|
|
1565
|
+
# ON_DEMAND: The instance responds to incoming requests, and turns itself off
|
|
1566
|
+
# when not in use. Instances with PER_USE pricing turn off after 15 minutes of
|
|
1567
|
+
# inactivity. Instances with PER_PACKAGE pricing turn off after 12 hours of
|
|
1568
|
+
# inactivity.
|
|
1551
1569
|
# Corresponds to the JSON property `activationPolicy`
|
|
1552
1570
|
# @return [String]
|
|
1553
1571
|
attr_accessor :activation_policy
|
|
@@ -334,6 +334,7 @@ module Google
|
|
|
334
334
|
class BackupRun
|
|
335
335
|
# @private
|
|
336
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
337
|
+
property :description, as: 'description'
|
|
337
338
|
property :end_time, as: 'endTime', type: DateTime
|
|
338
339
|
|
|
339
340
|
property :enqueued_time, as: 'enqueuedTime', type: DateTime
|
|
@@ -347,6 +348,7 @@ module Google
|
|
|
347
348
|
property :start_time, as: 'startTime', type: DateTime
|
|
348
349
|
|
|
349
350
|
property :status, as: 'status'
|
|
351
|
+
property :type, as: 'type'
|
|
350
352
|
property :window_start_time, as: 'windowStartTime', type: DateTime
|
|
351
353
|
|
|
352
354
|
end
|
|
@@ -136,6 +136,48 @@ module Google
|
|
|
136
136
|
execute_or_queue_command(command, &block)
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
+
# Creates a new backup run on demand. This method is applicable only to Second
|
|
140
|
+
# Generation instances.
|
|
141
|
+
# @param [String] project
|
|
142
|
+
# Project ID of the project that contains the instance.
|
|
143
|
+
# @param [String] instance
|
|
144
|
+
# Cloud SQL instance ID. This does not include the project ID.
|
|
145
|
+
# @param [Google::Apis::SqladminV1beta4::BackupRun] backup_run_object
|
|
146
|
+
# @param [String] fields
|
|
147
|
+
# Selector specifying which fields to include in a partial response.
|
|
148
|
+
# @param [String] quota_user
|
|
149
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
150
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
151
|
+
# Overrides userIp if both are provided.
|
|
152
|
+
# @param [String] user_ip
|
|
153
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
154
|
+
# enforce per-user limits.
|
|
155
|
+
# @param [Google::Apis::RequestOptions] options
|
|
156
|
+
# Request-specific options
|
|
157
|
+
#
|
|
158
|
+
# @yield [result, err] Result & error if block supplied
|
|
159
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
|
160
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
161
|
+
#
|
|
162
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
|
163
|
+
#
|
|
164
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
165
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
166
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
167
|
+
def insert_backup_run(project, instance, backup_run_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
168
|
+
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/backupRuns', options)
|
|
169
|
+
command.request_representation = Google::Apis::SqladminV1beta4::BackupRun::Representation
|
|
170
|
+
command.request_object = backup_run_object
|
|
171
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
|
172
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
|
173
|
+
command.params['project'] = project unless project.nil?
|
|
174
|
+
command.params['instance'] = instance unless instance.nil?
|
|
175
|
+
command.query['fields'] = fields unless fields.nil?
|
|
176
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
177
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
178
|
+
execute_or_queue_command(command, &block)
|
|
179
|
+
end
|
|
180
|
+
|
|
139
181
|
# Lists all backup runs associated with a given instance and configuration in
|
|
140
182
|
# the reverse chronological order of the enqueued time.
|
|
141
183
|
# @param [String] project
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160908'
|
|
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'
|
|
@@ -123,7 +123,9 @@ module Google
|
|
|
123
123
|
# @return [Google::Apis::StorageV1::Bucket::Versioning]
|
|
124
124
|
attr_accessor :versioning
|
|
125
125
|
|
|
126
|
-
# The bucket's website configuration
|
|
126
|
+
# The bucket's website configuration, controlling how the service behaves when
|
|
127
|
+
# accessing bucket contents as a web site. See the Static Website Examples for
|
|
128
|
+
# more information.
|
|
127
129
|
# Corresponds to the JSON property `website`
|
|
128
130
|
# @return [Google::Apis::StorageV1::Bucket::Website]
|
|
129
131
|
attr_accessor :website
|
|
@@ -377,17 +379,23 @@ module Google
|
|
|
377
379
|
end
|
|
378
380
|
end
|
|
379
381
|
|
|
380
|
-
# The bucket's website configuration
|
|
382
|
+
# The bucket's website configuration, controlling how the service behaves when
|
|
383
|
+
# accessing bucket contents as a web site. See the Static Website Examples for
|
|
384
|
+
# more information.
|
|
381
385
|
class Website
|
|
382
386
|
include Google::Apis::Core::Hashable
|
|
383
387
|
|
|
384
|
-
#
|
|
385
|
-
#
|
|
388
|
+
# If the requested object path is missing, the service will ensure the path has
|
|
389
|
+
# a trailing '/', append this suffix, and attempt to retrieve the resulting
|
|
390
|
+
# object. This allows the creation of index.html objects to represent directory
|
|
391
|
+
# pages.
|
|
386
392
|
# Corresponds to the JSON property `mainPageSuffix`
|
|
387
393
|
# @return [String]
|
|
388
394
|
attr_accessor :main_page_suffix
|
|
389
395
|
|
|
390
|
-
#
|
|
396
|
+
# If the requested object path is missing, and any mainPageSuffix object is
|
|
397
|
+
# missing, if applicable, the service will return the named object from this
|
|
398
|
+
# bucket as the content for a 404 Not Found result.
|
|
391
399
|
# Corresponds to the JSON property `notFoundPage`
|
|
392
400
|
# @return [String]
|
|
393
401
|
attr_accessor :not_found_page
|
|
@@ -466,7 +474,7 @@ module Google
|
|
|
466
474
|
# @return [Google::Apis::StorageV1::BucketAccessControl::ProjectTeam]
|
|
467
475
|
attr_accessor :project_team
|
|
468
476
|
|
|
469
|
-
# The access permission for the entity.
|
|
477
|
+
# The access permission for the entity.
|
|
470
478
|
# Corresponds to the JSON property `role`
|
|
471
479
|
# @return [String]
|
|
472
480
|
attr_accessor :role
|
|
@@ -504,7 +512,7 @@ module Google
|
|
|
504
512
|
# @return [String]
|
|
505
513
|
attr_accessor :project_number
|
|
506
514
|
|
|
507
|
-
# The team.
|
|
515
|
+
# The team.
|
|
508
516
|
# Corresponds to the JSON property `team`
|
|
509
517
|
# @return [String]
|
|
510
518
|
attr_accessor :team
|
|
@@ -755,7 +763,8 @@ module Google
|
|
|
755
763
|
# @return [String]
|
|
756
764
|
attr_accessor :bucket
|
|
757
765
|
|
|
758
|
-
# Cache-Control directive for the object data.
|
|
766
|
+
# Cache-Control directive for the object data. If omitted, and the object is
|
|
767
|
+
# accessible to all anonymous users, the default will be public, max-age=3600.
|
|
759
768
|
# Corresponds to the JSON property `cacheControl`
|
|
760
769
|
# @return [String]
|
|
761
770
|
attr_accessor :cache_control
|
|
@@ -1043,7 +1052,7 @@ module Google
|
|
|
1043
1052
|
# @return [Google::Apis::StorageV1::ObjectAccessControl::ProjectTeam]
|
|
1044
1053
|
attr_accessor :project_team
|
|
1045
1054
|
|
|
1046
|
-
# The access permission for the entity.
|
|
1055
|
+
# The access permission for the entity.
|
|
1047
1056
|
# Corresponds to the JSON property `role`
|
|
1048
1057
|
# @return [String]
|
|
1049
1058
|
attr_accessor :role
|
|
@@ -1083,7 +1092,7 @@ module Google
|
|
|
1083
1092
|
# @return [String]
|
|
1084
1093
|
attr_accessor :project_number
|
|
1085
1094
|
|
|
1086
|
-
# The team.
|
|
1095
|
+
# The team.
|
|
1087
1096
|
# Corresponds to the JSON property `team`
|
|
1088
1097
|
# @return [String]
|
|
1089
1098
|
attr_accessor :team
|
|
@@ -20,12 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Translate API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# Translates text from one language to another.
|
|
24
24
|
#
|
|
25
25
|
# @see https://developers.google.com/translate/v2/using_rest
|
|
26
26
|
module TranslateV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160627'
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
end
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20160822'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -668,15 +668,14 @@ module Google
|
|
|
668
668
|
attr_accessor :lat_long_rect
|
|
669
669
|
|
|
670
670
|
# List of languages to use for TEXT_DETECTION. In most cases, an empty value
|
|
671
|
-
#
|
|
672
|
-
#
|
|
673
|
-
#
|
|
674
|
-
#
|
|
675
|
-
#
|
|
676
|
-
#
|
|
677
|
-
#
|
|
678
|
-
#
|
|
679
|
-
# https://cloud.google.com/translate/v2/using_rest#language-params
|
|
671
|
+
# yields the best results since it enables automatic language detection. For
|
|
672
|
+
# languages based on the Latin alphabet, setting `language_hints` is not
|
|
673
|
+
# needed. In rare cases, when the language of the text in the image is known,
|
|
674
|
+
# setting a hint will help get better results (although it will be a
|
|
675
|
+
# significant hindrance if the hint is wrong). Text detection returns an
|
|
676
|
+
# error if one or more of the specified languages is not one of the
|
|
677
|
+
# [supported
|
|
678
|
+
# languages](/translate/v2/translate-reference#supported_languages).
|
|
680
679
|
# Corresponds to the JSON property `languageHints`
|
|
681
680
|
# @return [Array<String>]
|
|
682
681
|
attr_accessor :language_hints
|
|
@@ -1064,6 +1063,8 @@ module Google
|
|
|
1064
1063
|
attr_accessor :source
|
|
1065
1064
|
|
|
1066
1065
|
# Image content, represented as a stream of bytes.
|
|
1066
|
+
# Note: as with all `bytes` fields, protobuffers use a pure binary
|
|
1067
|
+
# representation, whereas JSON representations use base64.
|
|
1067
1068
|
# Corresponds to the JSON property `content`
|
|
1068
1069
|
# @return [String]
|
|
1069
1070
|
attr_accessor :content
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
|
26
26
|
module YoutubePartnerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160913'
|
|
29
29
|
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
|
@@ -1249,6 +1249,11 @@ module Google
|
|
|
1249
1249
|
# @return [DateTime]
|
|
1250
1250
|
attr_accessor :time_created
|
|
1251
1251
|
|
|
1252
|
+
# The time the claim status and/or status detail was last modified.
|
|
1253
|
+
# Corresponds to the JSON property `timeStatusLastModified`
|
|
1254
|
+
# @return [DateTime]
|
|
1255
|
+
attr_accessor :time_status_last_modified
|
|
1256
|
+
|
|
1252
1257
|
# The unique YouTube video ID that identifies the video associated with the
|
|
1253
1258
|
# claim.
|
|
1254
1259
|
# Corresponds to the JSON property `videoId`
|
|
@@ -1280,6 +1285,7 @@ module Google
|
|
|
1280
1285
|
@status = args[:status] if args.key?(:status)
|
|
1281
1286
|
@third_party_claim = args[:third_party_claim] if args.key?(:third_party_claim)
|
|
1282
1287
|
@time_created = args[:time_created] if args.key?(:time_created)
|
|
1288
|
+
@time_status_last_modified = args[:time_status_last_modified] if args.key?(:time_status_last_modified)
|
|
1283
1289
|
@video_id = args[:video_id] if args.key?(:video_id)
|
|
1284
1290
|
@video_title = args[:video_title] if args.key?(:video_title)
|
|
1285
1291
|
@video_views = args[:video_views] if args.key?(:video_views)
|
|
@@ -856,6 +856,8 @@ module Google
|
|
|
856
856
|
property :third_party_claim, as: 'thirdPartyClaim'
|
|
857
857
|
property :time_created, as: 'timeCreated', type: DateTime
|
|
858
858
|
|
|
859
|
+
property :time_status_last_modified, as: 'timeStatusLastModified', type: DateTime
|
|
860
|
+
|
|
859
861
|
property :video_id, as: 'videoId'
|
|
860
862
|
property :video_title, as: 'videoTitle'
|
|
861
863
|
property :video_views, as: 'videoViews'
|
|
@@ -1066,10 +1066,10 @@ module Google
|
|
|
1066
1066
|
# to retrieve.
|
|
1067
1067
|
# @param [DateTime] created_after
|
|
1068
1068
|
# The createdAfter parameter allows you to restrict the set of returned claims
|
|
1069
|
-
# to ones
|
|
1069
|
+
# to ones created on or after the specified date (inclusive).
|
|
1070
1070
|
# @param [DateTime] created_before
|
|
1071
1071
|
# The createdBefore parameter allows you to restrict the set of returned claims
|
|
1072
|
-
# to ones
|
|
1072
|
+
# to ones created before the specified date (exclusive).
|
|
1073
1073
|
# @param [String] inactive_reasons
|
|
1074
1074
|
# The inactiveReasons parameter allows you to specify what kind of inactive
|
|
1075
1075
|
# claims you want to find based on the reasons why the claims became inactive.
|
|
@@ -1108,6 +1108,16 @@ module Google
|
|
|
1108
1108
|
# @param [String] status
|
|
1109
1109
|
# The status parameter restricts your results to only claims in the specified
|
|
1110
1110
|
# status.
|
|
1111
|
+
# @param [DateTime] status_modified_after
|
|
1112
|
+
# The statusModifiedAfter parameter allows you to restrict the result set to
|
|
1113
|
+
# only include claims that have had their status modified on or after the
|
|
1114
|
+
# specified date (inclusive). The date specified must be on or after June 30,
|
|
1115
|
+
# 2016 (2016-06-30). The parameter value's format is YYYY-MM-DD.
|
|
1116
|
+
# @param [DateTime] status_modified_before
|
|
1117
|
+
# The statusModifiedBefore parameter allows you to restrict the result set to
|
|
1118
|
+
# only include claims that have had their status modified before the specified
|
|
1119
|
+
# date (exclusive). The date specified must be on or after July 1, 2016 (2016-07-
|
|
1120
|
+
# 01). The parameter value's format is YYYY-MM-DD.
|
|
1111
1121
|
# @param [String] video_id
|
|
1112
1122
|
# The videoId parameter specifies comma-separated list of YouTube video IDs for
|
|
1113
1123
|
# which you are retrieving claims.
|
|
@@ -1132,7 +1142,7 @@ module Google
|
|
|
1132
1142
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1133
1143
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1134
1144
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1135
|
-
def list_claim_searches(asset_id: nil, content_type: nil, created_after: nil, created_before: nil, inactive_reasons: nil, include_third_party_claims: nil, on_behalf_of_content_owner: nil, origin: nil, page_token: nil, partner_uploaded: nil, q: nil, reference_id: nil, sort: nil, status: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1145
|
+
def list_claim_searches(asset_id: nil, content_type: nil, created_after: nil, created_before: nil, inactive_reasons: nil, include_third_party_claims: nil, on_behalf_of_content_owner: nil, origin: nil, page_token: nil, partner_uploaded: nil, q: nil, reference_id: nil, sort: nil, status: nil, status_modified_after: nil, status_modified_before: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1136
1146
|
command = make_simple_command(:get, 'claimSearch', options)
|
|
1137
1147
|
command.response_representation = Google::Apis::YoutubePartnerV1::ClaimSearchResponse::Representation
|
|
1138
1148
|
command.response_class = Google::Apis::YoutubePartnerV1::ClaimSearchResponse
|
|
@@ -1150,6 +1160,8 @@ module Google
|
|
|
1150
1160
|
command.query['referenceId'] = reference_id unless reference_id.nil?
|
|
1151
1161
|
command.query['sort'] = sort unless sort.nil?
|
|
1152
1162
|
command.query['status'] = status unless status.nil?
|
|
1163
|
+
command.query['statusModifiedAfter'] = status_modified_after unless status_modified_after.nil?
|
|
1164
|
+
command.query['statusModifiedBefore'] = status_modified_before unless status_modified_before.nil?
|
|
1153
1165
|
command.query['videoId'] = video_id unless video_id.nil?
|
|
1154
1166
|
command.query['fields'] = fields unless fields.nil?
|
|
1155
1167
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -2296,7 +2296,7 @@ module Google
|
|
|
2296
2296
|
end
|
|
2297
2297
|
|
|
2298
2298
|
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
|
|
2299
|
-
# NEXT_ID:
|
|
2299
|
+
# NEXT_ID: 68
|
|
2300
2300
|
class ContentRating
|
|
2301
2301
|
include Google::Apis::Core::Hashable
|
|
2302
2302
|
|
|
@@ -2461,6 +2461,11 @@ module Google
|
|
|
2461
2461
|
# @return [String]
|
|
2462
2462
|
attr_accessor :fpb_rating
|
|
2463
2463
|
|
|
2464
|
+
# Reasons that explain why the video received its FPB (South Africa) rating.
|
|
2465
|
+
# Corresponds to the JSON property `fpbRatingReasons`
|
|
2466
|
+
# @return [Array<String>]
|
|
2467
|
+
attr_accessor :fpb_rating_reasons
|
|
2468
|
+
|
|
2464
2469
|
# The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany)
|
|
2465
2470
|
# rating.
|
|
2466
2471
|
# Corresponds to the JSON property `fskRating`
|
|
@@ -2696,6 +2701,7 @@ module Google
|
|
|
2696
2701
|
@fco_rating = args[:fco_rating] if args.key?(:fco_rating)
|
|
2697
2702
|
@fmoc_rating = args[:fmoc_rating] if args.key?(:fmoc_rating)
|
|
2698
2703
|
@fpb_rating = args[:fpb_rating] if args.key?(:fpb_rating)
|
|
2704
|
+
@fpb_rating_reasons = args[:fpb_rating_reasons] if args.key?(:fpb_rating_reasons)
|
|
2699
2705
|
@fsk_rating = args[:fsk_rating] if args.key?(:fsk_rating)
|
|
2700
2706
|
@grfilm_rating = args[:grfilm_rating] if args.key?(:grfilm_rating)
|
|
2701
2707
|
@icaa_rating = args[:icaa_rating] if args.key?(:icaa_rating)
|
|
@@ -4533,6 +4539,26 @@ module Google
|
|
|
4533
4539
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails]
|
|
4534
4540
|
attr_accessor :message_retracted_details
|
|
4535
4541
|
|
|
4542
|
+
#
|
|
4543
|
+
# Corresponds to the JSON property `pollClosedDetails`
|
|
4544
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollClosedDetails]
|
|
4545
|
+
attr_accessor :poll_closed_details
|
|
4546
|
+
|
|
4547
|
+
#
|
|
4548
|
+
# Corresponds to the JSON property `pollEditedDetails`
|
|
4549
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollEditedDetails]
|
|
4550
|
+
attr_accessor :poll_edited_details
|
|
4551
|
+
|
|
4552
|
+
#
|
|
4553
|
+
# Corresponds to the JSON property `pollOpenedDetails`
|
|
4554
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollOpenedDetails]
|
|
4555
|
+
attr_accessor :poll_opened_details
|
|
4556
|
+
|
|
4557
|
+
#
|
|
4558
|
+
# Corresponds to the JSON property `pollVotedDetails`
|
|
4559
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollVotedDetails]
|
|
4560
|
+
attr_accessor :poll_voted_details
|
|
4561
|
+
|
|
4536
4562
|
# The date and time when the message was orignally published. The value is
|
|
4537
4563
|
# specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
|
|
4538
4564
|
# Corresponds to the JSON property `publishedAt`
|
|
@@ -4569,6 +4595,10 @@ module Google
|
|
|
4569
4595
|
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
|
4570
4596
|
@message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details)
|
|
4571
4597
|
@message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details)
|
|
4598
|
+
@poll_closed_details = args[:poll_closed_details] if args.key?(:poll_closed_details)
|
|
4599
|
+
@poll_edited_details = args[:poll_edited_details] if args.key?(:poll_edited_details)
|
|
4600
|
+
@poll_opened_details = args[:poll_opened_details] if args.key?(:poll_opened_details)
|
|
4601
|
+
@poll_voted_details = args[:poll_voted_details] if args.key?(:poll_voted_details)
|
|
4572
4602
|
@published_at = args[:published_at] if args.key?(:published_at)
|
|
4573
4603
|
@text_message_details = args[:text_message_details] if args.key?(:text_message_details)
|
|
4574
4604
|
@type = args[:type] if args.key?(:type)
|
|
@@ -4712,6 +4742,137 @@ module Google
|
|
|
4712
4742
|
end
|
|
4713
4743
|
end
|
|
4714
4744
|
|
|
4745
|
+
#
|
|
4746
|
+
class LiveChatPollClosedDetails
|
|
4747
|
+
include Google::Apis::Core::Hashable
|
|
4748
|
+
|
|
4749
|
+
# The id of the poll that was closed.
|
|
4750
|
+
# Corresponds to the JSON property `pollId`
|
|
4751
|
+
# @return [String]
|
|
4752
|
+
attr_accessor :poll_id
|
|
4753
|
+
|
|
4754
|
+
def initialize(**args)
|
|
4755
|
+
update!(**args)
|
|
4756
|
+
end
|
|
4757
|
+
|
|
4758
|
+
# Update properties of this object
|
|
4759
|
+
def update!(**args)
|
|
4760
|
+
@poll_id = args[:poll_id] if args.key?(:poll_id)
|
|
4761
|
+
end
|
|
4762
|
+
end
|
|
4763
|
+
|
|
4764
|
+
#
|
|
4765
|
+
class LiveChatPollEditedDetails
|
|
4766
|
+
include Google::Apis::Core::Hashable
|
|
4767
|
+
|
|
4768
|
+
#
|
|
4769
|
+
# Corresponds to the JSON property `id`
|
|
4770
|
+
# @return [String]
|
|
4771
|
+
attr_accessor :id
|
|
4772
|
+
|
|
4773
|
+
#
|
|
4774
|
+
# Corresponds to the JSON property `items`
|
|
4775
|
+
# @return [Array<Google::Apis::YoutubeV3::LiveChatPollItem>]
|
|
4776
|
+
attr_accessor :items
|
|
4777
|
+
|
|
4778
|
+
#
|
|
4779
|
+
# Corresponds to the JSON property `prompt`
|
|
4780
|
+
# @return [String]
|
|
4781
|
+
attr_accessor :prompt
|
|
4782
|
+
|
|
4783
|
+
def initialize(**args)
|
|
4784
|
+
update!(**args)
|
|
4785
|
+
end
|
|
4786
|
+
|
|
4787
|
+
# Update properties of this object
|
|
4788
|
+
def update!(**args)
|
|
4789
|
+
@id = args[:id] if args.key?(:id)
|
|
4790
|
+
@items = args[:items] if args.key?(:items)
|
|
4791
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
4792
|
+
end
|
|
4793
|
+
end
|
|
4794
|
+
|
|
4795
|
+
#
|
|
4796
|
+
class LiveChatPollItem
|
|
4797
|
+
include Google::Apis::Core::Hashable
|
|
4798
|
+
|
|
4799
|
+
# Plain text description of the item.
|
|
4800
|
+
# Corresponds to the JSON property `description`
|
|
4801
|
+
# @return [String]
|
|
4802
|
+
attr_accessor :description
|
|
4803
|
+
|
|
4804
|
+
#
|
|
4805
|
+
# Corresponds to the JSON property `itemId`
|
|
4806
|
+
# @return [String]
|
|
4807
|
+
attr_accessor :item_id
|
|
4808
|
+
|
|
4809
|
+
def initialize(**args)
|
|
4810
|
+
update!(**args)
|
|
4811
|
+
end
|
|
4812
|
+
|
|
4813
|
+
# Update properties of this object
|
|
4814
|
+
def update!(**args)
|
|
4815
|
+
@description = args[:description] if args.key?(:description)
|
|
4816
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
|
4817
|
+
end
|
|
4818
|
+
end
|
|
4819
|
+
|
|
4820
|
+
#
|
|
4821
|
+
class LiveChatPollOpenedDetails
|
|
4822
|
+
include Google::Apis::Core::Hashable
|
|
4823
|
+
|
|
4824
|
+
#
|
|
4825
|
+
# Corresponds to the JSON property `id`
|
|
4826
|
+
# @return [String]
|
|
4827
|
+
attr_accessor :id
|
|
4828
|
+
|
|
4829
|
+
#
|
|
4830
|
+
# Corresponds to the JSON property `items`
|
|
4831
|
+
# @return [Array<Google::Apis::YoutubeV3::LiveChatPollItem>]
|
|
4832
|
+
attr_accessor :items
|
|
4833
|
+
|
|
4834
|
+
#
|
|
4835
|
+
# Corresponds to the JSON property `prompt`
|
|
4836
|
+
# @return [String]
|
|
4837
|
+
attr_accessor :prompt
|
|
4838
|
+
|
|
4839
|
+
def initialize(**args)
|
|
4840
|
+
update!(**args)
|
|
4841
|
+
end
|
|
4842
|
+
|
|
4843
|
+
# Update properties of this object
|
|
4844
|
+
def update!(**args)
|
|
4845
|
+
@id = args[:id] if args.key?(:id)
|
|
4846
|
+
@items = args[:items] if args.key?(:items)
|
|
4847
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
4848
|
+
end
|
|
4849
|
+
end
|
|
4850
|
+
|
|
4851
|
+
#
|
|
4852
|
+
class LiveChatPollVotedDetails
|
|
4853
|
+
include Google::Apis::Core::Hashable
|
|
4854
|
+
|
|
4855
|
+
# The poll item the user chose.
|
|
4856
|
+
# Corresponds to the JSON property `itemId`
|
|
4857
|
+
# @return [String]
|
|
4858
|
+
attr_accessor :item_id
|
|
4859
|
+
|
|
4860
|
+
# The poll the user voted on.
|
|
4861
|
+
# Corresponds to the JSON property `pollId`
|
|
4862
|
+
# @return [String]
|
|
4863
|
+
attr_accessor :poll_id
|
|
4864
|
+
|
|
4865
|
+
def initialize(**args)
|
|
4866
|
+
update!(**args)
|
|
4867
|
+
end
|
|
4868
|
+
|
|
4869
|
+
# Update properties of this object
|
|
4870
|
+
def update!(**args)
|
|
4871
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
|
4872
|
+
@poll_id = args[:poll_id] if args.key?(:poll_id)
|
|
4873
|
+
end
|
|
4874
|
+
end
|
|
4875
|
+
|
|
4715
4876
|
#
|
|
4716
4877
|
class LiveChatTextMessageDetails
|
|
4717
4878
|
include Google::Apis::Core::Hashable
|
|
@@ -7119,7 +7280,7 @@ module Google
|
|
|
7119
7280
|
attr_accessor :caption
|
|
7120
7281
|
|
|
7121
7282
|
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
|
|
7122
|
-
# NEXT_ID:
|
|
7283
|
+
# NEXT_ID: 68
|
|
7123
7284
|
# Corresponds to the JSON property `contentRating`
|
|
7124
7285
|
# @return [Google::Apis::YoutubeV3::ContentRating]
|
|
7125
7286
|
attr_accessor :content_rating
|