google-api-client 0.32.1 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +40 -0
  3. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +5 -2
  5. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -6
  6. data/generated/google/apis/admin_directory_v1.rb +4 -1
  7. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  8. data/generated/google/apis/admin_reports_v1.rb +2 -2
  9. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  10. data/generated/google/apis/admin_reports_v1/service.rb +306 -63
  11. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  14. data/generated/google/apis/appengine_v1.rb +1 -1
  15. data/generated/google/apis/appengine_v1/service.rb +10 -6
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +10 -18
  20. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -0
  22. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  23. data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
  24. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  25. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  26. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  27. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
  28. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  29. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  30. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  31. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  32. data/generated/google/apis/cloudkms_v1.rb +1 -1
  33. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  34. data/generated/google/apis/content_v2.rb +1 -1
  35. data/generated/google/apis/content_v2/classes.rb +23 -220
  36. data/generated/google/apis/content_v2/representations.rb +0 -115
  37. data/generated/google/apis/content_v2/service.rb +0 -160
  38. data/generated/google/apis/content_v2_1.rb +1 -1
  39. data/generated/google/apis/content_v2_1/classes.rb +57 -18
  40. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  41. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  42. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  43. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  44. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  45. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  46. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  47. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +280 -0
  50. data/generated/google/apis/dialogflow_v2/representations.rb +115 -0
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +280 -0
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +115 -0
  54. data/generated/google/apis/iap_v1.rb +1 -1
  55. data/generated/google/apis/iap_v1/classes.rb +2 -2
  56. data/generated/google/apis/iap_v1beta1.rb +1 -1
  57. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  58. data/generated/google/apis/logging_v2.rb +1 -1
  59. data/generated/google/apis/logging_v2/classes.rb +12 -0
  60. data/generated/google/apis/logging_v2/representations.rb +2 -0
  61. data/generated/google/apis/logging_v2/service.rb +10 -5
  62. data/generated/google/apis/monitoring_v3.rb +1 -1
  63. data/generated/google/apis/monitoring_v3/classes.rb +15 -1
  64. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  65. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  66. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
  67. data/generated/google/apis/pubsub_v1.rb +1 -1
  68. data/generated/google/apis/pubsub_v1/service.rb +3 -0
  69. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  70. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  71. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  72. data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
  73. data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
  74. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  75. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
  76. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
  77. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  78. data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
  79. data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
  80. data/generated/google/apis/securitycenter_v1.rb +1 -1
  81. data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
  82. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  83. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
  84. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  85. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
  86. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  87. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  88. data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
  89. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  90. data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
  91. data/generated/google/apis/serviceusage_v1.rb +1 -1
  92. data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
  93. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  94. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  95. data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
  96. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  97. data/generated/google/apis/sheets_v4.rb +1 -1
  98. data/generated/google/apis/sheets_v4/classes.rb +389 -0
  99. data/generated/google/apis/sheets_v4/representations.rb +79 -0
  100. data/google-api-client.gemspec +3 -3
  101. data/lib/google/apis/version.rb +1 -1
  102. metadata +10 -21
  103. data/generated/google/apis/urlshortener_v1.rb +0 -34
  104. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  105. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  106. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -1672,166 +1672,6 @@ module Google
1672
1672
  execute_or_queue_command(command, &block)
1673
1673
  end
1674
1674
 
1675
- # Notify about successfully authorizing user's payment method for a given amount.
1676
- # @param [Fixnum] merchant_id
1677
- # The ID of the account that manages the order. This cannot be a multi-client
1678
- # account.
1679
- # @param [String] order_id
1680
- # The ID of the order for for which payment authorization is happening.
1681
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest] orderpayments_notify_auth_approved_request_object
1682
- # @param [String] fields
1683
- # Selector specifying which fields to include in a partial response.
1684
- # @param [String] quota_user
1685
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1686
- # characters.
1687
- # @param [String] user_ip
1688
- # Deprecated. Please use quotaUser instead.
1689
- # @param [Google::Apis::RequestOptions] options
1690
- # Request-specific options
1691
- #
1692
- # @yield [result, err] Result & error if block supplied
1693
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse] parsed result object
1694
- # @yieldparam err [StandardError] error object if request failed
1695
- #
1696
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse]
1697
- #
1698
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1699
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1700
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1701
- def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1702
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
1703
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest::Representation
1704
- command.request_object = orderpayments_notify_auth_approved_request_object
1705
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse::Representation
1706
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse
1707
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1708
- command.params['orderId'] = order_id unless order_id.nil?
1709
- command.query['fields'] = fields unless fields.nil?
1710
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1711
- command.query['userIp'] = user_ip unless user_ip.nil?
1712
- execute_or_queue_command(command, &block)
1713
- end
1714
-
1715
- # Notify about failure to authorize user's payment method.
1716
- # @param [Fixnum] merchant_id
1717
- # The ID of the account that manages the order. This cannot be a multi-client
1718
- # account.
1719
- # @param [String] order_id
1720
- # The ID of the order for which payment authorization was declined.
1721
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest] orderpayments_notify_auth_declined_request_object
1722
- # @param [String] fields
1723
- # Selector specifying which fields to include in a partial response.
1724
- # @param [String] quota_user
1725
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1726
- # characters.
1727
- # @param [String] user_ip
1728
- # Deprecated. Please use quotaUser instead.
1729
- # @param [Google::Apis::RequestOptions] options
1730
- # Request-specific options
1731
- #
1732
- # @yield [result, err] Result & error if block supplied
1733
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse] parsed result object
1734
- # @yieldparam err [StandardError] error object if request failed
1735
- #
1736
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse]
1737
- #
1738
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1739
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1740
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1741
- def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1742
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
1743
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest::Representation
1744
- command.request_object = orderpayments_notify_auth_declined_request_object
1745
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse::Representation
1746
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse
1747
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1748
- command.params['orderId'] = order_id unless order_id.nil?
1749
- command.query['fields'] = fields unless fields.nil?
1750
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1751
- command.query['userIp'] = user_ip unless user_ip.nil?
1752
- execute_or_queue_command(command, &block)
1753
- end
1754
-
1755
- # Notify about charge on user's selected payments method.
1756
- # @param [Fixnum] merchant_id
1757
- # The ID of the account that manages the order. This cannot be a multi-client
1758
- # account.
1759
- # @param [String] order_id
1760
- # The ID of the order for which charge is happening.
1761
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest] orderpayments_notify_charge_request_object
1762
- # @param [String] fields
1763
- # Selector specifying which fields to include in a partial response.
1764
- # @param [String] quota_user
1765
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1766
- # characters.
1767
- # @param [String] user_ip
1768
- # Deprecated. Please use quotaUser instead.
1769
- # @param [Google::Apis::RequestOptions] options
1770
- # Request-specific options
1771
- #
1772
- # @yield [result, err] Result & error if block supplied
1773
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse] parsed result object
1774
- # @yieldparam err [StandardError] error object if request failed
1775
- #
1776
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse]
1777
- #
1778
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1779
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1780
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1781
- def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1782
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
1783
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest::Representation
1784
- command.request_object = orderpayments_notify_charge_request_object
1785
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse::Representation
1786
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse
1787
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1788
- command.params['orderId'] = order_id unless order_id.nil?
1789
- command.query['fields'] = fields unless fields.nil?
1790
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1791
- command.query['userIp'] = user_ip unless user_ip.nil?
1792
- execute_or_queue_command(command, &block)
1793
- end
1794
-
1795
- # Notify about refund on user's selected payments method.
1796
- # @param [Fixnum] merchant_id
1797
- # The ID of the account that manages the order. This cannot be a multi-client
1798
- # account.
1799
- # @param [String] order_id
1800
- # The ID of the order for which charge is happening.
1801
- # @param [Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest] orderpayments_notify_refund_request_object
1802
- # @param [String] fields
1803
- # Selector specifying which fields to include in a partial response.
1804
- # @param [String] quota_user
1805
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1806
- # characters.
1807
- # @param [String] user_ip
1808
- # Deprecated. Please use quotaUser instead.
1809
- # @param [Google::Apis::RequestOptions] options
1810
- # Request-specific options
1811
- #
1812
- # @yield [result, err] Result & error if block supplied
1813
- # @yieldparam result [Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse] parsed result object
1814
- # @yieldparam err [StandardError] error object if request failed
1815
- #
1816
- # @return [Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse]
1817
- #
1818
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1819
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1820
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1821
- def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1822
- command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
1823
- command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest::Representation
1824
- command.request_object = orderpayments_notify_refund_request_object
1825
- command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse::Representation
1826
- command.response_class = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse
1827
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1828
- command.params['orderId'] = order_id unless order_id.nil?
1829
- command.query['fields'] = fields unless fields.nil?
1830
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1831
- command.query['userIp'] = user_ip unless user_ip.nil?
1832
- execute_or_queue_command(command, &block)
1833
- end
1834
-
1835
1675
  # Retrieves a report for disbursements from your Merchant Center account.
1836
1676
  # @param [Fixnum] merchant_id
1837
1677
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -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 = '20190905'
29
+ REVISION = '20191008'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -23,8 +23,8 @@ module Google
23
23
  module ContentV2_1
24
24
 
25
25
  # Account data. After the creation of a new account it may take a few minutes
26
- # before it is fully operational. The methods delete, insert, patch, and update
27
- # require the admin role.
26
+ # before it is fully operational. The methods delete, insert, and update require
27
+ # the admin role.
28
28
  class Account
29
29
  include Google::Apis::Core::Hashable
30
30
 
@@ -785,8 +785,8 @@ module Google
785
785
  include Google::Apis::Core::Hashable
786
786
 
787
787
  # Account data. After the creation of a new account it may take a few minutes
788
- # before it is fully operational. The methods delete, insert, patch, and update
789
- # require the admin role.
788
+ # before it is fully operational. The methods delete, insert, and update require
789
+ # the admin role.
790
790
  # Corresponds to the JSON property `account`
791
791
  # @return [Google::Apis::ContentV2_1::Account]
792
792
  attr_accessor :account
@@ -910,8 +910,8 @@ module Google
910
910
  include Google::Apis::Core::Hashable
911
911
 
912
912
  # Account data. After the creation of a new account it may take a few minutes
913
- # before it is fully operational. The methods delete, insert, patch, and update
914
- # require the admin role.
913
+ # before it is fully operational. The methods delete, insert, and update require
914
+ # the admin role.
915
915
  # Corresponds to the JSON property `account`
916
916
  # @return [Google::Apis::ContentV2_1::Account]
917
917
  attr_accessor :account
@@ -1909,6 +1909,11 @@ module Google
1909
1909
  # The list of destinations to include for this target (corresponds to checked
1910
1910
  # check boxes in Merchant Center). Default destinations are always included
1911
1911
  # unless provided in excludedDestinations.
1912
+ # List of supported destinations (if available to the account):
1913
+ # - DisplayAds
1914
+ # - Shopping
1915
+ # - ShoppingActions
1916
+ # - SurfacesAcrossGoogle
1912
1917
  # Corresponds to the JSON property `includedDestinations`
1913
1918
  # @return [Array<String>]
1914
1919
  attr_accessor :included_destinations
@@ -3409,7 +3414,8 @@ module Google
3409
3414
  end
3410
3415
  end
3411
3416
 
3412
- # Order. All methods require the order manager role.
3417
+ # Order. Production access (all methods) requires the order manager role.
3418
+ # Sandbox access does not.
3413
3419
  class Order
3414
3420
  include Google::Apis::Core::Hashable
3415
3421
 
@@ -4311,12 +4317,20 @@ module Google
4311
4317
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotionItem>]
4312
4318
  attr_accessor :applicable_items
4313
4319
 
4314
- # Items which this promotion have been applied to.
4320
+ # Items which this promotion have been applied to. Do not provide for orders.
4321
+ # createtestorder.
4315
4322
  # Corresponds to the JSON property `appliedItems`
4316
4323
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotionItem>]
4317
4324
  attr_accessor :applied_items
4318
4325
 
4319
- # The party funding the promotion.
4326
+ # Promotion end time in ISO 8601 format. Date, time, and offset required, e.g., "
4327
+ # 2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z".
4328
+ # Corresponds to the JSON property `endTime`
4329
+ # @return [String]
4330
+ attr_accessor :end_time
4331
+
4332
+ # The party funding the promotion. Only merchant is supported for orders.
4333
+ # createtestorder.
4320
4334
  # Corresponds to the JSON property `funder`
4321
4335
  # @return [String]
4322
4336
  attr_accessor :funder
@@ -4332,17 +4346,26 @@ module Google
4332
4346
  # @return [Google::Apis::ContentV2_1::Price]
4333
4347
  attr_accessor :price_value
4334
4348
 
4335
- # A short title of the promotion to be shown on the checkout page.
4349
+ # A short title of the promotion to be shown on the checkout page. Do not
4350
+ # provide for orders.createtestorder.
4336
4351
  # Corresponds to the JSON property `shortTitle`
4337
4352
  # @return [String]
4338
4353
  attr_accessor :short_title
4339
4354
 
4340
- # The category of the promotion.
4355
+ # Promotion start time in ISO 8601 format. Date, time, and offset required, e.g.,
4356
+ # "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z".
4357
+ # Corresponds to the JSON property `startTime`
4358
+ # @return [String]
4359
+ attr_accessor :start_time
4360
+
4361
+ # The category of the promotion. Only moneyOff is supported for orders.
4362
+ # createtestorder.
4341
4363
  # Corresponds to the JSON property `subtype`
4342
4364
  # @return [String]
4343
4365
  attr_accessor :subtype
4344
4366
 
4345
- # Estimated discount applied to tax (if allowed by law).
4367
+ # Estimated discount applied to tax (if allowed by law). Do not provide for
4368
+ # orders.createtestorder.
4346
4369
  # Corresponds to the JSON property `taxValue`
4347
4370
  # @return [Google::Apis::ContentV2_1::Price]
4348
4371
  attr_accessor :tax_value
@@ -4352,7 +4375,8 @@ module Google
4352
4375
  # @return [String]
4353
4376
  attr_accessor :title
4354
4377
 
4355
- # The scope of the promotion.
4378
+ # The scope of the promotion. Only product is supported for orders.
4379
+ # createtestorder.
4356
4380
  # Corresponds to the JSON property `type`
4357
4381
  # @return [String]
4358
4382
  attr_accessor :type
@@ -4365,10 +4389,12 @@ module Google
4365
4389
  def update!(**args)
4366
4390
  @applicable_items = args[:applicable_items] if args.key?(:applicable_items)
4367
4391
  @applied_items = args[:applied_items] if args.key?(:applied_items)
4392
+ @end_time = args[:end_time] if args.key?(:end_time)
4368
4393
  @funder = args[:funder] if args.key?(:funder)
4369
4394
  @merchant_promotion_id = args[:merchant_promotion_id] if args.key?(:merchant_promotion_id)
4370
4395
  @price_value = args[:price_value] if args.key?(:price_value)
4371
4396
  @short_title = args[:short_title] if args.key?(:short_title)
4397
+ @start_time = args[:start_time] if args.key?(:start_time)
4372
4398
  @subtype = args[:subtype] if args.key?(:subtype)
4373
4399
  @tax_value = args[:tax_value] if args.key?(:tax_value)
4374
4400
  @title = args[:title] if args.key?(:title)
@@ -4380,17 +4406,23 @@ module Google
4380
4406
  class OrderPromotionItem
4381
4407
  include Google::Apis::Core::Hashable
4382
4408
 
4383
- #
4409
+ # The line item ID of a product. Do not provide for orders.createtestorder.
4384
4410
  # Corresponds to the JSON property `lineItemId`
4385
4411
  # @return [String]
4386
4412
  attr_accessor :line_item_id
4387
4413
 
4388
- #
4414
+ # Offer ID of a product. Only for orders.createtestorder.
4415
+ # Corresponds to the JSON property `offerId`
4416
+ # @return [String]
4417
+ attr_accessor :offer_id
4418
+
4419
+ # orders.createtestorder.
4389
4420
  # Corresponds to the JSON property `productId`
4390
4421
  # @return [String]
4391
4422
  attr_accessor :product_id
4392
4423
 
4393
- # The quantity of the associated product.
4424
+ # The quantity of the associated product. Do not provide for orders.
4425
+ # createtestorder.
4394
4426
  # Corresponds to the JSON property `quantity`
4395
4427
  # @return [Fixnum]
4396
4428
  attr_accessor :quantity
@@ -4402,6 +4434,7 @@ module Google
4402
4434
  # Update properties of this object
4403
4435
  def update!(**args)
4404
4436
  @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
4437
+ @offer_id = args[:offer_id] if args.key?(:offer_id)
4405
4438
  @product_id = args[:product_id] if args.key?(:product_id)
4406
4439
  @quantity = args[:quantity] if args.key?(:quantity)
4407
4440
  end
@@ -4626,6 +4659,7 @@ module Google
4626
4659
  # - "mpx"
4627
4660
  # - "uds"
4628
4661
  # - "efw"
4662
+ # - "jd logistics"
4629
4663
  # Acceptable values for FR are:
4630
4664
  # - "colissimo"
4631
4665
  # - "chronopost"
@@ -4635,6 +4669,8 @@ module Google
4635
4669
  # - "colis prive"
4636
4670
  # - "boxtal"
4637
4671
  # - "geodis"
4672
+ # - "tnt"
4673
+ # - "la poste"
4638
4674
  # Corresponds to the JSON property `carrier`
4639
4675
  # @return [String]
4640
4676
  attr_accessor :carrier
@@ -5429,7 +5465,8 @@ module Google
5429
5465
  # @return [String]
5430
5466
  attr_accessor :kind
5431
5467
 
5432
- # Order. All methods require the order manager role.
5468
+ # Order. Production access (all methods) requires the order manager role.
5469
+ # Sandbox access does not.
5433
5470
  # Corresponds to the JSON property `order`
5434
5471
  # @return [Google::Apis::ContentV2_1::Order]
5435
5472
  attr_accessor :order
@@ -7234,7 +7271,9 @@ module Google
7234
7271
  # @return [String]
7235
7272
  attr_accessor :size_type
7236
7273
 
7237
- # Size of the item.
7274
+ # Size of the item. Only one value is allowed. For variants with different sizes,
7275
+ # insert a separate product for each size with the same itemGroupId value (see
7276
+ # size definition).
7238
7277
  # Corresponds to the JSON property `sizes`
7239
7278
  # @return [Array<String>]
7240
7279
  attr_accessor :sizes
@@ -2737,11 +2737,13 @@ module Google
2737
2737
 
2738
2738
  collection :applied_items, as: 'appliedItems', class: Google::Apis::ContentV2_1::OrderPromotionItem, decorator: Google::Apis::ContentV2_1::OrderPromotionItem::Representation
2739
2739
 
2740
+ property :end_time, as: 'endTime'
2740
2741
  property :funder, as: 'funder'
2741
2742
  property :merchant_promotion_id, as: 'merchantPromotionId'
2742
2743
  property :price_value, as: 'priceValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
2743
2744
 
2744
2745
  property :short_title, as: 'shortTitle'
2746
+ property :start_time, as: 'startTime'
2745
2747
  property :subtype, as: 'subtype'
2746
2748
  property :tax_value, as: 'taxValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
2747
2749
 
@@ -2754,6 +2756,7 @@ module Google
2754
2756
  # @private
2755
2757
  class Representation < Google::Apis::Core::JsonRepresentation
2756
2758
  property :line_item_id, as: 'lineItemId'
2759
+ property :offer_id, as: 'offerId'
2757
2760
  property :product_id, as: 'productId'
2758
2761
  property :quantity, as: 'quantity'
2759
2762
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20190917'
28
+ REVISION = '20190927'
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'
@@ -3333,6 +3333,11 @@ module Google
3333
3333
  attr_accessor :bypass_temp_dir_validation
3334
3334
  alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation
3335
3335
 
3336
+ # Configuration for VM IPs.
3337
+ # Corresponds to the JSON property `ipConfiguration`
3338
+ # @return [String]
3339
+ attr_accessor :ip_configuration
3340
+
3336
3341
  # Optional. Name for the Cloud KMS key for the job.
3337
3342
  # Key format is:
3338
3343
  # projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
@@ -3380,14 +3385,6 @@ module Google
3380
3385
  # @return [String]
3381
3386
  attr_accessor :temp_location
3382
3387
 
3383
- # Optional. Specifies whether worker pools should be started with private IP
3384
- # addresses.
3385
- # False by default.
3386
- # Corresponds to the JSON property `usePrivateIps`
3387
- # @return [Boolean]
3388
- attr_accessor :use_private_ips
3389
- alias_method :use_private_ips?, :use_private_ips
3390
-
3391
3388
  # The Compute Engine region
3392
3389
  # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
3393
3390
  # which worker processing should occur, e.g. "us-west1". Mutually exclusive
@@ -3424,6 +3421,7 @@ module Google
3424
3421
  @additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
3425
3422
  @additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels)
3426
3423
  @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation)
3424
+ @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
3427
3425
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
3428
3426
  @machine_type = args[:machine_type] if args.key?(:machine_type)
3429
3427
  @max_workers = args[:max_workers] if args.key?(:max_workers)
@@ -3432,7 +3430,6 @@ module Google
3432
3430
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
3433
3431
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3434
3432
  @temp_location = args[:temp_location] if args.key?(:temp_location)
3435
- @use_private_ips = args[:use_private_ips] if args.key?(:use_private_ips)
3436
3433
  @worker_region = args[:worker_region] if args.key?(:worker_region)
3437
3434
  @worker_zone = args[:worker_zone] if args.key?(:worker_zone)
3438
3435
  @zone = args[:zone] if args.key?(:zone)
@@ -1736,6 +1736,7 @@ module Google
1736
1736
  collection :additional_experiments, as: 'additionalExperiments'
1737
1737
  hash :additional_user_labels, as: 'additionalUserLabels'
1738
1738
  property :bypass_temp_dir_validation, as: 'bypassTempDirValidation'
1739
+ property :ip_configuration, as: 'ipConfiguration'
1739
1740
  property :kms_key_name, as: 'kmsKeyName'
1740
1741
  property :machine_type, as: 'machineType'
1741
1742
  property :max_workers, as: 'maxWorkers'
@@ -1744,7 +1745,6 @@ module Google
1744
1745
  property :service_account_email, as: 'serviceAccountEmail'
1745
1746
  property :subnetwork, as: 'subnetwork'
1746
1747
  property :temp_location, as: 'tempLocation'
1747
- property :use_private_ips, as: 'usePrivateIps'
1748
1748
  property :worker_region, as: 'workerRegion'
1749
1749
  property :worker_zone, as: 'workerZone'
1750
1750
  property :zone, as: 'zone'