google-cloud-dataproc-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +71 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb +81 -0
- data/lib/google/cloud/dataproc/v1/autoscaling_policies_services_pb.rb +58 -0
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +734 -0
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/paths.rb +110 -0
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service.rb +50 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +970 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +564 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller.rb +50 -0
- data/lib/google/cloud/dataproc/v1/clusters_pb.rb +235 -0
- data/lib/google/cloud/dataproc/v1/clusters_services_pb.rb +68 -0
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +980 -0
- data/lib/google/cloud/dataproc/v1/job_controller/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +564 -0
- data/lib/google/cloud/dataproc/v1/job_controller.rb +49 -0
- data/lib/google/cloud/dataproc/v1/jobs_pb.rb +282 -0
- data/lib/google/cloud/dataproc/v1/jobs_services_pb.rb +62 -0
- data/lib/google/cloud/dataproc/v1/operations_pb.rb +46 -0
- data/lib/google/cloud/dataproc/v1/shared_pb.rb +29 -0
- data/lib/google/cloud/dataproc/v1/version.rb +28 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +1024 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +564 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service/paths.rb +110 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service.rb +51 -0
- data/lib/google/cloud/dataproc/v1/workflow_templates_pb.rb +187 -0
- data/lib/google/cloud/dataproc/v1/workflow_templates_services_pb.rb +104 -0
- data/lib/google/cloud/dataproc/v1.rb +38 -0
- data/lib/google-cloud-dataproc-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb +272 -0
- data/proto_docs/google/cloud/dataproc/v1/clusters.rb +961 -0
- data/proto_docs/google/cloud/dataproc/v1/jobs.rb +976 -0
- data/proto_docs/google/cloud/dataproc/v1/operations.rb +98 -0
- data/proto_docs/google/cloud/dataproc/v1/shared.rb +50 -0
- data/proto_docs/google/cloud/dataproc/v1/workflow_templates.rb +693 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +205 -0
@@ -0,0 +1,98 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Dataproc
|
23
|
+
module V1
|
24
|
+
# The status of the operation.
|
25
|
+
# @!attribute [r] state
|
26
|
+
# @return [Google::Cloud::Dataproc::V1::ClusterOperationStatus::State]
|
27
|
+
# Output only. A message containing the operation state.
|
28
|
+
# @!attribute [r] inner_state
|
29
|
+
# @return [String]
|
30
|
+
# Output only. A message containing the detailed operation state.
|
31
|
+
# @!attribute [r] details
|
32
|
+
# @return [String]
|
33
|
+
# Output only. A message containing any operation metadata details.
|
34
|
+
# @!attribute [r] state_start_time
|
35
|
+
# @return [Google::Protobuf::Timestamp]
|
36
|
+
# Output only. The time this state was entered.
|
37
|
+
class ClusterOperationStatus
|
38
|
+
include Google::Protobuf::MessageExts
|
39
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
|
41
|
+
# The operation state.
|
42
|
+
module State
|
43
|
+
# Unused.
|
44
|
+
UNKNOWN = 0
|
45
|
+
|
46
|
+
# The operation has been created.
|
47
|
+
PENDING = 1
|
48
|
+
|
49
|
+
# The operation is running.
|
50
|
+
RUNNING = 2
|
51
|
+
|
52
|
+
# The operation is done; either cancelled or completed.
|
53
|
+
DONE = 3
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Metadata describing the operation.
|
58
|
+
# @!attribute [r] cluster_name
|
59
|
+
# @return [String]
|
60
|
+
# Output only. Name of the cluster for the operation.
|
61
|
+
# @!attribute [r] cluster_uuid
|
62
|
+
# @return [String]
|
63
|
+
# Output only. Cluster UUID for the operation.
|
64
|
+
# @!attribute [r] status
|
65
|
+
# @return [Google::Cloud::Dataproc::V1::ClusterOperationStatus]
|
66
|
+
# Output only. Current operation status.
|
67
|
+
# @!attribute [r] status_history
|
68
|
+
# @return [Array<Google::Cloud::Dataproc::V1::ClusterOperationStatus>]
|
69
|
+
# Output only. The previous operation status.
|
70
|
+
# @!attribute [r] operation_type
|
71
|
+
# @return [String]
|
72
|
+
# Output only. The operation type.
|
73
|
+
# @!attribute [r] description
|
74
|
+
# @return [String]
|
75
|
+
# Output only. Short description of operation.
|
76
|
+
# @!attribute [r] labels
|
77
|
+
# @return [Google::Protobuf::Map{String => String}]
|
78
|
+
# Output only. Labels associated with the operation
|
79
|
+
# @!attribute [r] warnings
|
80
|
+
# @return [Array<String>]
|
81
|
+
# Output only. Errors encountered during operation execution.
|
82
|
+
class ClusterOperationMetadata
|
83
|
+
include Google::Protobuf::MessageExts
|
84
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
85
|
+
|
86
|
+
# @!attribute [rw] key
|
87
|
+
# @return [String]
|
88
|
+
# @!attribute [rw] value
|
89
|
+
# @return [String]
|
90
|
+
class LabelsEntry
|
91
|
+
include Google::Protobuf::MessageExts
|
92
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Dataproc
|
23
|
+
module V1
|
24
|
+
# Cluster components that can be activated.
|
25
|
+
module Component
|
26
|
+
# Unspecified component.
|
27
|
+
COMPONENT_UNSPECIFIED = 0
|
28
|
+
|
29
|
+
# The Anaconda python distribution.
|
30
|
+
ANACONDA = 5
|
31
|
+
|
32
|
+
# The Hive Web HCatalog (the REST service for accessing HCatalog).
|
33
|
+
HIVE_WEBHCAT = 3
|
34
|
+
|
35
|
+
# The Jupyter Notebook.
|
36
|
+
JUPYTER = 1
|
37
|
+
|
38
|
+
# The Presto query engine.
|
39
|
+
PRESTO = 6
|
40
|
+
|
41
|
+
# The Zeppelin notebook.
|
42
|
+
ZEPPELIN = 4
|
43
|
+
|
44
|
+
# The Zookeeper service.
|
45
|
+
ZOOKEEPER = 8
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|