google-api-client 0.14.4 → 0.14.5

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.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  5. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
  6. data/generated/google/apis/appengine_v1.rb +1 -1
  7. data/generated/google/apis/appengine_v1/classes.rb +111 -0
  8. data/generated/google/apis/appengine_v1/representations.rb +59 -0
  9. data/generated/google/apis/appengine_v1/service.rb +220 -0
  10. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  11. data/generated/google/apis/classroom_v1.rb +7 -1
  12. data/generated/google/apis/classroom_v1/classes.rb +361 -0
  13. data/generated/google/apis/classroom_v1/representations.rb +161 -0
  14. data/generated/google/apis/classroom_v1/service.rb +426 -0
  15. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  16. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
  17. data/generated/google/apis/cloudiot_v1.rb +38 -0
  18. data/generated/google/apis/cloudiot_v1/classes.rb +1197 -0
  19. data/generated/google/apis/cloudiot_v1/representations.rb +473 -0
  20. data/generated/google/apis/cloudiot_v1/service.rb +657 -0
  21. data/generated/google/apis/cloudiot_v1beta1.rb +38 -0
  22. data/generated/google/apis/cloudiot_v1beta1/classes.rb +1064 -0
  23. data/generated/google/apis/cloudiot_v1beta1/representations.rb +442 -0
  24. data/generated/google/apis/cloudiot_v1beta1/service.rb +725 -0
  25. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  26. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +4 -4
  27. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  28. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  29. data/generated/google/apis/cloudtrace_v2/classes.rb +1 -1
  30. data/generated/google/apis/cloudtrace_v2/service.rb +1 -1
  31. data/generated/google/apis/container_v1.rb +1 -1
  32. data/generated/google/apis/container_v1/classes.rb +34 -4
  33. data/generated/google/apis/container_v1/representations.rb +15 -0
  34. data/generated/google/apis/container_v1beta1.rb +1 -1
  35. data/generated/google/apis/container_v1beta1/classes.rb +34 -4
  36. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  37. data/generated/google/apis/content_v2.rb +1 -1
  38. data/generated/google/apis/content_v2/classes.rb +91 -9
  39. data/generated/google/apis/content_v2/representations.rb +20 -0
  40. data/generated/google/apis/content_v2/service.rb +1 -2
  41. data/generated/google/apis/content_v2sandbox.rb +1 -1
  42. data/generated/google/apis/content_v2sandbox/classes.rb +90 -8
  43. data/generated/google/apis/content_v2sandbox/representations.rb +20 -0
  44. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  45. data/generated/google/apis/dataflow_v1b3/classes.rb +53 -3
  46. data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
  47. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  48. data/generated/google/apis/dataproc_v1beta2/classes.rb +461 -0
  49. data/generated/google/apis/dataproc_v1beta2/representations.rb +194 -0
  50. data/generated/google/apis/dataproc_v1beta2/service.rb +452 -0
  51. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  52. data/generated/google/apis/deploymentmanager_alpha/classes.rb +30 -1
  53. data/generated/google/apis/deploymentmanager_alpha/representations.rb +8 -0
  54. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  55. data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
  56. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  57. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
  58. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  59. data/generated/google/apis/dlp_v2beta1/classes.rb +2 -2
  60. data/generated/google/apis/firebaserules_v1.rb +1 -1
  61. data/generated/google/apis/firebaserules_v1/classes.rb +44 -0
  62. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  63. data/generated/google/apis/firebaserules_v1/service.rb +35 -0
  64. data/generated/google/apis/fitness_v1.rb +1 -1
  65. data/generated/google/apis/fitness_v1/classes.rb +3 -3
  66. data/generated/google/apis/fitness_v1/service.rb +4 -4
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +14 -14
  69. data/generated/google/apis/iam_v1/service.rb +29 -29
  70. data/generated/google/apis/kgsearch_v1.rb +1 -1
  71. data/generated/google/apis/logging_v2.rb +1 -1
  72. data/generated/google/apis/logging_v2/classes.rb +11 -9
  73. data/generated/google/apis/logging_v2beta1.rb +1 -1
  74. data/generated/google/apis/logging_v2beta1/classes.rb +11 -9
  75. data/generated/google/apis/ml_v1.rb +1 -1
  76. data/generated/google/apis/ml_v1/classes.rb +5 -4
  77. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  78. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  79. data/generated/google/apis/pubsub_v1.rb +1 -1
  80. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  81. data/generated/google/apis/script_v1.rb +2 -2
  82. data/generated/google/apis/script_v1/service.rb +1 -1
  83. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  84. data/generated/google/apis/servicecontrol_v1/classes.rb +19 -23
  85. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  86. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  87. data/generated/google/apis/servicemanagement_v1/classes.rb +106 -0
  88. data/generated/google/apis/servicemanagement_v1/representations.rb +32 -0
  89. data/generated/google/apis/serviceuser_v1.rb +1 -1
  90. data/generated/google/apis/serviceuser_v1/classes.rb +92 -92
  91. data/generated/google/apis/serviceuser_v1/representations.rb +27 -15
  92. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  93. data/generated/google/apis/streetviewpublish_v1/service.rb +7 -0
  94. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  95. data/generated/google/apis/toolresults_v1beta3/classes.rb +2 -2
  96. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  97. data/generated/google/apis/youtube_partner_v1/classes.rb +53 -0
  98. data/generated/google/apis/youtube_partner_v1/representations.rb +29 -0
  99. data/generated/google/apis/youtube_partner_v1/service.rb +37 -0
  100. data/lib/google/apis/version.rb +1 -1
  101. metadata +10 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/cloud-tasks/
27
27
  module CloudtasksV2beta2
28
28
  VERSION = 'V2beta2'
29
- REVISION = '20170915'
29
+ REVISION = '20170926'
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'
@@ -51,7 +51,7 @@ module Google
51
51
  # the task is dispatched.
52
52
  # This proto can only be used for tasks in a queue which has
53
53
  # Queue.app_engine_http_target set.
54
- # Using this type of target requires
54
+ # Using AppEngineHttpRequest requires
55
55
  # [`appengine.applications.get`](/appengine/docs/admin-api/access-control)
56
56
  # Google IAM permission for the project
57
57
  # and the following scope:
@@ -180,7 +180,7 @@ module Google
180
180
  # specified by its AppEngineHttpTarget and AppEngineHttpRequest.
181
181
  # The documentation for AppEngineHttpRequest explains how the
182
182
  # task's host URL is constructed.
183
- # Using this type of queue configuration requires
183
+ # Using AppEngineHttpTarget requires
184
184
  # [`appengine.applications.get`](/appengine/docs/admin-api/access-control)
185
185
  # Google IAM permission for the project
186
186
  # and the following scope:
@@ -1045,7 +1045,7 @@ module Google
1045
1045
  # specified by its AppEngineHttpTarget and AppEngineHttpRequest.
1046
1046
  # The documentation for AppEngineHttpRequest explains how the
1047
1047
  # task's host URL is constructed.
1048
- # Using this type of queue configuration requires
1048
+ # Using AppEngineHttpTarget requires
1049
1049
  # [`appengine.applications.get`](/appengine/docs/admin-api/access-control)
1050
1050
  # Google IAM permission for the project
1051
1051
  # and the following scope:
@@ -1440,7 +1440,7 @@ module Google
1440
1440
  # the task is dispatched.
1441
1441
  # This proto can only be used for tasks in a queue which has
1442
1442
  # Queue.app_engine_http_target set.
1443
- # Using this type of target requires
1443
+ # Using AppEngineHttpRequest requires
1444
1444
  # [`appengine.applications.get`](/appengine/docs/admin-api/access-control)
1445
1445
  # Google IAM permission for the project
1446
1446
  # and the following scope:
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/trace
29
29
  module CloudtraceV1
30
30
  VERSION = 'V1'
31
- REVISION = '20170815'
31
+ REVISION = '20170927'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/trace
29
29
  module CloudtraceV2
30
30
  VERSION = 'V2'
31
- REVISION = '20170919'
31
+ REVISION = '20170927'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -327,7 +327,7 @@ module Google
327
327
  attr_accessor :links
328
328
 
329
329
  # The resource name of the span in the following format:
330
- # projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique
330
+ # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
331
331
  # identifier for a trace within a project.
332
332
  # [SPAN_ID] is a unique identifier for a span within a trace,
333
333
  # assigned when the span is created.
@@ -91,7 +91,7 @@ module Google
91
91
  # Creates a new Span.
92
92
  # @param [String] name
93
93
  # The resource name of the span in the following format:
94
- # projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique
94
+ # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
95
95
  # identifier for a trace within a project.
96
96
  # [SPAN_ID] is a unique identifier for a span within a trace,
97
97
  # assigned when the span is created.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170908'
29
+ REVISION = '20170915'
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'
@@ -71,6 +71,13 @@ module Google
71
71
  # @return [Google::Apis::ContainerV1::KubernetesDashboard]
72
72
  attr_accessor :kubernetes_dashboard
73
73
 
74
+ # Configuration for NetworkPolicy. This only tracks whether the addon
75
+ # is enabled or not on the Master, it does not track whether network policy
76
+ # is enabled for the nodes.
77
+ # Corresponds to the JSON property `networkPolicyConfig`
78
+ # @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
79
+ attr_accessor :network_policy_config
80
+
74
81
  def initialize(**args)
75
82
  update!(**args)
76
83
  end
@@ -80,6 +87,7 @@ module Google
80
87
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
81
88
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
82
89
  @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
90
+ @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
83
91
  end
84
92
  end
85
93
 
@@ -1099,6 +1107,28 @@ module Google
1099
1107
  end
1100
1108
  end
1101
1109
 
1110
+ # Configuration for NetworkPolicy. This only tracks whether the addon
1111
+ # is enabled or not on the Master, it does not track whether network policy
1112
+ # is enabled for the nodes.
1113
+ class NetworkPolicyConfig
1114
+ include Google::Apis::Core::Hashable
1115
+
1116
+ # Whether NetworkPolicy is enabled for this cluster.
1117
+ # Corresponds to the JSON property `disabled`
1118
+ # @return [Boolean]
1119
+ attr_accessor :disabled
1120
+ alias_method :disabled?, :disabled
1121
+
1122
+ def initialize(**args)
1123
+ update!(**args)
1124
+ end
1125
+
1126
+ # Update properties of this object
1127
+ def update!(**args)
1128
+ @disabled = args[:disabled] if args.key?(:disabled)
1129
+ end
1130
+ end
1131
+
1102
1132
  # Parameters that describe the nodes in a cluster.
1103
1133
  class NodeConfig
1104
1134
  include Google::Apis::Core::Hashable
@@ -1167,13 +1197,13 @@ module Google
1167
1197
  # @return [Hash<String,String>]
1168
1198
  attr_accessor :metadata
1169
1199
 
1170
- # Minimum cpu/platform to be used by this instance. The instance may be
1171
- # scheduled on the specified or newer cpu/platform. Applicable values are the
1200
+ # Minimum CPU platform to be used by this instance. The instance may be
1201
+ # scheduled on the specified or newer CPU platform. Applicable values are the
1172
1202
  # friendly names of CPU platforms, such as
1173
1203
  # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
1174
1204
  # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
1175
- # information, read <a href="/compute/docs/instances/specify-min-cpu-platform">
1176
- # Specifying a Minimum CPU Platform</a>.
1205
+ # information, read [how to specify min CPU platform](https://cloud.google.com/
1206
+ # compute/docs/instances/specify-min-cpu-platform)
1177
1207
  # Corresponds to the JSON property `minCpuPlatform`
1178
1208
  # @return [String]
1179
1209
  attr_accessor :min_cpu_platform
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class NetworkPolicyConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class NodeConfig
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -333,6 +339,8 @@ module Google
333
339
 
334
340
  property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1::KubernetesDashboard, decorator: Google::Apis::ContainerV1::KubernetesDashboard::Representation
335
341
 
342
+ property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1::NetworkPolicyConfig::Representation
343
+
336
344
  end
337
345
  end
338
346
 
@@ -586,6 +594,13 @@ module Google
586
594
  end
587
595
  end
588
596
 
597
+ class NetworkPolicyConfig
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :disabled, as: 'disabled'
601
+ end
602
+ end
603
+
589
604
  class NodeConfig
590
605
  # @private
591
606
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170908'
29
+ REVISION = '20170915'
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'
@@ -71,6 +71,13 @@ module Google
71
71
  # @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
72
72
  attr_accessor :kubernetes_dashboard
73
73
 
74
+ # Configuration for NetworkPolicy. This only tracks whether the addon
75
+ # is enabled or not on the Master, it does not track whether network policy
76
+ # is enabled for the nodes.
77
+ # Corresponds to the JSON property `networkPolicyConfig`
78
+ # @return [Google::Apis::ContainerV1beta1::NetworkPolicyConfig]
79
+ attr_accessor :network_policy_config
80
+
74
81
  def initialize(**args)
75
82
  update!(**args)
76
83
  end
@@ -80,6 +87,7 @@ module Google
80
87
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
81
88
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
82
89
  @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
90
+ @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
83
91
  end
84
92
  end
85
93
 
@@ -1176,6 +1184,28 @@ module Google
1176
1184
  end
1177
1185
  end
1178
1186
 
1187
+ # Configuration for NetworkPolicy. This only tracks whether the addon
1188
+ # is enabled or not on the Master, it does not track whether network policy
1189
+ # is enabled for the nodes.
1190
+ class NetworkPolicyConfig
1191
+ include Google::Apis::Core::Hashable
1192
+
1193
+ # Whether NetworkPolicy is enabled for this cluster.
1194
+ # Corresponds to the JSON property `disabled`
1195
+ # @return [Boolean]
1196
+ attr_accessor :disabled
1197
+ alias_method :disabled?, :disabled
1198
+
1199
+ def initialize(**args)
1200
+ update!(**args)
1201
+ end
1202
+
1203
+ # Update properties of this object
1204
+ def update!(**args)
1205
+ @disabled = args[:disabled] if args.key?(:disabled)
1206
+ end
1207
+ end
1208
+
1179
1209
  # Parameters that describe the nodes in a cluster.
1180
1210
  class NodeConfig
1181
1211
  include Google::Apis::Core::Hashable
@@ -1244,13 +1274,13 @@ module Google
1244
1274
  # @return [Hash<String,String>]
1245
1275
  attr_accessor :metadata
1246
1276
 
1247
- # Minimum cpu/platform to be used by this instance. The instance may be
1248
- # scheduled on the specified or newer cpu/platform. Applicable values are the
1277
+ # Minimum CPU platform to be used by this instance. The instance may be
1278
+ # scheduled on the specified or newer CPU platform. Applicable values are the
1249
1279
  # friendly names of CPU platforms, such as
1250
1280
  # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
1251
1281
  # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
1252
- # information, read <a href="/compute/docs/instances/specify-min-cpu-platform">
1253
- # Specifying a Minimum CPU Platform</a>.
1282
+ # information, read [how to specify min CPU platform](https://cloud.google.com/
1283
+ # compute/docs/instances/specify-min-cpu-platform)
1254
1284
  # Corresponds to the JSON property `minCpuPlatform`
1255
1285
  # @return [String]
1256
1286
  attr_accessor :min_cpu_platform
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class NetworkPolicyConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class NodeConfig
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -285,6 +291,8 @@ module Google
285
291
 
286
292
  property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1beta1::KubernetesDashboard, decorator: Google::Apis::ContainerV1beta1::KubernetesDashboard::Representation
287
293
 
294
+ property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1beta1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPolicyConfig::Representation
295
+
288
296
  end
289
297
  end
290
298
 
@@ -543,6 +551,13 @@ module Google
543
551
  end
544
552
  end
545
553
 
554
+ class NetworkPolicyConfig
555
+ # @private
556
+ class Representation < Google::Apis::Core::JsonRepresentation
557
+ property :disabled, as: 'disabled'
558
+ end
559
+ end
560
+
546
561
  class NodeConfig
547
562
  # @private
548
563
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20170921'
29
+ REVISION = '20170928'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -1498,7 +1498,7 @@ module Google
1498
1498
  attr_accessor :included_destinations
1499
1499
 
1500
1500
  # The two-letter ISO 639-1 language of the items in the feed. Must be a valid
1501
- # language for targetCountryLanguage.country.
1501
+ # language for targets[].country.
1502
1502
  # Corresponds to the JSON property `language`
1503
1503
  # @return [String]
1504
1504
  attr_accessor :language
@@ -2700,6 +2700,11 @@ module Google
2700
2700
  # @return [Array<Google::Apis::ContentV2::OrderCancellation>]
2701
2701
  attr_accessor :cancellations
2702
2702
 
2703
+ # The channel type of the order: "purchaseOnGoogle" or "googleExpress".
2704
+ # Corresponds to the JSON property `channelType`
2705
+ # @return [String]
2706
+ attr_accessor :channel_type
2707
+
2703
2708
  # The id of the line item.
2704
2709
  # Corresponds to the JSON property `id`
2705
2710
  # @return [String]
@@ -2774,6 +2779,7 @@ module Google
2774
2779
  # Update properties of this object
2775
2780
  def update!(**args)
2776
2781
  @cancellations = args[:cancellations] if args.key?(:cancellations)
2782
+ @channel_type = args[:channel_type] if args.key?(:channel_type)
2777
2783
  @id = args[:id] if args.key?(:id)
2778
2784
  @price = args[:price] if args.key?(:price)
2779
2785
  @product = args[:product] if args.key?(:product)
@@ -2987,7 +2993,8 @@ module Google
2987
2993
  class OrderLineItemShippingDetailsMethod
2988
2994
  include Google::Apis::Core::Hashable
2989
2995
 
2990
- # The carrier for the shipping. Optional.
2996
+ # The carrier for the shipping. Optional. See shipments[].carrier for a list of
2997
+ # acceptable values.
2991
2998
  # Corresponds to the JSON property `carrier`
2992
2999
  # @return [String]
2993
3000
  attr_accessor :carrier
@@ -3276,6 +3283,29 @@ module Google
3276
3283
  include Google::Apis::Core::Hashable
3277
3284
 
3278
3285
  # The carrier handling the shipment.
3286
+ # Acceptable values are:
3287
+ # - "gsx"
3288
+ # - "ups"
3289
+ # - "united parcel service"
3290
+ # - "usps"
3291
+ # - "united states postal service"
3292
+ # - "fedex"
3293
+ # - "dhl"
3294
+ # - "ecourier"
3295
+ # - "cxt"
3296
+ # - "google"
3297
+ # - "on trac"
3298
+ # - "ontrac"
3299
+ # - "on-trac"
3300
+ # - "on_trac"
3301
+ # - "delvic"
3302
+ # - "dynamex"
3303
+ # - "lasership"
3304
+ # - "smartpost"
3305
+ # - "fedex smartpost"
3306
+ # - "mpx"
3307
+ # - "uds"
3308
+ # - "united delivery service"
3279
3309
  # Corresponds to the JSON property `carrier`
3280
3310
  # @return [String]
3281
3311
  attr_accessor :carrier
@@ -3852,7 +3882,9 @@ module Google
3852
3882
  class OrdersCustomBatchRequestEntryShipLineItems
3853
3883
  include Google::Apis::Core::Hashable
3854
3884
 
3855
- # The carrier handling the shipment.
3885
+ # Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
3886
+ # See shipments[].carrier in the Orders resource representation for a list of
3887
+ # acceptable values.
3856
3888
  # Corresponds to the JSON property `carrier`
3857
3889
  # @return [String]
3858
3890
  attr_accessor :carrier
@@ -3862,6 +3894,46 @@ module Google
3862
3894
  # @return [Array<Google::Apis::ContentV2::OrderShipmentLineItemShipment>]
3863
3895
  attr_accessor :line_items
3864
3896
 
3897
+ # Deprecated. Please use shipmentInfo instead. The ID of the shipment.
3898
+ # Corresponds to the JSON property `shipmentId`
3899
+ # @return [String]
3900
+ attr_accessor :shipment_id
3901
+
3902
+ # Shipment information. This field is repeated because a single line item can be
3903
+ # shipped in several packages (and have several tracking IDs).
3904
+ # Corresponds to the JSON property `shipmentInfos`
3905
+ # @return [Array<Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>]
3906
+ attr_accessor :shipment_infos
3907
+
3908
+ # Deprecated. Please use shipmentInfo instead. The tracking id for the shipment.
3909
+ # Corresponds to the JSON property `trackingId`
3910
+ # @return [String]
3911
+ attr_accessor :tracking_id
3912
+
3913
+ def initialize(**args)
3914
+ update!(**args)
3915
+ end
3916
+
3917
+ # Update properties of this object
3918
+ def update!(**args)
3919
+ @carrier = args[:carrier] if args.key?(:carrier)
3920
+ @line_items = args[:line_items] if args.key?(:line_items)
3921
+ @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
3922
+ @shipment_infos = args[:shipment_infos] if args.key?(:shipment_infos)
3923
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
3924
+ end
3925
+ end
3926
+
3927
+ #
3928
+ class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
3929
+ include Google::Apis::Core::Hashable
3930
+
3931
+ # The carrier handling the shipment. See shipments[].carrier in the Orders
3932
+ # resource representation for a list of acceptable values.
3933
+ # Corresponds to the JSON property `carrier`
3934
+ # @return [String]
3935
+ attr_accessor :carrier
3936
+
3865
3937
  # The ID of the shipment.
3866
3938
  # Corresponds to the JSON property `shipmentId`
3867
3939
  # @return [String]
@@ -3879,7 +3951,6 @@ module Google
3879
3951
  # Update properties of this object
3880
3952
  def update!(**args)
3881
3953
  @carrier = args[:carrier] if args.key?(:carrier)
3882
- @line_items = args[:line_items] if args.key?(:line_items)
3883
3954
  @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
3884
3955
  @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
3885
3956
  end
@@ -3889,7 +3960,8 @@ module Google
3889
3960
  class OrdersCustomBatchRequestEntryUpdateShipment
3890
3961
  include Google::Apis::Core::Hashable
3891
3962
 
3892
- # The carrier handling the shipment. Not updated if missing.
3963
+ # The carrier handling the shipment. Not updated if missing. See shipments[].
3964
+ # carrier in the Orders resource representation for a list of acceptable values.
3893
3965
  # Corresponds to the JSON property `carrier`
3894
3966
  # @return [String]
3895
3967
  attr_accessor :carrier
@@ -4214,7 +4286,9 @@ module Google
4214
4286
  class OrdersShipLineItemsRequest
4215
4287
  include Google::Apis::Core::Hashable
4216
4288
 
4217
- # The carrier handling the shipment.
4289
+ # Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
4290
+ # See shipments[].carrier in the Orders resource representation for a list of
4291
+ # acceptable values.
4218
4292
  # Corresponds to the JSON property `carrier`
4219
4293
  # @return [String]
4220
4294
  attr_accessor :carrier
@@ -4229,12 +4303,18 @@ module Google
4229
4303
  # @return [String]
4230
4304
  attr_accessor :operation_id
4231
4305
 
4232
- # The ID of the shipment.
4306
+ # Deprecated. Please use shipmentInfo instead. The ID of the shipment.
4233
4307
  # Corresponds to the JSON property `shipmentId`
4234
4308
  # @return [String]
4235
4309
  attr_accessor :shipment_id
4236
4310
 
4237
- # The tracking id for the shipment.
4311
+ # Shipment information. This field is repeated because a single line item can be
4312
+ # shipped in several packages (and have several tracking IDs).
4313
+ # Corresponds to the JSON property `shipmentInfos`
4314
+ # @return [Array<Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>]
4315
+ attr_accessor :shipment_infos
4316
+
4317
+ # Deprecated. Please use shipmentInfo instead. The tracking id for the shipment.
4238
4318
  # Corresponds to the JSON property `trackingId`
4239
4319
  # @return [String]
4240
4320
  attr_accessor :tracking_id
@@ -4249,6 +4329,7 @@ module Google
4249
4329
  @line_items = args[:line_items] if args.key?(:line_items)
4250
4330
  @operation_id = args[:operation_id] if args.key?(:operation_id)
4251
4331
  @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
4332
+ @shipment_infos = args[:shipment_infos] if args.key?(:shipment_infos)
4252
4333
  @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
4253
4334
  end
4254
4335
  end
@@ -4334,7 +4415,8 @@ module Google
4334
4415
  class OrdersUpdateShipmentRequest
4335
4416
  include Google::Apis::Core::Hashable
4336
4417
 
4337
- # The carrier handling the shipment. Not updated if missing.
4418
+ # The carrier handling the shipment. Not updated if missing. See shipments[].
4419
+ # carrier in the Orders resource representation for a list of acceptable values.
4338
4420
  # Corresponds to the JSON property `carrier`
4339
4421
  # @return [String]
4340
4422
  attr_accessor :carrier