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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +111 -0
- data/generated/google/apis/appengine_v1/representations.rb +59 -0
- data/generated/google/apis/appengine_v1/service.rb +220 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +361 -0
- data/generated/google/apis/classroom_v1/representations.rb +161 -0
- data/generated/google/apis/classroom_v1/service.rb +426 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudiot_v1.rb +38 -0
- data/generated/google/apis/cloudiot_v1/classes.rb +1197 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +473 -0
- data/generated/google/apis/cloudiot_v1/service.rb +657 -0
- data/generated/google/apis/cloudiot_v1beta1.rb +38 -0
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +1064 -0
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +442 -0
- data/generated/google/apis/cloudiot_v1beta1/service.rb +725 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +34 -4
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +34 -4
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +91 -9
- data/generated/google/apis/content_v2/representations.rb +20 -0
- data/generated/google/apis/content_v2/service.rb +1 -2
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +90 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +20 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +53 -3
- data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +461 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +194 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +452 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +30 -1
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +8 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +2 -2
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +44 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firebaserules_v1/service.rb +35 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -3
- data/generated/google/apis/fitness_v1/service.rb +4 -4
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +14 -14
- data/generated/google/apis/iam_v1/service.rb +29 -29
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +11 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +11 -9
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +5 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +19 -23
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +106 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +92 -92
- data/generated/google/apis/serviceuser_v1/representations.rb +27 -15
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +53 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +29 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +37 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
|
@@ -598,6 +598,12 @@ module Google
|
|
|
598
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
599
599
|
end
|
|
600
600
|
|
|
601
|
+
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
|
+
|
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
605
|
+
end
|
|
606
|
+
|
|
601
607
|
class OrdersCustomBatchRequestEntryUpdateShipment
|
|
602
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
609
|
|
|
@@ -1716,6 +1722,7 @@ module Google
|
|
|
1716
1722
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1717
1723
|
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
|
|
1718
1724
|
|
|
1725
|
+
property :channel_type, as: 'channelType'
|
|
1719
1726
|
property :id, as: 'id'
|
|
1720
1727
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
|
1721
1728
|
|
|
@@ -2038,6 +2045,17 @@ module Google
|
|
|
2038
2045
|
property :carrier, as: 'carrier'
|
|
2039
2046
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
|
2040
2047
|
|
|
2048
|
+
property :shipment_id, as: 'shipmentId'
|
|
2049
|
+
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
|
2050
|
+
|
|
2051
|
+
property :tracking_id, as: 'trackingId'
|
|
2052
|
+
end
|
|
2053
|
+
end
|
|
2054
|
+
|
|
2055
|
+
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
2056
|
+
# @private
|
|
2057
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2058
|
+
property :carrier, as: 'carrier'
|
|
2041
2059
|
property :shipment_id, as: 'shipmentId'
|
|
2042
2060
|
property :tracking_id, as: 'trackingId'
|
|
2043
2061
|
end
|
|
@@ -2149,6 +2167,8 @@ module Google
|
|
|
2149
2167
|
|
|
2150
2168
|
property :operation_id, as: 'operationId'
|
|
2151
2169
|
property :shipment_id, as: 'shipmentId'
|
|
2170
|
+
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
|
2171
|
+
|
|
2152
2172
|
property :tracking_id, as: 'trackingId'
|
|
2153
2173
|
end
|
|
2154
2174
|
end
|
|
@@ -180,8 +180,7 @@ module Google
|
|
|
180
180
|
# @param [Boolean] dry_run
|
|
181
181
|
# Flag to run the request in dry-run mode.
|
|
182
182
|
# @param [Boolean] force
|
|
183
|
-
# Flag to delete sub-accounts with products. The default value
|
|
184
|
-
# become active on September 28, 2017.
|
|
183
|
+
# Flag to delete sub-accounts with products. The default value is false.
|
|
185
184
|
# @param [String] fields
|
|
186
185
|
# Selector specifying which fields to include in a partial response.
|
|
187
186
|
# @param [String] quota_user
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2sandbox
|
|
28
28
|
VERSION = 'V2sandbox'
|
|
29
|
-
REVISION = '
|
|
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'
|
|
@@ -404,6 +404,11 @@ module Google
|
|
|
404
404
|
# @return [Array<Google::Apis::ContentV2sandbox::OrderCancellation>]
|
|
405
405
|
attr_accessor :cancellations
|
|
406
406
|
|
|
407
|
+
# The channel type of the order: "purchaseOnGoogle" or "googleExpress".
|
|
408
|
+
# Corresponds to the JSON property `channelType`
|
|
409
|
+
# @return [String]
|
|
410
|
+
attr_accessor :channel_type
|
|
411
|
+
|
|
407
412
|
# The id of the line item.
|
|
408
413
|
# Corresponds to the JSON property `id`
|
|
409
414
|
# @return [String]
|
|
@@ -478,6 +483,7 @@ module Google
|
|
|
478
483
|
# Update properties of this object
|
|
479
484
|
def update!(**args)
|
|
480
485
|
@cancellations = args[:cancellations] if args.key?(:cancellations)
|
|
486
|
+
@channel_type = args[:channel_type] if args.key?(:channel_type)
|
|
481
487
|
@id = args[:id] if args.key?(:id)
|
|
482
488
|
@price = args[:price] if args.key?(:price)
|
|
483
489
|
@product = args[:product] if args.key?(:product)
|
|
@@ -691,7 +697,8 @@ module Google
|
|
|
691
697
|
class OrderLineItemShippingDetailsMethod
|
|
692
698
|
include Google::Apis::Core::Hashable
|
|
693
699
|
|
|
694
|
-
# The carrier for the shipping. Optional.
|
|
700
|
+
# The carrier for the shipping. Optional. See shipments[].carrier for a list of
|
|
701
|
+
# acceptable values.
|
|
695
702
|
# Corresponds to the JSON property `carrier`
|
|
696
703
|
# @return [String]
|
|
697
704
|
attr_accessor :carrier
|
|
@@ -980,6 +987,29 @@ module Google
|
|
|
980
987
|
include Google::Apis::Core::Hashable
|
|
981
988
|
|
|
982
989
|
# The carrier handling the shipment.
|
|
990
|
+
# Acceptable values are:
|
|
991
|
+
# - "gsx"
|
|
992
|
+
# - "ups"
|
|
993
|
+
# - "united parcel service"
|
|
994
|
+
# - "usps"
|
|
995
|
+
# - "united states postal service"
|
|
996
|
+
# - "fedex"
|
|
997
|
+
# - "dhl"
|
|
998
|
+
# - "ecourier"
|
|
999
|
+
# - "cxt"
|
|
1000
|
+
# - "google"
|
|
1001
|
+
# - "on trac"
|
|
1002
|
+
# - "ontrac"
|
|
1003
|
+
# - "on-trac"
|
|
1004
|
+
# - "on_trac"
|
|
1005
|
+
# - "delvic"
|
|
1006
|
+
# - "dynamex"
|
|
1007
|
+
# - "lasership"
|
|
1008
|
+
# - "smartpost"
|
|
1009
|
+
# - "fedex smartpost"
|
|
1010
|
+
# - "mpx"
|
|
1011
|
+
# - "uds"
|
|
1012
|
+
# - "united delivery service"
|
|
983
1013
|
# Corresponds to the JSON property `carrier`
|
|
984
1014
|
# @return [String]
|
|
985
1015
|
attr_accessor :carrier
|
|
@@ -1556,7 +1586,9 @@ module Google
|
|
|
1556
1586
|
class OrdersCustomBatchRequestEntryShipLineItems
|
|
1557
1587
|
include Google::Apis::Core::Hashable
|
|
1558
1588
|
|
|
1559
|
-
# The carrier handling the shipment.
|
|
1589
|
+
# Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
|
|
1590
|
+
# See shipments[].carrier in the Orders resource representation for a list of
|
|
1591
|
+
# acceptable values.
|
|
1560
1592
|
# Corresponds to the JSON property `carrier`
|
|
1561
1593
|
# @return [String]
|
|
1562
1594
|
attr_accessor :carrier
|
|
@@ -1566,6 +1598,46 @@ module Google
|
|
|
1566
1598
|
# @return [Array<Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment>]
|
|
1567
1599
|
attr_accessor :line_items
|
|
1568
1600
|
|
|
1601
|
+
# Deprecated. Please use shipmentInfo instead. The ID of the shipment.
|
|
1602
|
+
# Corresponds to the JSON property `shipmentId`
|
|
1603
|
+
# @return [String]
|
|
1604
|
+
attr_accessor :shipment_id
|
|
1605
|
+
|
|
1606
|
+
# Shipment information. This field is repeated because a single line item can be
|
|
1607
|
+
# shipped in several packages (and have several tracking IDs).
|
|
1608
|
+
# Corresponds to the JSON property `shipmentInfos`
|
|
1609
|
+
# @return [Array<Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>]
|
|
1610
|
+
attr_accessor :shipment_infos
|
|
1611
|
+
|
|
1612
|
+
# Deprecated. Please use shipmentInfo instead. The tracking id for the shipment.
|
|
1613
|
+
# Corresponds to the JSON property `trackingId`
|
|
1614
|
+
# @return [String]
|
|
1615
|
+
attr_accessor :tracking_id
|
|
1616
|
+
|
|
1617
|
+
def initialize(**args)
|
|
1618
|
+
update!(**args)
|
|
1619
|
+
end
|
|
1620
|
+
|
|
1621
|
+
# Update properties of this object
|
|
1622
|
+
def update!(**args)
|
|
1623
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
1624
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
1625
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
1626
|
+
@shipment_infos = args[:shipment_infos] if args.key?(:shipment_infos)
|
|
1627
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
1628
|
+
end
|
|
1629
|
+
end
|
|
1630
|
+
|
|
1631
|
+
#
|
|
1632
|
+
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
1633
|
+
include Google::Apis::Core::Hashable
|
|
1634
|
+
|
|
1635
|
+
# The carrier handling the shipment. See shipments[].carrier in the Orders
|
|
1636
|
+
# resource representation for a list of acceptable values.
|
|
1637
|
+
# Corresponds to the JSON property `carrier`
|
|
1638
|
+
# @return [String]
|
|
1639
|
+
attr_accessor :carrier
|
|
1640
|
+
|
|
1569
1641
|
# The ID of the shipment.
|
|
1570
1642
|
# Corresponds to the JSON property `shipmentId`
|
|
1571
1643
|
# @return [String]
|
|
@@ -1583,7 +1655,6 @@ module Google
|
|
|
1583
1655
|
# Update properties of this object
|
|
1584
1656
|
def update!(**args)
|
|
1585
1657
|
@carrier = args[:carrier] if args.key?(:carrier)
|
|
1586
|
-
@line_items = args[:line_items] if args.key?(:line_items)
|
|
1587
1658
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
1588
1659
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
1589
1660
|
end
|
|
@@ -1593,7 +1664,8 @@ module Google
|
|
|
1593
1664
|
class OrdersCustomBatchRequestEntryUpdateShipment
|
|
1594
1665
|
include Google::Apis::Core::Hashable
|
|
1595
1666
|
|
|
1596
|
-
# The carrier handling the shipment. Not updated if missing.
|
|
1667
|
+
# The carrier handling the shipment. Not updated if missing. See shipments[].
|
|
1668
|
+
# carrier in the Orders resource representation for a list of acceptable values.
|
|
1597
1669
|
# Corresponds to the JSON property `carrier`
|
|
1598
1670
|
# @return [String]
|
|
1599
1671
|
attr_accessor :carrier
|
|
@@ -1918,7 +1990,9 @@ module Google
|
|
|
1918
1990
|
class OrdersShipLineItemsRequest
|
|
1919
1991
|
include Google::Apis::Core::Hashable
|
|
1920
1992
|
|
|
1921
|
-
# The carrier handling the shipment.
|
|
1993
|
+
# Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
|
|
1994
|
+
# See shipments[].carrier in the Orders resource representation for a list of
|
|
1995
|
+
# acceptable values.
|
|
1922
1996
|
# Corresponds to the JSON property `carrier`
|
|
1923
1997
|
# @return [String]
|
|
1924
1998
|
attr_accessor :carrier
|
|
@@ -1933,12 +2007,18 @@ module Google
|
|
|
1933
2007
|
# @return [String]
|
|
1934
2008
|
attr_accessor :operation_id
|
|
1935
2009
|
|
|
1936
|
-
# The ID of the shipment.
|
|
2010
|
+
# Deprecated. Please use shipmentInfo instead. The ID of the shipment.
|
|
1937
2011
|
# Corresponds to the JSON property `shipmentId`
|
|
1938
2012
|
# @return [String]
|
|
1939
2013
|
attr_accessor :shipment_id
|
|
1940
2014
|
|
|
1941
|
-
#
|
|
2015
|
+
# Shipment information. This field is repeated because a single line item can be
|
|
2016
|
+
# shipped in several packages (and have several tracking IDs).
|
|
2017
|
+
# Corresponds to the JSON property `shipmentInfos`
|
|
2018
|
+
# @return [Array<Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>]
|
|
2019
|
+
attr_accessor :shipment_infos
|
|
2020
|
+
|
|
2021
|
+
# Deprecated. Please use shipmentInfo instead. The tracking id for the shipment.
|
|
1942
2022
|
# Corresponds to the JSON property `trackingId`
|
|
1943
2023
|
# @return [String]
|
|
1944
2024
|
attr_accessor :tracking_id
|
|
@@ -1953,6 +2033,7 @@ module Google
|
|
|
1953
2033
|
@line_items = args[:line_items] if args.key?(:line_items)
|
|
1954
2034
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
1955
2035
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
2036
|
+
@shipment_infos = args[:shipment_infos] if args.key?(:shipment_infos)
|
|
1956
2037
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
1957
2038
|
end
|
|
1958
2039
|
end
|
|
@@ -2038,7 +2119,8 @@ module Google
|
|
|
2038
2119
|
class OrdersUpdateShipmentRequest
|
|
2039
2120
|
include Google::Apis::Core::Hashable
|
|
2040
2121
|
|
|
2041
|
-
# The carrier handling the shipment. Not updated if missing.
|
|
2122
|
+
# The carrier handling the shipment. Not updated if missing. See shipments[].
|
|
2123
|
+
# carrier in the Orders resource representation for a list of acceptable values.
|
|
2042
2124
|
# Corresponds to the JSON property `carrier`
|
|
2043
2125
|
# @return [String]
|
|
2044
2126
|
attr_accessor :carrier
|
|
@@ -238,6 +238,12 @@ module Google
|
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
|
239
239
|
end
|
|
240
240
|
|
|
241
|
+
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
+
end
|
|
246
|
+
|
|
241
247
|
class OrdersCustomBatchRequestEntryUpdateShipment
|
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
249
|
|
|
@@ -473,6 +479,7 @@ module Google
|
|
|
473
479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
474
480
|
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2sandbox::OrderCancellation, decorator: Google::Apis::ContentV2sandbox::OrderCancellation::Representation
|
|
475
481
|
|
|
482
|
+
property :channel_type, as: 'channelType'
|
|
476
483
|
property :id, as: 'id'
|
|
477
484
|
property :price, as: 'price', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
|
478
485
|
|
|
@@ -795,6 +802,17 @@ module Google
|
|
|
795
802
|
property :carrier, as: 'carrier'
|
|
796
803
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
|
|
797
804
|
|
|
805
|
+
property :shipment_id, as: 'shipmentId'
|
|
806
|
+
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
|
807
|
+
|
|
808
|
+
property :tracking_id, as: 'trackingId'
|
|
809
|
+
end
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
813
|
+
# @private
|
|
814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
815
|
+
property :carrier, as: 'carrier'
|
|
798
816
|
property :shipment_id, as: 'shipmentId'
|
|
799
817
|
property :tracking_id, as: 'trackingId'
|
|
800
818
|
end
|
|
@@ -906,6 +924,8 @@ module Google
|
|
|
906
924
|
|
|
907
925
|
property :operation_id, as: 'operationId'
|
|
908
926
|
property :shipment_id, as: 'shipmentId'
|
|
927
|
+
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
|
928
|
+
|
|
909
929
|
property :tracking_id, as: 'trackingId'
|
|
910
930
|
end
|
|
911
931
|
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 = '
|
|
28
|
+
REVISION = '20170918'
|
|
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'
|
|
@@ -894,6 +894,16 @@ module Google
|
|
|
894
894
|
# @return [Google::Apis::DataflowV1b3::SplitInt64]
|
|
895
895
|
attr_accessor :count
|
|
896
896
|
|
|
897
|
+
# Histogram of value counts for a distribution.
|
|
898
|
+
# Buckets have an inclusive lower bound and exclusive upper bound and use
|
|
899
|
+
# "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent
|
|
900
|
+
# bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket
|
|
901
|
+
# boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ...
|
|
902
|
+
# Negative values are not supported.
|
|
903
|
+
# Corresponds to the JSON property `histogram`
|
|
904
|
+
# @return [Google::Apis::DataflowV1b3::Histogram]
|
|
905
|
+
attr_accessor :histogram
|
|
906
|
+
|
|
897
907
|
# A representation of an int64, n, that is immune to precision loss when
|
|
898
908
|
# encoded in JSON.
|
|
899
909
|
# Corresponds to the JSON property `max`
|
|
@@ -924,6 +934,7 @@ module Google
|
|
|
924
934
|
# Update properties of this object
|
|
925
935
|
def update!(**args)
|
|
926
936
|
@count = args[:count] if args.key?(:count)
|
|
937
|
+
@histogram = args[:histogram] if args.key?(:histogram)
|
|
927
938
|
@max = args[:max] if args.key?(:max)
|
|
928
939
|
@min = args[:min] if args.key?(:min)
|
|
929
940
|
@sum = args[:sum] if args.key?(:sum)
|
|
@@ -1344,6 +1355,41 @@ module Google
|
|
|
1344
1355
|
end
|
|
1345
1356
|
end
|
|
1346
1357
|
|
|
1358
|
+
# Histogram of value counts for a distribution.
|
|
1359
|
+
# Buckets have an inclusive lower bound and exclusive upper bound and use
|
|
1360
|
+
# "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent
|
|
1361
|
+
# bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket
|
|
1362
|
+
# boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ...
|
|
1363
|
+
# Negative values are not supported.
|
|
1364
|
+
class Histogram
|
|
1365
|
+
include Google::Apis::Core::Hashable
|
|
1366
|
+
|
|
1367
|
+
# Counts of values in each bucket. For efficiency, prefix and trailing
|
|
1368
|
+
# buckets with count = 0 are elided. Buckets can store the full range of
|
|
1369
|
+
# values of an unsigned long, with ULLONG_MAX falling into the 59th bucket
|
|
1370
|
+
# with range [1e19, 2e19).
|
|
1371
|
+
# Corresponds to the JSON property `bucketCounts`
|
|
1372
|
+
# @return [Array<Fixnum>]
|
|
1373
|
+
attr_accessor :bucket_counts
|
|
1374
|
+
|
|
1375
|
+
# Starting index of first stored bucket. The non-inclusive upper-bound of
|
|
1376
|
+
# the ith bucket is given by:
|
|
1377
|
+
# pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3]
|
|
1378
|
+
# Corresponds to the JSON property `firstBucketOffset`
|
|
1379
|
+
# @return [Fixnum]
|
|
1380
|
+
attr_accessor :first_bucket_offset
|
|
1381
|
+
|
|
1382
|
+
def initialize(**args)
|
|
1383
|
+
update!(**args)
|
|
1384
|
+
end
|
|
1385
|
+
|
|
1386
|
+
# Update properties of this object
|
|
1387
|
+
def update!(**args)
|
|
1388
|
+
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
|
1389
|
+
@first_bucket_offset = args[:first_bucket_offset] if args.key?(:first_bucket_offset)
|
|
1390
|
+
end
|
|
1391
|
+
end
|
|
1392
|
+
|
|
1347
1393
|
# An input of an instruction, as a reference to an output of a
|
|
1348
1394
|
# producer instruction.
|
|
1349
1395
|
class InstructionInput
|
|
@@ -5159,9 +5205,13 @@ module Google
|
|
|
5159
5205
|
class WorkerShutdownNotice
|
|
5160
5206
|
include Google::Apis::Core::Hashable
|
|
5161
5207
|
|
|
5162
|
-
#
|
|
5163
|
-
#
|
|
5164
|
-
#
|
|
5208
|
+
# The reason for the worker shutdown.
|
|
5209
|
+
# Current possible values are:
|
|
5210
|
+
# "UNKNOWN": shutdown reason is unknown.
|
|
5211
|
+
# "PREEMPTION": shutdown reason is preemption.
|
|
5212
|
+
# Other possible reasons may be added in the future.
|
|
5213
|
+
# Note that this must match the names of the enum specified in
|
|
5214
|
+
# google3/cloud/dataflow/router/protos/cloud_worker_messages_service.proto.
|
|
5165
5215
|
# Corresponds to the JSON property `reason`
|
|
5166
5216
|
# @return [String]
|
|
5167
5217
|
attr_accessor :reason
|
|
@@ -214,6 +214,12 @@ module Google
|
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
215
|
end
|
|
216
216
|
|
|
217
|
+
class Histogram
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
217
223
|
class InstructionInput
|
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
225
|
|
|
@@ -1010,6 +1016,8 @@ module Google
|
|
|
1010
1016
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1011
1017
|
property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
|
1012
1018
|
|
|
1019
|
+
property :histogram, as: 'histogram', class: Google::Apis::DataflowV1b3::Histogram, decorator: Google::Apis::DataflowV1b3::Histogram::Representation
|
|
1020
|
+
|
|
1013
1021
|
property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
|
1014
1022
|
|
|
1015
1023
|
property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
|
@@ -1130,6 +1138,14 @@ module Google
|
|
|
1130
1138
|
end
|
|
1131
1139
|
end
|
|
1132
1140
|
|
|
1141
|
+
class Histogram
|
|
1142
|
+
# @private
|
|
1143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1144
|
+
collection :bucket_counts, as: 'bucketCounts'
|
|
1145
|
+
property :first_bucket_offset, as: 'firstBucketOffset'
|
|
1146
|
+
end
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1133
1149
|
class InstructionInput
|
|
1134
1150
|
# @private
|
|
1135
1151
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170926'
|
|
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'
|
|
@@ -282,6 +282,38 @@ module Google
|
|
|
282
282
|
end
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
+
#
|
|
286
|
+
class ClusterOperation
|
|
287
|
+
include Google::Apis::Core::Hashable
|
|
288
|
+
|
|
289
|
+
# Output-only Indicates the operation is done.
|
|
290
|
+
# Corresponds to the JSON property `done`
|
|
291
|
+
# @return [Boolean]
|
|
292
|
+
attr_accessor :done
|
|
293
|
+
alias_method :done?, :done
|
|
294
|
+
|
|
295
|
+
# Output-only Error, if operation failed.
|
|
296
|
+
# Corresponds to the JSON property `error`
|
|
297
|
+
# @return [String]
|
|
298
|
+
attr_accessor :error
|
|
299
|
+
|
|
300
|
+
# Output-only The id of the cluster operation.
|
|
301
|
+
# Corresponds to the JSON property `operationId`
|
|
302
|
+
# @return [String]
|
|
303
|
+
attr_accessor :operation_id
|
|
304
|
+
|
|
305
|
+
def initialize(**args)
|
|
306
|
+
update!(**args)
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Update properties of this object
|
|
310
|
+
def update!(**args)
|
|
311
|
+
@done = args[:done] if args.key?(:done)
|
|
312
|
+
@error = args[:error] if args.key?(:error)
|
|
313
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
285
317
|
# Metadata describing the operation.
|
|
286
318
|
class ClusterOperationMetadata
|
|
287
319
|
include Google::Apis::Core::Hashable
|
|
@@ -380,6 +412,31 @@ module Google
|
|
|
380
412
|
end
|
|
381
413
|
end
|
|
382
414
|
|
|
415
|
+
# A selector that chooses target cluster for jobs based on metadata.
|
|
416
|
+
class ClusterSelector
|
|
417
|
+
include Google::Apis::Core::Hashable
|
|
418
|
+
|
|
419
|
+
# Required The cluster labels. Cluster must have all labels to match.
|
|
420
|
+
# Corresponds to the JSON property `clusterLabels`
|
|
421
|
+
# @return [Hash<String,String>]
|
|
422
|
+
attr_accessor :cluster_labels
|
|
423
|
+
|
|
424
|
+
# Required The cluster target zone.
|
|
425
|
+
# Corresponds to the JSON property `zone`
|
|
426
|
+
# @return [String]
|
|
427
|
+
attr_accessor :zone
|
|
428
|
+
|
|
429
|
+
def initialize(**args)
|
|
430
|
+
update!(**args)
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# Update properties of this object
|
|
434
|
+
def update!(**args)
|
|
435
|
+
@cluster_labels = args[:cluster_labels] if args.key?(:cluster_labels)
|
|
436
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
437
|
+
end
|
|
438
|
+
end
|
|
439
|
+
|
|
383
440
|
# The status of a cluster and its instances.
|
|
384
441
|
class ClusterStatus
|
|
385
442
|
include Google::Apis::Core::Hashable
|
|
@@ -816,6 +873,39 @@ module Google
|
|
|
816
873
|
end
|
|
817
874
|
end
|
|
818
875
|
|
|
876
|
+
# A request to instantiate a workflow template.
|
|
877
|
+
class InstantiateWorkflowTemplateRequest
|
|
878
|
+
include Google::Apis::Core::Hashable
|
|
879
|
+
|
|
880
|
+
# Optional A tag that prevents multiple concurrent workflow instances with the
|
|
881
|
+
# same tag from running. This mitigates risk of concurrent instances started due
|
|
882
|
+
# to retries.It is recommended to always set this value to a UUID (https://en.
|
|
883
|
+
# wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
|
|
884
|
+
# letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
|
|
885
|
+
# maximum length is 40 characters.
|
|
886
|
+
# Corresponds to the JSON property `instanceId`
|
|
887
|
+
# @return [String]
|
|
888
|
+
attr_accessor :instance_id
|
|
889
|
+
|
|
890
|
+
# Optional The version of workflow template to instantiate. If specified, the
|
|
891
|
+
# workflow will be instantiated only if the current version of the workflow
|
|
892
|
+
# template has the supplied version.This option cannot be used to instantiate a
|
|
893
|
+
# previous version of workflow template.
|
|
894
|
+
# Corresponds to the JSON property `version`
|
|
895
|
+
# @return [Fixnum]
|
|
896
|
+
attr_accessor :version
|
|
897
|
+
|
|
898
|
+
def initialize(**args)
|
|
899
|
+
update!(**args)
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
# Update properties of this object
|
|
903
|
+
def update!(**args)
|
|
904
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
|
905
|
+
@version = args[:version] if args.key?(:version)
|
|
906
|
+
end
|
|
907
|
+
end
|
|
908
|
+
|
|
819
909
|
# A Cloud Dataproc job resource.
|
|
820
910
|
class Job
|
|
821
911
|
include Google::Apis::Core::Hashable
|
|
@@ -1166,6 +1256,33 @@ module Google
|
|
|
1166
1256
|
end
|
|
1167
1257
|
end
|
|
1168
1258
|
|
|
1259
|
+
# A response to a request to list workflow templates in a project.
|
|
1260
|
+
class ListWorkflowTemplatesResponse
|
|
1261
|
+
include Google::Apis::Core::Hashable
|
|
1262
|
+
|
|
1263
|
+
# Output-only This token is included in the response if there are more results
|
|
1264
|
+
# to fetch. To fetch additional results, provide this value as the page_token in
|
|
1265
|
+
# a subsequent <code>ListWorkflowTemplatesRequest</code>.
|
|
1266
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1267
|
+
# @return [String]
|
|
1268
|
+
attr_accessor :next_page_token
|
|
1269
|
+
|
|
1270
|
+
# Output-only WorkflowTemplates list.
|
|
1271
|
+
# Corresponds to the JSON property `templates`
|
|
1272
|
+
# @return [Array<Google::Apis::DataprocV1beta2::WorkflowTemplate>]
|
|
1273
|
+
attr_accessor :templates
|
|
1274
|
+
|
|
1275
|
+
def initialize(**args)
|
|
1276
|
+
update!(**args)
|
|
1277
|
+
end
|
|
1278
|
+
|
|
1279
|
+
# Update properties of this object
|
|
1280
|
+
def update!(**args)
|
|
1281
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1282
|
+
@templates = args[:templates] if args.key?(:templates)
|
|
1283
|
+
end
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1169
1286
|
# The runtime logging config of the job.
|
|
1170
1287
|
class LoggingConfig
|
|
1171
1288
|
include Google::Apis::Core::Hashable
|
|
@@ -1187,6 +1304,42 @@ module Google
|
|
|
1187
1304
|
end
|
|
1188
1305
|
end
|
|
1189
1306
|
|
|
1307
|
+
# Cluster that is managed by the workflow.
|
|
1308
|
+
class ManagedCluster
|
|
1309
|
+
include Google::Apis::Core::Hashable
|
|
1310
|
+
|
|
1311
|
+
# Required The cluster name. Cluster names within a project must be unique.
|
|
1312
|
+
# Names from deleted clusters can be reused.
|
|
1313
|
+
# Corresponds to the JSON property `clusterName`
|
|
1314
|
+
# @return [String]
|
|
1315
|
+
attr_accessor :cluster_name
|
|
1316
|
+
|
|
1317
|
+
# The cluster config.
|
|
1318
|
+
# Corresponds to the JSON property `config`
|
|
1319
|
+
# @return [Google::Apis::DataprocV1beta2::ClusterConfig]
|
|
1320
|
+
attr_accessor :config
|
|
1321
|
+
|
|
1322
|
+
# Optional The labels to associate with this cluster.Label keys must be between
|
|
1323
|
+
# 1 and 63 characters long, and must conform to the following PCRE regular
|
|
1324
|
+
# expression: \p`Ll`\p`Lo``0,62`Label values must be between 1 and 63 characters
|
|
1325
|
+
# long, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo`\
|
|
1326
|
+
# p`N`_-`0,63`No more than 64 labels can be associated with a given cluster.
|
|
1327
|
+
# Corresponds to the JSON property `labels`
|
|
1328
|
+
# @return [Hash<String,String>]
|
|
1329
|
+
attr_accessor :labels
|
|
1330
|
+
|
|
1331
|
+
def initialize(**args)
|
|
1332
|
+
update!(**args)
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
# Update properties of this object
|
|
1336
|
+
def update!(**args)
|
|
1337
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
1338
|
+
@config = args[:config] if args.key?(:config)
|
|
1339
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1340
|
+
end
|
|
1341
|
+
end
|
|
1342
|
+
|
|
1190
1343
|
# Specifies the resources used to actively manage an instance group.
|
|
1191
1344
|
class ManagedGroupConfig
|
|
1192
1345
|
include Google::Apis::Core::Hashable
|
|
@@ -1332,6 +1485,95 @@ module Google
|
|
|
1332
1485
|
end
|
|
1333
1486
|
end
|
|
1334
1487
|
|
|
1488
|
+
#
|
|
1489
|
+
class OrderedJob
|
|
1490
|
+
include Google::Apis::Core::Hashable
|
|
1491
|
+
|
|
1492
|
+
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.
|
|
1493
|
+
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
|
|
1494
|
+
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
|
|
1495
|
+
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
|
|
1496
|
+
# Corresponds to the JSON property `hadoopJob`
|
|
1497
|
+
# @return [Google::Apis::DataprocV1beta2::HadoopJob]
|
|
1498
|
+
attr_accessor :hadoop_job
|
|
1499
|
+
|
|
1500
|
+
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/)
|
|
1501
|
+
# queries on YARN.
|
|
1502
|
+
# Corresponds to the JSON property `hiveJob`
|
|
1503
|
+
# @return [Google::Apis::DataprocV1beta2::HiveJob]
|
|
1504
|
+
attr_accessor :hive_job
|
|
1505
|
+
|
|
1506
|
+
# Optional The labels to associate with this job.Label keys must be between 1
|
|
1507
|
+
# and 63 characters long, and must conform to the following regular expression: \
|
|
1508
|
+
# p`Ll`\p`Lo``0,62`Label values must be between 1 and 63 characters long, and
|
|
1509
|
+
# must conform to the following regular expression: \p`Ll`\p`Lo`\p`N`_-`0,63`No
|
|
1510
|
+
# more than 64 labels can be associated with a given job.
|
|
1511
|
+
# Corresponds to the JSON property `labels`
|
|
1512
|
+
# @return [Hash<String,String>]
|
|
1513
|
+
attr_accessor :labels
|
|
1514
|
+
|
|
1515
|
+
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries
|
|
1516
|
+
# on YARN.
|
|
1517
|
+
# Corresponds to the JSON property `pigJob`
|
|
1518
|
+
# @return [Google::Apis::DataprocV1beta2::PigJob]
|
|
1519
|
+
attr_accessor :pig_job
|
|
1520
|
+
|
|
1521
|
+
# Optional The optional list of prerequisite job step_ids. If not specified, the
|
|
1522
|
+
# job will start at the beginning of workflow.
|
|
1523
|
+
# Corresponds to the JSON property `prerequisiteStepIds`
|
|
1524
|
+
# @return [Array<String>]
|
|
1525
|
+
attr_accessor :prerequisite_step_ids
|
|
1526
|
+
|
|
1527
|
+
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/
|
|
1528
|
+
# 0.9.0/python-programming-guide.html) applications on YARN.
|
|
1529
|
+
# Corresponds to the JSON property `pysparkJob`
|
|
1530
|
+
# @return [Google::Apis::DataprocV1beta2::PySparkJob]
|
|
1531
|
+
attr_accessor :pyspark_job
|
|
1532
|
+
|
|
1533
|
+
# Job scheduling options.Beta Feature: These options are available for testing
|
|
1534
|
+
# purposes only. They may be changed before final release.
|
|
1535
|
+
# Corresponds to the JSON property `scheduling`
|
|
1536
|
+
# @return [Google::Apis::DataprocV1beta2::JobScheduling]
|
|
1537
|
+
attr_accessor :scheduling
|
|
1538
|
+
|
|
1539
|
+
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/)
|
|
1540
|
+
# applications on YARN.
|
|
1541
|
+
# Corresponds to the JSON property `sparkJob`
|
|
1542
|
+
# @return [Google::Apis::DataprocV1beta2::SparkJob]
|
|
1543
|
+
attr_accessor :spark_job
|
|
1544
|
+
|
|
1545
|
+
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
|
|
1546
|
+
# ) queries.
|
|
1547
|
+
# Corresponds to the JSON property `sparkSqlJob`
|
|
1548
|
+
# @return [Google::Apis::DataprocV1beta2::SparkSqlJob]
|
|
1549
|
+
attr_accessor :spark_sql_job
|
|
1550
|
+
|
|
1551
|
+
# Required The step id. The id must be unique among all jobs within the template.
|
|
1552
|
+
# The step id is used as prefix for job id, as job workflow-step-id label, and
|
|
1553
|
+
# in prerequisite_step_ids field from other steps.
|
|
1554
|
+
# Corresponds to the JSON property `stepId`
|
|
1555
|
+
# @return [String]
|
|
1556
|
+
attr_accessor :step_id
|
|
1557
|
+
|
|
1558
|
+
def initialize(**args)
|
|
1559
|
+
update!(**args)
|
|
1560
|
+
end
|
|
1561
|
+
|
|
1562
|
+
# Update properties of this object
|
|
1563
|
+
def update!(**args)
|
|
1564
|
+
@hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job)
|
|
1565
|
+
@hive_job = args[:hive_job] if args.key?(:hive_job)
|
|
1566
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1567
|
+
@pig_job = args[:pig_job] if args.key?(:pig_job)
|
|
1568
|
+
@prerequisite_step_ids = args[:prerequisite_step_ids] if args.key?(:prerequisite_step_ids)
|
|
1569
|
+
@pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job)
|
|
1570
|
+
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
1571
|
+
@spark_job = args[:spark_job] if args.key?(:spark_job)
|
|
1572
|
+
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
|
1573
|
+
@step_id = args[:step_id] if args.key?(:step_id)
|
|
1574
|
+
end
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1335
1577
|
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries
|
|
1336
1578
|
# on YARN.
|
|
1337
1579
|
class PigJob
|
|
@@ -1893,6 +2135,225 @@ module Google
|
|
|
1893
2135
|
end
|
|
1894
2136
|
end
|
|
1895
2137
|
|
|
2138
|
+
# The workflow graph.
|
|
2139
|
+
class WorkflowGraph
|
|
2140
|
+
include Google::Apis::Core::Hashable
|
|
2141
|
+
|
|
2142
|
+
# Output-only The workflow nodes.
|
|
2143
|
+
# Corresponds to the JSON property `nodes`
|
|
2144
|
+
# @return [Array<Google::Apis::DataprocV1beta2::WorkflowNode>]
|
|
2145
|
+
attr_accessor :nodes
|
|
2146
|
+
|
|
2147
|
+
def initialize(**args)
|
|
2148
|
+
update!(**args)
|
|
2149
|
+
end
|
|
2150
|
+
|
|
2151
|
+
# Update properties of this object
|
|
2152
|
+
def update!(**args)
|
|
2153
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
|
2154
|
+
end
|
|
2155
|
+
end
|
|
2156
|
+
|
|
2157
|
+
# A Cloud Dataproc workflow template resource.
|
|
2158
|
+
class WorkflowMetadata
|
|
2159
|
+
include Google::Apis::Core::Hashable
|
|
2160
|
+
|
|
2161
|
+
# Output-only The name of the managed cluster.
|
|
2162
|
+
# Corresponds to the JSON property `clusterName`
|
|
2163
|
+
# @return [String]
|
|
2164
|
+
attr_accessor :cluster_name
|
|
2165
|
+
|
|
2166
|
+
# Output-only The create cluster operation metadata.
|
|
2167
|
+
# Corresponds to the JSON property `createCluster`
|
|
2168
|
+
# @return [Google::Apis::DataprocV1beta2::ClusterOperation]
|
|
2169
|
+
attr_accessor :create_cluster
|
|
2170
|
+
|
|
2171
|
+
# Output-only The delete cluster operation metadata.
|
|
2172
|
+
# Corresponds to the JSON property `deleteCluster`
|
|
2173
|
+
# @return [Google::Apis::DataprocV1beta2::ClusterOperation]
|
|
2174
|
+
attr_accessor :delete_cluster
|
|
2175
|
+
|
|
2176
|
+
# The workflow graph.
|
|
2177
|
+
# Corresponds to the JSON property `graph`
|
|
2178
|
+
# @return [Google::Apis::DataprocV1beta2::WorkflowGraph]
|
|
2179
|
+
attr_accessor :graph
|
|
2180
|
+
|
|
2181
|
+
# Output-only The workflow state.
|
|
2182
|
+
# Corresponds to the JSON property `state`
|
|
2183
|
+
# @return [String]
|
|
2184
|
+
attr_accessor :state
|
|
2185
|
+
|
|
2186
|
+
# Output-only The "resource name" of the template.
|
|
2187
|
+
# Corresponds to the JSON property `template`
|
|
2188
|
+
# @return [String]
|
|
2189
|
+
attr_accessor :template
|
|
2190
|
+
|
|
2191
|
+
# Output-only The version of template at the time of workflow instantiation.
|
|
2192
|
+
# Corresponds to the JSON property `version`
|
|
2193
|
+
# @return [Fixnum]
|
|
2194
|
+
attr_accessor :version
|
|
2195
|
+
|
|
2196
|
+
def initialize(**args)
|
|
2197
|
+
update!(**args)
|
|
2198
|
+
end
|
|
2199
|
+
|
|
2200
|
+
# Update properties of this object
|
|
2201
|
+
def update!(**args)
|
|
2202
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
2203
|
+
@create_cluster = args[:create_cluster] if args.key?(:create_cluster)
|
|
2204
|
+
@delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
|
|
2205
|
+
@graph = args[:graph] if args.key?(:graph)
|
|
2206
|
+
@state = args[:state] if args.key?(:state)
|
|
2207
|
+
@template = args[:template] if args.key?(:template)
|
|
2208
|
+
@version = args[:version] if args.key?(:version)
|
|
2209
|
+
end
|
|
2210
|
+
end
|
|
2211
|
+
|
|
2212
|
+
# The workflow node.
|
|
2213
|
+
class WorkflowNode
|
|
2214
|
+
include Google::Apis::Core::Hashable
|
|
2215
|
+
|
|
2216
|
+
# Output-only The error detail.
|
|
2217
|
+
# Corresponds to the JSON property `error`
|
|
2218
|
+
# @return [String]
|
|
2219
|
+
attr_accessor :error
|
|
2220
|
+
|
|
2221
|
+
# Output-only The job id; populated after the node enters RUNNING state.
|
|
2222
|
+
# Corresponds to the JSON property `jobId`
|
|
2223
|
+
# @return [String]
|
|
2224
|
+
attr_accessor :job_id
|
|
2225
|
+
|
|
2226
|
+
# Output-only Node's prerequisite nodes.
|
|
2227
|
+
# Corresponds to the JSON property `prerequisiteStepIds`
|
|
2228
|
+
# @return [Array<String>]
|
|
2229
|
+
attr_accessor :prerequisite_step_ids
|
|
2230
|
+
|
|
2231
|
+
# Output-only The node state.
|
|
2232
|
+
# Corresponds to the JSON property `state`
|
|
2233
|
+
# @return [String]
|
|
2234
|
+
attr_accessor :state
|
|
2235
|
+
|
|
2236
|
+
# Output-only The name of the node.
|
|
2237
|
+
# Corresponds to the JSON property `stepId`
|
|
2238
|
+
# @return [String]
|
|
2239
|
+
attr_accessor :step_id
|
|
2240
|
+
|
|
2241
|
+
def initialize(**args)
|
|
2242
|
+
update!(**args)
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
# Update properties of this object
|
|
2246
|
+
def update!(**args)
|
|
2247
|
+
@error = args[:error] if args.key?(:error)
|
|
2248
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
|
2249
|
+
@prerequisite_step_ids = args[:prerequisite_step_ids] if args.key?(:prerequisite_step_ids)
|
|
2250
|
+
@state = args[:state] if args.key?(:state)
|
|
2251
|
+
@step_id = args[:step_id] if args.key?(:step_id)
|
|
2252
|
+
end
|
|
2253
|
+
end
|
|
2254
|
+
|
|
2255
|
+
# A Cloud Dataproc workflow template resource.
|
|
2256
|
+
class WorkflowTemplate
|
|
2257
|
+
include Google::Apis::Core::Hashable
|
|
2258
|
+
|
|
2259
|
+
# Output-only The time template was created.
|
|
2260
|
+
# Corresponds to the JSON property `createTime`
|
|
2261
|
+
# @return [String]
|
|
2262
|
+
attr_accessor :create_time
|
|
2263
|
+
|
|
2264
|
+
# Required The template id.
|
|
2265
|
+
# Corresponds to the JSON property `id`
|
|
2266
|
+
# @return [String]
|
|
2267
|
+
attr_accessor :id
|
|
2268
|
+
|
|
2269
|
+
# Required The Directed Acyclic Graph of Jobs to submit.
|
|
2270
|
+
# Corresponds to the JSON property `jobs`
|
|
2271
|
+
# @return [Array<Google::Apis::DataprocV1beta2::OrderedJob>]
|
|
2272
|
+
attr_accessor :jobs
|
|
2273
|
+
|
|
2274
|
+
# Optional The labels to associate with this template. These labels will be
|
|
2275
|
+
# propagated to all jobs and clusters created by the workflow instance.Label
|
|
2276
|
+
# keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://
|
|
2277
|
+
# www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must
|
|
2278
|
+
# contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/
|
|
2279
|
+
# rfc/rfc1035.txt).No more than 32 labels can be associated with a template.
|
|
2280
|
+
# Corresponds to the JSON property `labels`
|
|
2281
|
+
# @return [Hash<String,String>]
|
|
2282
|
+
attr_accessor :labels
|
|
2283
|
+
|
|
2284
|
+
# Output-only The "resource name" of the template, as described in https://cloud.
|
|
2285
|
+
# google.com/apis/design/resource_names of the form projects/`project_id`/
|
|
2286
|
+
# regions/`region`/workflowTemplates/`template_id`
|
|
2287
|
+
# Corresponds to the JSON property `name`
|
|
2288
|
+
# @return [String]
|
|
2289
|
+
attr_accessor :name
|
|
2290
|
+
|
|
2291
|
+
# Specifies workflow execution target.Either managed_cluster or cluster_selector
|
|
2292
|
+
# is required.
|
|
2293
|
+
# Corresponds to the JSON property `placement`
|
|
2294
|
+
# @return [Google::Apis::DataprocV1beta2::WorkflowTemplatePlacement]
|
|
2295
|
+
attr_accessor :placement
|
|
2296
|
+
|
|
2297
|
+
# Output-only The time template was last updated.
|
|
2298
|
+
# Corresponds to the JSON property `updateTime`
|
|
2299
|
+
# @return [String]
|
|
2300
|
+
attr_accessor :update_time
|
|
2301
|
+
|
|
2302
|
+
# Optional Used to perform a consistent read-modify-write.This field should be
|
|
2303
|
+
# left blank for a CreateWorkflowTemplate request. It is required for an
|
|
2304
|
+
# UpdateWorkflowTemplate request, and must match the current server version. A
|
|
2305
|
+
# typical update template flow would fetch the current template with a
|
|
2306
|
+
# GetWorkflowTemplate request, which will return the current template with the
|
|
2307
|
+
# version field filled in with the current server version. The user updates
|
|
2308
|
+
# other fields in the template, then returns it as part of the
|
|
2309
|
+
# UpdateWorkflowTemplate request.
|
|
2310
|
+
# Corresponds to the JSON property `version`
|
|
2311
|
+
# @return [Fixnum]
|
|
2312
|
+
attr_accessor :version
|
|
2313
|
+
|
|
2314
|
+
def initialize(**args)
|
|
2315
|
+
update!(**args)
|
|
2316
|
+
end
|
|
2317
|
+
|
|
2318
|
+
# Update properties of this object
|
|
2319
|
+
def update!(**args)
|
|
2320
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2321
|
+
@id = args[:id] if args.key?(:id)
|
|
2322
|
+
@jobs = args[:jobs] if args.key?(:jobs)
|
|
2323
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2324
|
+
@name = args[:name] if args.key?(:name)
|
|
2325
|
+
@placement = args[:placement] if args.key?(:placement)
|
|
2326
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
2327
|
+
@version = args[:version] if args.key?(:version)
|
|
2328
|
+
end
|
|
2329
|
+
end
|
|
2330
|
+
|
|
2331
|
+
# Specifies workflow execution target.Either managed_cluster or cluster_selector
|
|
2332
|
+
# is required.
|
|
2333
|
+
class WorkflowTemplatePlacement
|
|
2334
|
+
include Google::Apis::Core::Hashable
|
|
2335
|
+
|
|
2336
|
+
# A selector that chooses target cluster for jobs based on metadata.
|
|
2337
|
+
# Corresponds to the JSON property `clusterSelector`
|
|
2338
|
+
# @return [Google::Apis::DataprocV1beta2::ClusterSelector]
|
|
2339
|
+
attr_accessor :cluster_selector
|
|
2340
|
+
|
|
2341
|
+
# Cluster that is managed by the workflow.
|
|
2342
|
+
# Corresponds to the JSON property `managedCluster`
|
|
2343
|
+
# @return [Google::Apis::DataprocV1beta2::ManagedCluster]
|
|
2344
|
+
attr_accessor :managed_cluster
|
|
2345
|
+
|
|
2346
|
+
def initialize(**args)
|
|
2347
|
+
update!(**args)
|
|
2348
|
+
end
|
|
2349
|
+
|
|
2350
|
+
# Update properties of this object
|
|
2351
|
+
def update!(**args)
|
|
2352
|
+
@cluster_selector = args[:cluster_selector] if args.key?(:cluster_selector)
|
|
2353
|
+
@managed_cluster = args[:managed_cluster] if args.key?(:managed_cluster)
|
|
2354
|
+
end
|
|
2355
|
+
end
|
|
2356
|
+
|
|
1896
2357
|
# A YARN application created by a job. Application information is a subset of <
|
|
1897
2358
|
# code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.
|
|
1898
2359
|
# Beta Feature: This report is available for testing purposes only. It may be
|