google-api-client 0.30.4 → 0.30.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
- data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -2
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +4 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -2
- data/generated/google/apis/content_v2_1/representations.rb +18 -0
- data/generated/google/apis/content_v2_1/service.rb +12 -7
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
- data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +17 -16
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +11 -10
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +1 -2
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +11 -10
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +306 -51
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +28 -0
- data/generated/google/apis/iap_v1/representations.rb +15 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +0 -33
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1/service.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -8
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +4 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -256,6 +256,12 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
+
class BusinessDayConfig
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
259
265
|
class CarrierRate
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
267
|
|
@@ -2055,6 +2061,13 @@ module Google
|
|
2055
2061
|
end
|
2056
2062
|
end
|
2057
2063
|
|
2064
|
+
class BusinessDayConfig
|
2065
|
+
# @private
|
2066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2067
|
+
collection :business_days, as: 'businessDays'
|
2068
|
+
end
|
2069
|
+
end
|
2070
|
+
|
2058
2071
|
class CarrierRate
|
2059
2072
|
# @private
|
2060
2073
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2318,12 +2331,16 @@ module Google
|
|
2318
2331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2319
2332
|
property :cutoff_time, as: 'cutoffTime', class: Google::Apis::ContentV2::CutoffTime, decorator: Google::Apis::ContentV2::CutoffTime::Representation
|
2320
2333
|
|
2334
|
+
property :handling_business_day_config, as: 'handlingBusinessDayConfig', class: Google::Apis::ContentV2::BusinessDayConfig, decorator: Google::Apis::ContentV2::BusinessDayConfig::Representation
|
2335
|
+
|
2321
2336
|
collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2::HolidayCutoff, decorator: Google::Apis::ContentV2::HolidayCutoff::Representation
|
2322
2337
|
|
2323
2338
|
property :max_handling_time_in_days, as: 'maxHandlingTimeInDays'
|
2324
2339
|
property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
|
2325
2340
|
property :min_handling_time_in_days, as: 'minHandlingTimeInDays'
|
2326
2341
|
property :min_transit_time_in_days, as: 'minTransitTimeInDays'
|
2342
|
+
property :transit_business_day_config, as: 'transitBusinessDayConfig', class: Google::Apis::ContentV2::BusinessDayConfig, decorator: Google::Apis::ContentV2::BusinessDayConfig::Representation
|
2343
|
+
|
2327
2344
|
property :transit_time_table, as: 'transitTimeTable', class: Google::Apis::ContentV2::TransitTable, decorator: Google::Apis::ContentV2::TransitTable::Representation
|
2328
2345
|
|
2329
2346
|
end
|
@@ -4269,6 +4286,7 @@ module Google
|
|
4269
4286
|
# @private
|
4270
4287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4271
4288
|
property :batch_id, as: 'batchId'
|
4289
|
+
property :feed_id, :numeric_string => true, as: 'feedId'
|
4272
4290
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
4273
4291
|
property :request_method, as: 'method'
|
4274
4292
|
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
@@ -2696,11 +2696,10 @@ module Google
|
|
2696
2696
|
# @param [String] placed_date_start
|
2697
2697
|
# Obtains orders placed after this date (inclusively), in ISO 8601 format.
|
2698
2698
|
# @param [Array<String>, String] statuses
|
2699
|
-
# Obtains orders that match any of the specified statuses.
|
2700
|
-
#
|
2701
|
-
# shortcut for
|
2702
|
-
#
|
2703
|
-
# canceled.
|
2699
|
+
# Obtains orders that match any of the specified statuses. Please note that
|
2700
|
+
# active is a shortcut for pendingShipment and partiallyShipped, and completed
|
2701
|
+
# is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned,
|
2702
|
+
# returned, and canceled.
|
2704
2703
|
# @param [String] fields
|
2705
2704
|
# Selector specifying which fields to include in a partial response.
|
2706
2705
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2_1
|
28
28
|
VERSION = 'V2_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190702'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -1366,6 +1366,25 @@ module Google
|
|
1366
1366
|
end
|
1367
1367
|
end
|
1368
1368
|
|
1369
|
+
#
|
1370
|
+
class BusinessDayConfig
|
1371
|
+
include Google::Apis::Core::Hashable
|
1372
|
+
|
1373
|
+
# Regular business days. May not be empty.
|
1374
|
+
# Corresponds to the JSON property `businessDays`
|
1375
|
+
# @return [Array<String>]
|
1376
|
+
attr_accessor :business_days
|
1377
|
+
|
1378
|
+
def initialize(**args)
|
1379
|
+
update!(**args)
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
# Update properties of this object
|
1383
|
+
def update!(**args)
|
1384
|
+
@business_days = args[:business_days] if args.key?(:business_days)
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1369
1388
|
#
|
1370
1389
|
class CarrierRate
|
1371
1390
|
include Google::Apis::Core::Hashable
|
@@ -2256,6 +2275,12 @@ module Google
|
|
2256
2275
|
# @return [Google::Apis::ContentV2_1::CutoffTime]
|
2257
2276
|
attr_accessor :cutoff_time
|
2258
2277
|
|
2278
|
+
# The business days during which orders can be handled. If not provided, Monday
|
2279
|
+
# to Friday business days will be assumed.
|
2280
|
+
# Corresponds to the JSON property `handlingBusinessDayConfig`
|
2281
|
+
# @return [Google::Apis::ContentV2_1::BusinessDayConfig]
|
2282
|
+
attr_accessor :handling_business_day_config
|
2283
|
+
|
2259
2284
|
# Holiday cutoff definitions. If configured, they specify order cutoff times for
|
2260
2285
|
# holiday-specific shipping.
|
2261
2286
|
# Corresponds to the JSON property `holidayCutoffs`
|
@@ -2283,14 +2308,20 @@ module Google
|
|
2283
2308
|
attr_accessor :min_handling_time_in_days
|
2284
2309
|
|
2285
2310
|
# Minimum number of business days that is spent in transit. 0 means same day
|
2286
|
-
# delivery, 1 means next day delivery. Either `min,max`
|
2311
|
+
# delivery, 1 means next day delivery. Either `min,max`TransitTimeInDays or
|
2287
2312
|
# transitTimeTable must be set, but not both.
|
2288
2313
|
# Corresponds to the JSON property `minTransitTimeInDays`
|
2289
2314
|
# @return [Fixnum]
|
2290
2315
|
attr_accessor :min_transit_time_in_days
|
2291
2316
|
|
2317
|
+
# The business days during which orders can be in-transit. If not provided,
|
2318
|
+
# Monday to Friday business days will be assumed.
|
2319
|
+
# Corresponds to the JSON property `transitBusinessDayConfig`
|
2320
|
+
# @return [Google::Apis::ContentV2_1::BusinessDayConfig]
|
2321
|
+
attr_accessor :transit_business_day_config
|
2322
|
+
|
2292
2323
|
# Transit time table, number of business days spent in transit based on row and
|
2293
|
-
# column dimensions. Either `min,max`
|
2324
|
+
# column dimensions. Either `min,max`TransitTimeInDays or transitTimeTable can
|
2294
2325
|
# be set, but not both.
|
2295
2326
|
# Corresponds to the JSON property `transitTimeTable`
|
2296
2327
|
# @return [Google::Apis::ContentV2_1::TransitTable]
|
@@ -2303,11 +2334,13 @@ module Google
|
|
2303
2334
|
# Update properties of this object
|
2304
2335
|
def update!(**args)
|
2305
2336
|
@cutoff_time = args[:cutoff_time] if args.key?(:cutoff_time)
|
2337
|
+
@handling_business_day_config = args[:handling_business_day_config] if args.key?(:handling_business_day_config)
|
2306
2338
|
@holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs)
|
2307
2339
|
@max_handling_time_in_days = args[:max_handling_time_in_days] if args.key?(:max_handling_time_in_days)
|
2308
2340
|
@max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days)
|
2309
2341
|
@min_handling_time_in_days = args[:min_handling_time_in_days] if args.key?(:min_handling_time_in_days)
|
2310
2342
|
@min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
|
2343
|
+
@transit_business_day_config = args[:transit_business_day_config] if args.key?(:transit_business_day_config)
|
2311
2344
|
@transit_time_table = args[:transit_time_table] if args.key?(:transit_time_table)
|
2312
2345
|
end
|
2313
2346
|
end
|
@@ -7628,6 +7661,11 @@ module Google
|
|
7628
7661
|
# @return [Fixnum]
|
7629
7662
|
attr_accessor :batch_id
|
7630
7663
|
|
7664
|
+
# The ContentAPI feed id.
|
7665
|
+
# Corresponds to the JSON property `feedId`
|
7666
|
+
# @return [Fixnum]
|
7667
|
+
attr_accessor :feed_id
|
7668
|
+
|
7631
7669
|
# The ID of the managing account.
|
7632
7670
|
# Corresponds to the JSON property `merchantId`
|
7633
7671
|
# @return [Fixnum]
|
@@ -7657,6 +7695,7 @@ module Google
|
|
7657
7695
|
# Update properties of this object
|
7658
7696
|
def update!(**args)
|
7659
7697
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
7698
|
+
@feed_id = args[:feed_id] if args.key?(:feed_id)
|
7660
7699
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
7661
7700
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
7662
7701
|
@product = args[:product] if args.key?(:product)
|
@@ -244,6 +244,12 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class BusinessDayConfig
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
247
253
|
class CarrierRate
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
255
|
|
@@ -1782,6 +1788,13 @@ module Google
|
|
1782
1788
|
end
|
1783
1789
|
end
|
1784
1790
|
|
1791
|
+
class BusinessDayConfig
|
1792
|
+
# @private
|
1793
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1794
|
+
collection :business_days, as: 'businessDays'
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
|
1785
1798
|
class CarrierRate
|
1786
1799
|
# @private
|
1787
1800
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2033,12 +2046,16 @@ module Google
|
|
2033
2046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2034
2047
|
property :cutoff_time, as: 'cutoffTime', class: Google::Apis::ContentV2_1::CutoffTime, decorator: Google::Apis::ContentV2_1::CutoffTime::Representation
|
2035
2048
|
|
2049
|
+
property :handling_business_day_config, as: 'handlingBusinessDayConfig', class: Google::Apis::ContentV2_1::BusinessDayConfig, decorator: Google::Apis::ContentV2_1::BusinessDayConfig::Representation
|
2050
|
+
|
2036
2051
|
collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2_1::HolidayCutoff, decorator: Google::Apis::ContentV2_1::HolidayCutoff::Representation
|
2037
2052
|
|
2038
2053
|
property :max_handling_time_in_days, as: 'maxHandlingTimeInDays'
|
2039
2054
|
property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
|
2040
2055
|
property :min_handling_time_in_days, as: 'minHandlingTimeInDays'
|
2041
2056
|
property :min_transit_time_in_days, as: 'minTransitTimeInDays'
|
2057
|
+
property :transit_business_day_config, as: 'transitBusinessDayConfig', class: Google::Apis::ContentV2_1::BusinessDayConfig, decorator: Google::Apis::ContentV2_1::BusinessDayConfig::Representation
|
2058
|
+
|
2042
2059
|
property :transit_time_table, as: 'transitTimeTable', class: Google::Apis::ContentV2_1::TransitTable, decorator: Google::Apis::ContentV2_1::TransitTable::Representation
|
2043
2060
|
|
2044
2061
|
end
|
@@ -3502,6 +3519,7 @@ module Google
|
|
3502
3519
|
# @private
|
3503
3520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3504
3521
|
property :batch_id, as: 'batchId'
|
3522
|
+
property :feed_id, :numeric_string => true, as: 'feedId'
|
3505
3523
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
3506
3524
|
property :method_prop, as: 'method'
|
3507
3525
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::Product, decorator: Google::Apis::ContentV2_1::Product::Representation
|
@@ -2185,11 +2185,10 @@ module Google
|
|
2185
2185
|
# @param [String] placed_date_start
|
2186
2186
|
# Obtains orders placed after this date (inclusively), in ISO 8601 format.
|
2187
2187
|
# @param [Array<String>, String] statuses
|
2188
|
-
# Obtains orders that match any of the specified statuses.
|
2189
|
-
#
|
2190
|
-
# shortcut for
|
2191
|
-
#
|
2192
|
-
# canceled.
|
2188
|
+
# Obtains orders that match any of the specified statuses. Please note that
|
2189
|
+
# active is a shortcut for pendingShipment and partiallyShipped, and completed
|
2190
|
+
# is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned,
|
2191
|
+
# returned, and canceled.
|
2193
2192
|
# @param [String] fields
|
2194
2193
|
# Selector specifying which fields to include in a partial response.
|
2195
2194
|
# @param [String] quota_user
|
@@ -2813,6 +2812,8 @@ module Google
|
|
2813
2812
|
# multi-client account.
|
2814
2813
|
# @param [String] product_id
|
2815
2814
|
# The REST ID of the product.
|
2815
|
+
# @param [Fixnum] feed_id
|
2816
|
+
# The Content API Supplemental Feed ID.
|
2816
2817
|
# @param [String] fields
|
2817
2818
|
# Selector specifying which fields to include in a partial response.
|
2818
2819
|
# @param [String] quota_user
|
@@ -2832,10 +2833,11 @@ module Google
|
|
2832
2833
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2833
2834
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2834
2835
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2835
|
-
def delete_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2836
|
+
def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2836
2837
|
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
2837
2838
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2838
2839
|
command.params['productId'] = product_id unless product_id.nil?
|
2840
|
+
command.query['feedId'] = feed_id unless feed_id.nil?
|
2839
2841
|
command.query['fields'] = fields unless fields.nil?
|
2840
2842
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2841
2843
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -2886,6 +2888,8 @@ module Google
|
|
2886
2888
|
# The ID of the account that contains the product. This account cannot be a
|
2887
2889
|
# multi-client account.
|
2888
2890
|
# @param [Google::Apis::ContentV2_1::Product] product_object
|
2891
|
+
# @param [Fixnum] feed_id
|
2892
|
+
# The Content API Supplemental Feed ID.
|
2889
2893
|
# @param [String] fields
|
2890
2894
|
# Selector specifying which fields to include in a partial response.
|
2891
2895
|
# @param [String] quota_user
|
@@ -2905,13 +2909,14 @@ module Google
|
|
2905
2909
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2906
2910
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2907
2911
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2908
|
-
def insert_product(merchant_id, product_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2912
|
+
def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2909
2913
|
command = make_simple_command(:post, '{merchantId}/products', options)
|
2910
2914
|
command.request_representation = Google::Apis::ContentV2_1::Product::Representation
|
2911
2915
|
command.request_object = product_object
|
2912
2916
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
2913
2917
|
command.response_class = Google::Apis::ContentV2_1::Product
|
2914
2918
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2919
|
+
command.query['feedId'] = feed_id unless feed_id.nil?
|
2915
2920
|
command.query['fields'] = fields unless fields.nil?
|
2916
2921
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2917
2922
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataflow
|
26
26
|
module DataflowV1b3
|
27
27
|
VERSION = 'V1b3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190628'
|
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'
|
@@ -2209,6 +2209,19 @@ module Google
|
|
2209
2209
|
# @return [Hash<String,String>]
|
2210
2210
|
attr_accessor :parameters
|
2211
2211
|
|
2212
|
+
# Only applicable when updating a pipeline. Map of transform name prefixes of
|
2213
|
+
# the job to be replaced to the corresponding name prefixes of the new job.
|
2214
|
+
# Corresponds to the JSON property `transformNameMapping`
|
2215
|
+
# @return [Hash<String,String>]
|
2216
|
+
attr_accessor :transform_name_mapping
|
2217
|
+
|
2218
|
+
# If set, replace the existing pipeline with the name specified by jobName
|
2219
|
+
# with this pipeline, preserving state.
|
2220
|
+
# Corresponds to the JSON property `update`
|
2221
|
+
# @return [Boolean]
|
2222
|
+
attr_accessor :update
|
2223
|
+
alias_method :update?, :update
|
2224
|
+
|
2212
2225
|
def initialize(**args)
|
2213
2226
|
update!(**args)
|
2214
2227
|
end
|
@@ -2218,6 +2231,8 @@ module Google
|
|
2218
2231
|
@environment = args[:environment] if args.key?(:environment)
|
2219
2232
|
@job_name = args[:job_name] if args.key?(:job_name)
|
2220
2233
|
@parameters = args[:parameters] if args.key?(:parameters)
|
2234
|
+
@transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping)
|
2235
|
+
@update = args[:update] if args.key?(:update)
|
2221
2236
|
end
|
2222
2237
|
end
|
2223
2238
|
|
@@ -3330,6 +3345,13 @@ module Google
|
|
3330
3345
|
attr_accessor :bypass_temp_dir_validation
|
3331
3346
|
alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation
|
3332
3347
|
|
3348
|
+
# Optional. Name for the Cloud KMS key for the job.
|
3349
|
+
# Key format is:
|
3350
|
+
# projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
|
3351
|
+
# Corresponds to the JSON property `kmsKeyName`
|
3352
|
+
# @return [String]
|
3353
|
+
attr_accessor :kms_key_name
|
3354
|
+
|
3333
3355
|
# The machine type to use for the job. Defaults to the value from the
|
3334
3356
|
# template if not specified.
|
3335
3357
|
# Corresponds to the JSON property `machineType`
|
@@ -3386,6 +3408,7 @@ module Google
|
|
3386
3408
|
@additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
|
3387
3409
|
@additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels)
|
3388
3410
|
@bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation)
|
3411
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
3389
3412
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
3390
3413
|
@max_workers = args[:max_workers] if args.key?(:max_workers)
|
3391
3414
|
@network = args[:network] if args.key?(:network)
|
@@ -1460,6 +1460,8 @@ module Google
|
|
1460
1460
|
|
1461
1461
|
property :job_name, as: 'jobName'
|
1462
1462
|
hash :parameters, as: 'parameters'
|
1463
|
+
hash :transform_name_mapping, as: 'transformNameMapping'
|
1464
|
+
property :update, as: 'update'
|
1463
1465
|
end
|
1464
1466
|
end
|
1465
1467
|
|
@@ -1770,6 +1772,7 @@ module Google
|
|
1770
1772
|
collection :additional_experiments, as: 'additionalExperiments'
|
1771
1773
|
hash :additional_user_labels, as: 'additionalUserLabels'
|
1772
1774
|
property :bypass_temp_dir_validation, as: 'bypassTempDirValidation'
|
1775
|
+
property :kms_key_name, as: 'kmsKeyName'
|
1773
1776
|
property :machine_type, as: 'machineType'
|
1774
1777
|
property :max_workers, as: 'maxWorkers'
|
1775
1778
|
property :network, as: 'network'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/doubleclick-advertisers/
|
26
26
|
module DfareportingV3_1
|
27
27
|
VERSION = 'V3_1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190531'
|
29
29
|
|
30
30
|
# Manage DoubleClick Digital Marketing conversions
|
31
31
|
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/doubleclick-advertisers/
|
26
26
|
module DfareportingV3_2
|
27
27
|
VERSION = 'V3_2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190531'
|
29
29
|
|
30
30
|
# Manage DoubleClick Digital Marketing conversions
|
31
31
|
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/doubleclick-advertisers/
|
26
26
|
module DfareportingV3_3
|
27
27
|
VERSION = 'V3_3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190531'
|
29
29
|
|
30
30
|
# Manage DoubleClick Digital Marketing conversions
|
31
31
|
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
@@ -2376,8 +2376,8 @@ module Google
|
|
2376
2376
|
|
2377
2377
|
# The alphanumeric encrypted user ID. When set, encryptionInfo should also be
|
2378
2378
|
# specified. This field is mutually exclusive with encryptedUserIdCandidates[],
|
2379
|
-
# mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or
|
2380
|
-
# mobileDeviceId or gclid is a required field.
|
2379
|
+
# matchId, mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or
|
2380
|
+
# matchId or mobileDeviceId or gclid is a required field.
|
2381
2381
|
# Corresponds to the JSON property `encryptedUserId`
|
2382
2382
|
# @return [String]
|
2383
2383
|
attr_accessor :encrypted_user_id
|
@@ -2387,9 +2387,9 @@ module Google
|
|
2387
2387
|
# such user ID is found then the conversion will be rejected with
|
2388
2388
|
# NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified.
|
2389
2389
|
# This field may only be used when calling batchinsert; it is not supported by
|
2390
|
-
# batchupdate. This field is mutually exclusive with encryptedUserId,
|
2391
|
-
# mobileDeviceId and gclid. This or encryptedUserId or
|
2392
|
-
# is a required field.
|
2390
|
+
# batchupdate. This field is mutually exclusive with encryptedUserId, matchId,
|
2391
|
+
# mobileDeviceId and gclid. This or encryptedUserId or matchId or mobileDeviceId
|
2392
|
+
# or gclid is a required field.
|
2393
2393
|
# Corresponds to the JSON property `encryptedUserIdCandidates`
|
2394
2394
|
# @return [Array<String>]
|
2395
2395
|
attr_accessor :encrypted_user_id_candidates
|
@@ -2405,8 +2405,9 @@ module Google
|
|
2405
2405
|
attr_accessor :floodlight_configuration_id
|
2406
2406
|
|
2407
2407
|
# The Google click ID. This field is mutually exclusive with encryptedUserId,
|
2408
|
-
# encryptedUserIdCandidates[] and mobileDeviceId. This or
|
2409
|
-
# encryptedUserIdCandidates[] or mobileDeviceId is
|
2408
|
+
# encryptedUserIdCandidates[], matchId and mobileDeviceId. This or
|
2409
|
+
# encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId is
|
2410
|
+
# a required field.
|
2410
2411
|
# Corresponds to the JSON property `gclid`
|
2411
2412
|
# @return [String]
|
2412
2413
|
attr_accessor :gclid
|
@@ -2424,9 +2425,18 @@ module Google
|
|
2424
2425
|
attr_accessor :limit_ad_tracking
|
2425
2426
|
alias_method :limit_ad_tracking?, :limit_ad_tracking
|
2426
2427
|
|
2428
|
+
# The match ID field. A match ID is your own first-party identifier that has
|
2429
|
+
# been synced with Google using the match ID feature in Floodlight. This field
|
2430
|
+
# is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],
|
2431
|
+
# mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[
|
2432
|
+
# ] or mobileDeviceId or gclid is a required field.
|
2433
|
+
# Corresponds to the JSON property `matchId`
|
2434
|
+
# @return [String]
|
2435
|
+
attr_accessor :match_id
|
2436
|
+
|
2427
2437
|
# The mobile device ID. This field is mutually exclusive with encryptedUserId,
|
2428
|
-
# encryptedUserIdCandidates[] and gclid. This or encryptedUserId or
|
2429
|
-
# encryptedUserIdCandidates[] or gclid is a required field.
|
2438
|
+
# encryptedUserIdCandidates[], matchId and gclid. This or encryptedUserId or
|
2439
|
+
# encryptedUserIdCandidates[] or matchId or gclid is a required field.
|
2430
2440
|
# Corresponds to the JSON property `mobileDeviceId`
|
2431
2441
|
# @return [String]
|
2432
2442
|
attr_accessor :mobile_device_id
|
@@ -2481,6 +2491,7 @@ module Google
|
|
2481
2491
|
@gclid = args[:gclid] if args.key?(:gclid)
|
2482
2492
|
@kind = args[:kind] if args.key?(:kind)
|
2483
2493
|
@limit_ad_tracking = args[:limit_ad_tracking] if args.key?(:limit_ad_tracking)
|
2494
|
+
@match_id = args[:match_id] if args.key?(:match_id)
|
2484
2495
|
@mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id)
|
2485
2496
|
@non_personalized_ad = args[:non_personalized_ad] if args.key?(:non_personalized_ad)
|
2486
2497
|
@ordinal = args[:ordinal] if args.key?(:ordinal)
|