google-apis-dataproc_v1 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f36ab4eacc5e9634834a09b1ea13be85e23f3c2155fcb874815c131828b73b7f
|
4
|
+
data.tar.gz: 3415a436f1256db008f8a54968171d35068f944ab9c4cbd746442b37b99a57e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65c3bab4183e9b76c2f1c11f52575e9fc7003edc413209a9c0b637a28b87eea496c9bd538f0187769993bc7c2c3833de30cab28cef791afce3f5906d6d2fda8b
|
7
|
+
data.tar.gz: 0264b1d05df86afcaf5805ddc18610e7d656b8722dd2988fd8f921a67158b533c40d932c4386597289196d94f444fc33bde86b2c580fc547beba87333adef49f
|
data/CHANGELOG.md
CHANGED
@@ -1440,68 +1440,6 @@ module Google
|
|
1440
1440
|
end
|
1441
1441
|
end
|
1442
1442
|
|
1443
|
-
# Metadata describing the Compute Engine node pool operation.
|
1444
|
-
class GceNodePoolOperationMetadata
|
1445
|
-
include Google::Apis::Core::Hashable
|
1446
|
-
|
1447
|
-
# Output only. Cluster UUID associated with the Compute Engine node pool
|
1448
|
-
# operation.
|
1449
|
-
# Corresponds to the JSON property `clusterUuid`
|
1450
|
-
# @return [String]
|
1451
|
-
attr_accessor :cluster_uuid
|
1452
|
-
|
1453
|
-
# Output only. Short description of operation.
|
1454
|
-
# Corresponds to the JSON property `description`
|
1455
|
-
# @return [String]
|
1456
|
-
attr_accessor :description
|
1457
|
-
|
1458
|
-
# Output only. Compute Engine node pool ID for the operation.
|
1459
|
-
# Corresponds to the JSON property `gceNodePoolId`
|
1460
|
-
# @return [String]
|
1461
|
-
attr_accessor :gce_node_pool_id
|
1462
|
-
|
1463
|
-
# Output only. Labels associated with the operation
|
1464
|
-
# Corresponds to the JSON property `labels`
|
1465
|
-
# @return [Hash<String,String>]
|
1466
|
-
attr_accessor :labels
|
1467
|
-
|
1468
|
-
# The operation type.
|
1469
|
-
# Corresponds to the JSON property `operationType`
|
1470
|
-
# @return [String]
|
1471
|
-
attr_accessor :operation_type
|
1472
|
-
|
1473
|
-
# The status of the operation.
|
1474
|
-
# Corresponds to the JSON property `status`
|
1475
|
-
# @return [Google::Apis::DataprocV1::ClusterOperationStatus]
|
1476
|
-
attr_accessor :status
|
1477
|
-
|
1478
|
-
# Output only. The previous operation status.
|
1479
|
-
# Corresponds to the JSON property `statusHistory`
|
1480
|
-
# @return [Array<Google::Apis::DataprocV1::ClusterOperationStatus>]
|
1481
|
-
attr_accessor :status_history
|
1482
|
-
|
1483
|
-
# Output only. Errors encountered during operation execution.
|
1484
|
-
# Corresponds to the JSON property `warnings`
|
1485
|
-
# @return [Array<String>]
|
1486
|
-
attr_accessor :warnings
|
1487
|
-
|
1488
|
-
def initialize(**args)
|
1489
|
-
update!(**args)
|
1490
|
-
end
|
1491
|
-
|
1492
|
-
# Update properties of this object
|
1493
|
-
def update!(**args)
|
1494
|
-
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
1495
|
-
@description = args[:description] if args.key?(:description)
|
1496
|
-
@gce_node_pool_id = args[:gce_node_pool_id] if args.key?(:gce_node_pool_id)
|
1497
|
-
@labels = args[:labels] if args.key?(:labels)
|
1498
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
1499
|
-
@status = args[:status] if args.key?(:status)
|
1500
|
-
@status_history = args[:status_history] if args.key?(:status_history)
|
1501
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
1502
|
-
end
|
1503
|
-
end
|
1504
|
-
|
1505
1443
|
# Request message for GetIamPolicy method.
|
1506
1444
|
class GetIamPolicyRequest
|
1507
1445
|
include Google::Apis::Core::Hashable
|
@@ -1628,18 +1566,23 @@ module Google
|
|
1628
1566
|
# @return [String]
|
1629
1567
|
attr_accessor :min_cpu_platform
|
1630
1568
|
|
1631
|
-
# Optional. Whether the nodes are created as preemptible VM instances (
|
1632
|
-
# cloud.google.com/compute/docs/instances/preemptible).
|
1633
|
-
#
|
1634
|
-
#
|
1635
|
-
# CONTROLLER role
|
1569
|
+
# Optional. Whether the nodes are created as legacy preemptible VM instances (
|
1570
|
+
# https://cloud.google.com/compute/docs/instances/preemptible). Also see Spot
|
1571
|
+
# VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot
|
1572
|
+
# preemptible nodes cannot be used in a node pool with the CONTROLLER role or in
|
1573
|
+
# the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node
|
1574
|
+
# pool will assume the CONTROLLER role).
|
1636
1575
|
# Corresponds to the JSON property `preemptible`
|
1637
1576
|
# @return [Boolean]
|
1638
1577
|
attr_accessor :preemptible
|
1639
1578
|
alias_method :preemptible?, :preemptible
|
1640
1579
|
|
1641
|
-
# Optional.
|
1642
|
-
#
|
1580
|
+
# Optional. Whether the nodes are created as Spot VM instances (https://cloud.
|
1581
|
+
# google.com/compute/docs/instances/spot). Spot VMs are the latest update to
|
1582
|
+
# legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and
|
1583
|
+
# Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role
|
1584
|
+
# or in the DEFAULT node pool if the CONTROLLER role is not assigned (the
|
1585
|
+
# DEFAULT node pool will assume the CONTROLLER role).
|
1643
1586
|
# Corresponds to the JSON property `spot`
|
1644
1587
|
# @return [Boolean]
|
1645
1588
|
attr_accessor :spot
|
@@ -3133,6 +3076,67 @@ module Google
|
|
3133
3076
|
end
|
3134
3077
|
end
|
3135
3078
|
|
3079
|
+
# Metadata describing the node group operation.
|
3080
|
+
class NodeGroupOperationMetadata
|
3081
|
+
include Google::Apis::Core::Hashable
|
3082
|
+
|
3083
|
+
# Output only. Cluster UUID associated with the node group operation.
|
3084
|
+
# Corresponds to the JSON property `clusterUuid`
|
3085
|
+
# @return [String]
|
3086
|
+
attr_accessor :cluster_uuid
|
3087
|
+
|
3088
|
+
# Output only. Short description of operation.
|
3089
|
+
# Corresponds to the JSON property `description`
|
3090
|
+
# @return [String]
|
3091
|
+
attr_accessor :description
|
3092
|
+
|
3093
|
+
# Output only. Labels associated with the operation.
|
3094
|
+
# Corresponds to the JSON property `labels`
|
3095
|
+
# @return [Hash<String,String>]
|
3096
|
+
attr_accessor :labels
|
3097
|
+
|
3098
|
+
# Output only. Node group ID for the operation.
|
3099
|
+
# Corresponds to the JSON property `nodeGroupId`
|
3100
|
+
# @return [String]
|
3101
|
+
attr_accessor :node_group_id
|
3102
|
+
|
3103
|
+
# The operation type.
|
3104
|
+
# Corresponds to the JSON property `operationType`
|
3105
|
+
# @return [String]
|
3106
|
+
attr_accessor :operation_type
|
3107
|
+
|
3108
|
+
# The status of the operation.
|
3109
|
+
# Corresponds to the JSON property `status`
|
3110
|
+
# @return [Google::Apis::DataprocV1::ClusterOperationStatus]
|
3111
|
+
attr_accessor :status
|
3112
|
+
|
3113
|
+
# Output only. The previous operation status.
|
3114
|
+
# Corresponds to the JSON property `statusHistory`
|
3115
|
+
# @return [Array<Google::Apis::DataprocV1::ClusterOperationStatus>]
|
3116
|
+
attr_accessor :status_history
|
3117
|
+
|
3118
|
+
# Output only. Errors encountered during operation execution.
|
3119
|
+
# Corresponds to the JSON property `warnings`
|
3120
|
+
# @return [Array<String>]
|
3121
|
+
attr_accessor :warnings
|
3122
|
+
|
3123
|
+
def initialize(**args)
|
3124
|
+
update!(**args)
|
3125
|
+
end
|
3126
|
+
|
3127
|
+
# Update properties of this object
|
3128
|
+
def update!(**args)
|
3129
|
+
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
3130
|
+
@description = args[:description] if args.key?(:description)
|
3131
|
+
@labels = args[:labels] if args.key?(:labels)
|
3132
|
+
@node_group_id = args[:node_group_id] if args.key?(:node_group_id)
|
3133
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
3134
|
+
@status = args[:status] if args.key?(:status)
|
3135
|
+
@status_history = args[:status_history] if args.key?(:status_history)
|
3136
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
3137
|
+
end
|
3138
|
+
end
|
3139
|
+
|
3136
3140
|
# Specifies an executable to run on a fully configured node and a timeout period
|
3137
3141
|
# for executable completion.
|
3138
3142
|
class NodeInitializationAction
|
@@ -3942,6 +3946,11 @@ module Google
|
|
3942
3946
|
class RuntimeInfo
|
3943
3947
|
include Google::Apis::Core::Hashable
|
3944
3948
|
|
3949
|
+
# Usage metrics represent total resources consumed by a workload.
|
3950
|
+
# Corresponds to the JSON property `approximateUsage`
|
3951
|
+
# @return [Google::Apis::DataprocV1::UsageMetrics]
|
3952
|
+
attr_accessor :approximate_usage
|
3953
|
+
|
3945
3954
|
# Output only. A URI pointing to the location of the diagnostics tarball.
|
3946
3955
|
# Corresponds to the JSON property `diagnosticOutputUri`
|
3947
3956
|
# @return [String]
|
@@ -3965,6 +3974,7 @@ module Google
|
|
3965
3974
|
|
3966
3975
|
# Update properties of this object
|
3967
3976
|
def update!(**args)
|
3977
|
+
@approximate_usage = args[:approximate_usage] if args.key?(:approximate_usage)
|
3968
3978
|
@diagnostic_output_uri = args[:diagnostic_output_uri] if args.key?(:diagnostic_output_uri)
|
3969
3979
|
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
3970
3980
|
@output_uri = args[:output_uri] if args.key?(:output_uri)
|
@@ -4917,6 +4927,31 @@ module Google
|
|
4917
4927
|
end
|
4918
4928
|
end
|
4919
4929
|
|
4930
|
+
# Usage metrics represent total resources consumed by a workload.
|
4931
|
+
class UsageMetrics
|
4932
|
+
include Google::Apis::Core::Hashable
|
4933
|
+
|
4934
|
+
# Optional. DCU usage in milliDCU*seconds.
|
4935
|
+
# Corresponds to the JSON property `milliDcuSeconds`
|
4936
|
+
# @return [Fixnum]
|
4937
|
+
attr_accessor :milli_dcu_seconds
|
4938
|
+
|
4939
|
+
# Optional. Shuffle storage usage in GB*Seconds
|
4940
|
+
# Corresponds to the JSON property `shuffleStorageGbSeconds`
|
4941
|
+
# @return [Fixnum]
|
4942
|
+
attr_accessor :shuffle_storage_gb_seconds
|
4943
|
+
|
4944
|
+
def initialize(**args)
|
4945
|
+
update!(**args)
|
4946
|
+
end
|
4947
|
+
|
4948
|
+
# Update properties of this object
|
4949
|
+
def update!(**args)
|
4950
|
+
@milli_dcu_seconds = args[:milli_dcu_seconds] if args.key?(:milli_dcu_seconds)
|
4951
|
+
@shuffle_storage_gb_seconds = args[:shuffle_storage_gb_seconds] if args.key?(:shuffle_storage_gb_seconds)
|
4952
|
+
end
|
4953
|
+
end
|
4954
|
+
|
4920
4955
|
# Validation based on a list of allowed values.
|
4921
4956
|
class ValueValidation
|
4922
4957
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataprocV1
|
18
18
|
# Version of the google-apis-dataproc_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221025"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,12 +202,6 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
-
class GceNodePoolOperationMetadata
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
-
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
209
|
-
end
|
210
|
-
|
211
205
|
class GetIamPolicyRequest
|
212
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
207
|
|
@@ -442,6 +436,12 @@ module Google
|
|
442
436
|
include Google::Apis::Core::JsonObjectSupport
|
443
437
|
end
|
444
438
|
|
439
|
+
class NodeGroupOperationMetadata
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
445
|
class NodeInitializationAction
|
446
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
447
|
|
@@ -676,6 +676,12 @@ module Google
|
|
676
676
|
include Google::Apis::Core::JsonObjectSupport
|
677
677
|
end
|
678
678
|
|
679
|
+
class UsageMetrics
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
679
685
|
class ValueValidation
|
680
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
687
|
|
@@ -1079,22 +1085,6 @@ module Google
|
|
1079
1085
|
end
|
1080
1086
|
end
|
1081
1087
|
|
1082
|
-
class GceNodePoolOperationMetadata
|
1083
|
-
# @private
|
1084
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1085
|
-
property :cluster_uuid, as: 'clusterUuid'
|
1086
|
-
property :description, as: 'description'
|
1087
|
-
property :gce_node_pool_id, as: 'gceNodePoolId'
|
1088
|
-
hash :labels, as: 'labels'
|
1089
|
-
property :operation_type, as: 'operationType'
|
1090
|
-
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
1091
|
-
|
1092
|
-
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
1093
|
-
|
1094
|
-
collection :warnings, as: 'warnings'
|
1095
|
-
end
|
1096
|
-
end
|
1097
|
-
|
1098
1088
|
class GetIamPolicyRequest
|
1099
1089
|
# @private
|
1100
1090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1511,6 +1501,22 @@ module Google
|
|
1511
1501
|
end
|
1512
1502
|
end
|
1513
1503
|
|
1504
|
+
class NodeGroupOperationMetadata
|
1505
|
+
# @private
|
1506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1507
|
+
property :cluster_uuid, as: 'clusterUuid'
|
1508
|
+
property :description, as: 'description'
|
1509
|
+
hash :labels, as: 'labels'
|
1510
|
+
property :node_group_id, as: 'nodeGroupId'
|
1511
|
+
property :operation_type, as: 'operationType'
|
1512
|
+
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
1513
|
+
|
1514
|
+
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
1515
|
+
|
1516
|
+
collection :warnings, as: 'warnings'
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1514
1520
|
class NodeInitializationAction
|
1515
1521
|
# @private
|
1516
1522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1702,6 +1708,8 @@ module Google
|
|
1702
1708
|
class RuntimeInfo
|
1703
1709
|
# @private
|
1704
1710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1711
|
+
property :approximate_usage, as: 'approximateUsage', class: Google::Apis::DataprocV1::UsageMetrics, decorator: Google::Apis::DataprocV1::UsageMetrics::Representation
|
1712
|
+
|
1705
1713
|
property :diagnostic_output_uri, as: 'diagnosticOutputUri'
|
1706
1714
|
hash :endpoints, as: 'endpoints'
|
1707
1715
|
property :output_uri, as: 'outputUri'
|
@@ -1932,6 +1940,14 @@ module Google
|
|
1932
1940
|
end
|
1933
1941
|
end
|
1934
1942
|
|
1943
|
+
class UsageMetrics
|
1944
|
+
# @private
|
1945
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1946
|
+
property :milli_dcu_seconds, :numeric_string => true, as: 'milliDcuSeconds'
|
1947
|
+
property :shuffle_storage_gb_seconds, :numeric_string => true, as: 'shuffleStorageGbSeconds'
|
1948
|
+
end
|
1949
|
+
end
|
1950
|
+
|
1935
1951
|
class ValueValidation
|
1936
1952
|
# @private
|
1937
1953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -506,6 +506,153 @@ module Google
|
|
506
506
|
execute_or_queue_command(command, &block)
|
507
507
|
end
|
508
508
|
|
509
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
510
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
511
|
+
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
512
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
513
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
514
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
515
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
516
|
+
# corresponding to Code.CANCELLED.
|
517
|
+
# @param [String] name
|
518
|
+
# The name of the operation resource to be cancelled.
|
519
|
+
# @param [String] fields
|
520
|
+
# Selector specifying which fields to include in a partial response.
|
521
|
+
# @param [String] quota_user
|
522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
524
|
+
# @param [Google::Apis::RequestOptions] options
|
525
|
+
# Request-specific options
|
526
|
+
#
|
527
|
+
# @yield [result, err] Result & error if block supplied
|
528
|
+
# @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object
|
529
|
+
# @yieldparam err [StandardError] error object if request failed
|
530
|
+
#
|
531
|
+
# @return [Google::Apis::DataprocV1::Empty]
|
532
|
+
#
|
533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
537
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
538
|
+
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
539
|
+
command.response_class = Google::Apis::DataprocV1::Empty
|
540
|
+
command.params['name'] = name unless name.nil?
|
541
|
+
command.query['fields'] = fields unless fields.nil?
|
542
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
543
|
+
execute_or_queue_command(command, &block)
|
544
|
+
end
|
545
|
+
|
546
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
547
|
+
# longer interested in the operation result. It does not cancel the operation.
|
548
|
+
# If the server doesn't support this method, it returns google.rpc.Code.
|
549
|
+
# UNIMPLEMENTED.
|
550
|
+
# @param [String] name
|
551
|
+
# The name of the operation resource to be deleted.
|
552
|
+
# @param [String] fields
|
553
|
+
# Selector specifying which fields to include in a partial response.
|
554
|
+
# @param [String] quota_user
|
555
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
556
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
557
|
+
# @param [Google::Apis::RequestOptions] options
|
558
|
+
# Request-specific options
|
559
|
+
#
|
560
|
+
# @yield [result, err] Result & error if block supplied
|
561
|
+
# @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object
|
562
|
+
# @yieldparam err [StandardError] error object if request failed
|
563
|
+
#
|
564
|
+
# @return [Google::Apis::DataprocV1::Empty]
|
565
|
+
#
|
566
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
567
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
568
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
569
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
570
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
571
|
+
command.response_representation = Google::Apis::DataprocV1::Empty::Representation
|
572
|
+
command.response_class = Google::Apis::DataprocV1::Empty
|
573
|
+
command.params['name'] = name unless name.nil?
|
574
|
+
command.query['fields'] = fields unless fields.nil?
|
575
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
576
|
+
execute_or_queue_command(command, &block)
|
577
|
+
end
|
578
|
+
|
579
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
580
|
+
# to poll the operation result at intervals as recommended by the API service.
|
581
|
+
# @param [String] name
|
582
|
+
# The name of the operation resource.
|
583
|
+
# @param [String] fields
|
584
|
+
# Selector specifying which fields to include in a partial response.
|
585
|
+
# @param [String] quota_user
|
586
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
587
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
588
|
+
# @param [Google::Apis::RequestOptions] options
|
589
|
+
# Request-specific options
|
590
|
+
#
|
591
|
+
# @yield [result, err] Result & error if block supplied
|
592
|
+
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
593
|
+
# @yieldparam err [StandardError] error object if request failed
|
594
|
+
#
|
595
|
+
# @return [Google::Apis::DataprocV1::Operation]
|
596
|
+
#
|
597
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
598
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
599
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
600
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
601
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
602
|
+
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
603
|
+
command.response_class = Google::Apis::DataprocV1::Operation
|
604
|
+
command.params['name'] = name unless name.nil?
|
605
|
+
command.query['fields'] = fields unless fields.nil?
|
606
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
607
|
+
execute_or_queue_command(command, &block)
|
608
|
+
end
|
609
|
+
|
610
|
+
# Lists operations that match the specified filter in the request. If the server
|
611
|
+
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
612
|
+
# allows API services to override the binding to use different resource name
|
613
|
+
# schemes, such as users/*/operations. To override the binding, API services can
|
614
|
+
# add a binding such as "/v1/`name=users/*`/operations" to their service
|
615
|
+
# configuration. For backwards compatibility, the default name includes the
|
616
|
+
# operations collection id, however overriding users must ensure the name
|
617
|
+
# binding is the parent resource, without the operations collection id.
|
618
|
+
# @param [String] name
|
619
|
+
# The name of the operation's parent resource.
|
620
|
+
# @param [String] filter
|
621
|
+
# The standard list filter.
|
622
|
+
# @param [Fixnum] page_size
|
623
|
+
# The standard list page size.
|
624
|
+
# @param [String] page_token
|
625
|
+
# The standard list page token.
|
626
|
+
# @param [String] fields
|
627
|
+
# Selector specifying which fields to include in a partial response.
|
628
|
+
# @param [String] quota_user
|
629
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
630
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
631
|
+
# @param [Google::Apis::RequestOptions] options
|
632
|
+
# Request-specific options
|
633
|
+
#
|
634
|
+
# @yield [result, err] Result & error if block supplied
|
635
|
+
# @yieldparam result [Google::Apis::DataprocV1::ListOperationsResponse] parsed result object
|
636
|
+
# @yieldparam err [StandardError] error object if request failed
|
637
|
+
#
|
638
|
+
# @return [Google::Apis::DataprocV1::ListOperationsResponse]
|
639
|
+
#
|
640
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
641
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
642
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
643
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
644
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
645
|
+
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
|
646
|
+
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
|
647
|
+
command.params['name'] = name unless name.nil?
|
648
|
+
command.query['filter'] = filter unless filter.nil?
|
649
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
650
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
651
|
+
command.query['fields'] = fields unless fields.nil?
|
652
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
653
|
+
execute_or_queue_command(command, &block)
|
654
|
+
end
|
655
|
+
|
509
656
|
# Creates new workflow template.
|
510
657
|
# @param [String] parent
|
511
658
|
# Required. The resource name of the region or location, as described in https://
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataproc_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|