google-api-client 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -31,6 +31,12 @@ module Google
|
|
31
31
|
include Google::Apis::Core::JsonObjectSupport
|
32
32
|
end
|
33
33
|
|
34
|
+
class Encryption
|
35
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
36
|
+
|
37
|
+
include Google::Apis::Core::JsonObjectSupport
|
38
|
+
end
|
39
|
+
|
34
40
|
class Lifecycle
|
35
41
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
36
42
|
|
@@ -187,6 +193,8 @@ module Google
|
|
187
193
|
|
188
194
|
collection :default_object_acl, as: 'defaultObjectAcl', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation
|
189
195
|
|
196
|
+
property :encryption, as: 'encryption', class: Google::Apis::StorageV1::Bucket::Encryption, decorator: Google::Apis::StorageV1::Bucket::Encryption::Representation
|
197
|
+
|
190
198
|
property :etag, as: 'etag'
|
191
199
|
property :id, as: 'id'
|
192
200
|
property :kind, as: 'kind'
|
@@ -222,6 +230,13 @@ module Google
|
|
222
230
|
end
|
223
231
|
end
|
224
232
|
|
233
|
+
class Encryption
|
234
|
+
# @private
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
+
property :default_kms_key_name, as: 'default_kms_key_name'
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
225
240
|
class Lifecycle
|
226
241
|
# @private
|
227
242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -398,6 +413,7 @@ module Google
|
|
398
413
|
property :generation, as: 'generation'
|
399
414
|
property :id, as: 'id'
|
400
415
|
property :kind, as: 'kind'
|
416
|
+
property :kms_key_name, as: 'kmsKeyName'
|
401
417
|
property :md5_hash, as: 'md5Hash'
|
402
418
|
property :media_link, as: 'mediaLink'
|
403
419
|
hash :metadata, as: 'metadata'
|
@@ -1154,6 +1154,10 @@ module Google
|
|
1154
1154
|
# @param [String] if_metageneration_match
|
1155
1155
|
# Makes the operation conditional on whether the object's current metageneration
|
1156
1156
|
# matches the given value.
|
1157
|
+
# @param [String] kms_key_name
|
1158
|
+
# Resource name of the Cloud KMS key, of the form projects/my-project/locations/
|
1159
|
+
# global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
|
1160
|
+
# object. Overrides the object metadata's kms_key_name value, if any.
|
1157
1161
|
# @param [String] fields
|
1158
1162
|
# Selector specifying which fields to include in a partial response.
|
1159
1163
|
# @param [String] quota_user
|
@@ -1177,7 +1181,7 @@ module Google
|
|
1177
1181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1178
1182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1179
1183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1180
|
-
def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1184
|
+
def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1181
1185
|
if download_dest.nil?
|
1182
1186
|
command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
|
1183
1187
|
else
|
@@ -1193,6 +1197,7 @@ module Google
|
|
1193
1197
|
command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil?
|
1194
1198
|
command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
|
1195
1199
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
1200
|
+
command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil?
|
1196
1201
|
command.query['fields'] = fields unless fields.nil?
|
1197
1202
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1198
1203
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -1449,6 +1454,10 @@ module Google
|
|
1449
1454
|
# @param [String] if_metageneration_not_match
|
1450
1455
|
# Makes the operation conditional on whether the object's current metageneration
|
1451
1456
|
# does not match the given value.
|
1457
|
+
# @param [String] kms_key_name
|
1458
|
+
# Resource name of the Cloud KMS key, of the form projects/my-project/locations/
|
1459
|
+
# global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
|
1460
|
+
# object. Overrides the object metadata's kms_key_name value, if any.
|
1452
1461
|
# @param [String] name
|
1453
1462
|
# Name of the object. Required when the object metadata is not otherwise
|
1454
1463
|
# provided. Overrides the object metadata's name value, if any. For information
|
@@ -1484,7 +1493,7 @@ module Google
|
|
1484
1493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1485
1494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1486
1495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1487
|
-
def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, name: nil, predefined_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1496
|
+
def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1488
1497
|
if upload_source.nil?
|
1489
1498
|
command = make_simple_command(:post, 'b/{bucket}/o', options)
|
1490
1499
|
else
|
@@ -1502,6 +1511,7 @@ module Google
|
|
1502
1511
|
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
|
1503
1512
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
1504
1513
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
1514
|
+
command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil?
|
1505
1515
|
command.query['name'] = name unless name.nil?
|
1506
1516
|
command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
|
1507
1517
|
command.query['projection'] = projection unless projection.nil?
|
@@ -1656,6 +1666,10 @@ module Google
|
|
1656
1666
|
# about how to URL encode object names to be path safe, see Encoding URI Path
|
1657
1667
|
# Parts.
|
1658
1668
|
# @param [Google::Apis::StorageV1::Object] object_object
|
1669
|
+
# @param [String] destination_kms_key_name
|
1670
|
+
# Resource name of the Cloud KMS key, of the form projects/my-project/locations/
|
1671
|
+
# global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
|
1672
|
+
# object. Overrides the object metadata's kms_key_name value, if any.
|
1659
1673
|
# @param [String] destination_predefined_acl
|
1660
1674
|
# Apply a predefined set of access controls to the destination object.
|
1661
1675
|
# @param [String] if_generation_match
|
@@ -1722,7 +1736,7 @@ module Google
|
|
1722
1736
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1723
1737
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1724
1738
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1725
|
-
def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1739
|
+
def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1726
1740
|
command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options)
|
1727
1741
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
1728
1742
|
command.request_object = object_object
|
@@ -1732,6 +1746,7 @@ module Google
|
|
1732
1746
|
command.params['sourceObject'] = source_object unless source_object.nil?
|
1733
1747
|
command.params['destinationBucket'] = destination_bucket unless destination_bucket.nil?
|
1734
1748
|
command.params['destinationObject'] = destination_object unless destination_object.nil?
|
1749
|
+
command.query['destinationKmsKeyName'] = destination_kms_key_name unless destination_kms_key_name.nil?
|
1735
1750
|
command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil?
|
1736
1751
|
command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
|
1737
1752
|
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
|
@@ -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 = '20160802'
|
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'
|
@@ -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 = '20160726'
|
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'
|
@@ -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?
|
@@ -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 = '20160809'
|
29
29
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/youtube/reporting/v1/reports/
|
27
27
|
module YoutubereportingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160719'
|
30
30
|
|
31
31
|
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
32
32
|
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
@@ -25,12 +25,18 @@ require 'addressable/uri'
|
|
25
25
|
|
26
26
|
module Google
|
27
27
|
module Apis
|
28
|
+
|
28
29
|
# @private
|
29
30
|
class Generator
|
31
|
+
|
30
32
|
# Helper for picking names for methods, properties, types, etc. Performs various normaliations
|
31
33
|
# as well as allows for overriding individual names from a configuration file for cases
|
32
34
|
# where algorithmic approaches produce poor APIs.
|
33
35
|
class Names
|
36
|
+
ActiveSupport::Inflector.inflections do |inflections|
|
37
|
+
u = inflections.uncountable('send_as', 'as')
|
38
|
+
end
|
39
|
+
|
34
40
|
include Google::Apis::Core::Logging
|
35
41
|
include NameHelpers
|
36
42
|
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -354,6 +354,10 @@ files:
|
|
354
354
|
- generated/google/apis/dfareporting_v2_5/classes.rb
|
355
355
|
- generated/google/apis/dfareporting_v2_5/representations.rb
|
356
356
|
- generated/google/apis/dfareporting_v2_5/service.rb
|
357
|
+
- generated/google/apis/dfareporting_v2_6.rb
|
358
|
+
- generated/google/apis/dfareporting_v2_6/classes.rb
|
359
|
+
- generated/google/apis/dfareporting_v2_6/representations.rb
|
360
|
+
- generated/google/apis/dfareporting_v2_6/service.rb
|
357
361
|
- generated/google/apis/discovery_v1.rb
|
358
362
|
- generated/google/apis/discovery_v1/classes.rb
|
359
363
|
- generated/google/apis/discovery_v1/representations.rb
|
@@ -683,4 +687,3 @@ signing_key:
|
|
683
687
|
specification_version: 4
|
684
688
|
summary: Client for accessing Google APIs
|
685
689
|
test_files: []
|
686
|
-
has_rdoc:
|