google-cloud-dataproc 0.2.0 → 0.2.1

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: 82fffc37ffbdc3c80e4d201f3f065194c533932ca4c1b694da53d4e4aa5e1e0b
4
- data.tar.gz: 6285efe037bddb8c0e8d6af7ea4dc683a8fbccd22077205ea5b3037c29254b53
3
+ metadata.gz: 033af0180af4311a711513cd9d01d6e08634107a1c62d467711e9c01b3acd5ef
4
+ data.tar.gz: d5a21d7194df968ab642756742464ebb9e7e588b3c7b96ac5aa85d8d3c9c3262
5
5
  SHA512:
6
- metadata.gz: 10d3e25d19999182b465c3abef17e4168570e0f7cd6cc48eab36966e9045c90d8966cc6f116b4426741cc099f81e6ef8ad204a89c7e775a8a236f5931baa8e3e
7
- data.tar.gz: 88b14bbe624b91520adc143757b246c53751d3aa9b35a99010c8fc30ae93e3f26150f86d85458161eb824c4b3ccbb4b9575f48675a1a2816090eb36455d21fb9
6
+ metadata.gz: b1e106c689f869979e81176e27ee1faebf23d9789bc43adcf5f27b3f0c750bba52df7b9643fc83ebd97847d0dc52a7704e9f46c6dede2ed4bd3829877f2a167e
7
+ data.tar.gz: e6885ed3278f0850e4a4dead97cdaaa48cb2659e38c8adf853232b57e81db2036479440defc9c18125c3e0375994a7b4734eb6268eb6e4ab47a499530d2cf07c
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/gax"
16
17
  require "pathname"
17
18
 
@@ -35,6 +36,11 @@ module Google
35
36
  # 3. [Enable the Google Cloud Dataproc API.](https://console.cloud.google.com/apis/library/dataproc.googleapis.com)
36
37
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
37
38
  #
39
+ # ### Installation
40
+ # ```
41
+ # $ gem install google-cloud-dataproc
42
+ # ```
43
+ #
38
44
  # ### Preview
39
45
  # #### ClusterControllerClient
40
46
  # ```rb
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/dataproc/v1/cluster_controller_client"
16
17
  require "google/cloud/dataproc/v1/job_controller_client"
17
18
  require "google/cloud/dataproc/v1/operations_pb"
@@ -38,6 +39,11 @@ module Google
38
39
  # 3. [Enable the Google Cloud Dataproc API.](https://console.cloud.google.com/apis/library/dataproc.googleapis.com)
39
40
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
40
41
  #
42
+ # ### Installation
43
+ # ```
44
+ # $ gem install google-cloud-dataproc
45
+ # ```
46
+ #
41
47
  # ### Preview
42
48
  # #### ClusterControllerClient
43
49
  # ```rb
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -39,6 +40,7 @@ module Google
39
40
  # @!attribute [r] cluster_controller_stub
40
41
  # @return [Google::Cloud::Dataproc::V1::ClusterController::Stub]
41
42
  class ClusterControllerClient
43
+ # @private
42
44
  attr_reader :cluster_controller_stub
43
45
 
44
46
  # The default address of the service.
@@ -563,7 +565,7 @@ module Google
563
565
  @get_cluster.call(req, options, &block)
564
566
  end
565
567
 
566
- # Lists all regions/{region}/clusters in a project.
568
+ # Lists all regions/\\{region}/clusters in a project.
567
569
  #
568
570
  # @param project_id [String]
569
571
  # Required. The ID of the Google Cloud Platform project that the cluster
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dataproc/v1/clusters.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dataproc/v1/clusters_pb'
21
22
 
@@ -42,7 +43,7 @@ module Google
42
43
  rpc :DeleteCluster, DeleteClusterRequest, Google::Longrunning::Operation
43
44
  # Gets the resource representation for a cluster in a project.
44
45
  rpc :GetCluster, GetClusterRequest, Cluster
45
- # Lists all regions/{region}/clusters in a project.
46
+ # Lists all regions/\\{region}/clusters in a project.
46
47
  rpc :ListClusters, ListClustersRequest, ListClustersResponse
47
48
  # Gets cluster diagnostic information.
48
49
  # After the operation completes, the Operation.response field
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "googleauth"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Dataproc
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  module Dataproc
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Longrunning
17
18
  # This resource represents a long-running operation that is the result of a
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +Any+ contains an arbitrary serialized protocol buffer message along with a
@@ -95,17 +96,18 @@ module Google
95
96
  # }
96
97
  # @!attribute [rw] type_url
97
98
  # @return [String]
98
- # A URL/resource name whose content describes the type of the
99
- # serialized protocol buffer message.
99
+ # A URL/resource name that uniquely identifies the type of the serialized
100
+ # protocol buffer message. The last segment of the URL's path must represent
101
+ # the fully qualified name of the type (as in
102
+ # +path/google.protobuf.Duration+). The name should be in a canonical form
103
+ # (e.g., leading "." is not accepted).
100
104
  #
101
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
105
+ # In practice, teams usually precompile into the binary all types that they
106
+ # expect it to use in the context of Any. However, for URLs which use the
107
+ # scheme +http+, +https+, or no scheme, one can optionally set up a type
108
+ # server that maps type URLs to message definitions as follows:
103
109
  #
104
110
  # * If no scheme is provided, +https+ is assumed.
105
- # * The last segment of the URL's path must represent the fully
106
- # qualified name of the type (as in +path/google.protobuf.Duration+).
107
- # The name should be in a canonical form (e.g., leading "." is
108
- # not accepted).
109
111
  # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
110
112
  # value in binary format, or produce an error.
111
113
  # * Applications are allowed to cache lookup results based on the
@@ -114,6 +116,10 @@ module Google
114
116
  # on changes to types. (Use versioned type names to manage
115
117
  # breaking changes.)
116
118
  #
119
+ # Note: this functionality is not currently available in the official
120
+ # protobuf release, and it is not used for type URLs beginning with
121
+ # type.googleapis.com.
122
+ #
117
123
  # Schemes other than +http+, +https+ (or the empty scheme) might be
118
124
  # used with implementation specific semantics.
119
125
  # @!attribute [rw] value
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Duration represents a signed, fixed-length span of time represented
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A generic empty message that you can re-use to avoid defining duplicated
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +FieldMask+ represents a set of symbolic field paths, for example:
@@ -215,6 +216,12 @@ module Google
215
216
  #
216
217
  # Note that oneof type names ("test_oneof" in this case) cannot be used in
217
218
  # paths.
219
+ #
220
+ # == Field Mask Verification
221
+ #
222
+ # The implementation of any API method which has a FieldMask type field in the
223
+ # request should verify the included field paths, and return an
224
+ # +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
218
225
  # @!attribute [rw] paths
219
226
  # @return [Array<String>]
220
227
  # The set of field mask paths.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Timestamp represents a point in time independent of any time zone
@@ -72,12 +73,14 @@ module Google
72
73
  #
73
74
  # In JSON format, the Timestamp type is encoded as a string in the
74
75
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
75
- # format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
76
- # where {year} is always expressed using four digits while {month}, {day},
77
- # {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
76
+ # format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
77
+ # where \\{year} is always expressed using four digits while \\{month}, \\{day},
78
+ # \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
78
79
  # seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
79
80
  # are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
80
- # is required, though only UTC (as indicated by "Z") is presently supported.
81
+ # is required. A proto3 JSON serializer should always use UTC (as indicated by
82
+ # "Z") when printing the Timestamp type and a proto3 JSON parser should be
83
+ # able to accept both UTC and other timezones (as indicated by an offset).
81
84
  #
82
85
  # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
83
86
  # 01:30 UTC on January 15, 2017.
@@ -88,8 +91,8 @@ module Google
88
91
  # to this format using [+strftime+](https://docs.python.org/2/library/time.html#time.strftime)
89
92
  # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
90
93
  # can use the Joda Time's [+ISODateTimeFormat.dateTime()+](
91
- # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
92
- # to obtain a formatter capable of generating timestamps in this format.
94
+ # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
95
+ # ) to obtain a formatter capable of generating timestamps in this format.
93
96
  # @!attribute [rw] seconds
94
97
  # @return [Integer]
95
98
  # Represents seconds of UTC time since Unix epoch
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Rpc
17
18
  # The +Status+ type defines a logical error model that is suitable for different
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Cloud
17
18
  # rubocop:disable LineLength
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -36,6 +37,7 @@ module Google
36
37
  # @!attribute [r] job_controller_stub
37
38
  # @return [Google::Cloud::Dataproc::V1::JobController::Stub]
38
39
  class JobControllerClient
40
+ # @private
39
41
  attr_reader :job_controller_stub
40
42
 
41
43
  # The default address of the service.
@@ -298,7 +300,7 @@ module Google
298
300
  @get_job.call(req, options, &block)
299
301
  end
300
302
 
301
- # Lists regions/{region}/jobs in a project.
303
+ # Lists regions/\\{region}/jobs in a project.
302
304
  #
303
305
  # @param project_id [String]
304
306
  # Required. The ID of the Google Cloud Platform project that the job
@@ -463,8 +465,8 @@ module Google
463
465
 
464
466
  # Starts a job cancellation request. To access the job resource
465
467
  # after cancellation, call
466
- # [regions/{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or
467
- # [regions/{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
468
+ # [regions/\\{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or
469
+ # [regions/\\{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
468
470
  #
469
471
  # @param project_id [String]
470
472
  # Required. The ID of the Google Cloud Platform project that the job
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dataproc/v1/jobs.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/cloud/dataproc/v1/jobs_pb'
21
22
 
@@ -37,14 +38,14 @@ module Google
37
38
  rpc :SubmitJob, SubmitJobRequest, Job
38
39
  # Gets the resource representation for a job in a project.
39
40
  rpc :GetJob, GetJobRequest, Job
40
- # Lists regions/{region}/jobs in a project.
41
+ # Lists regions/\\{region}/jobs in a project.
41
42
  rpc :ListJobs, ListJobsRequest, ListJobsResponse
42
43
  # Updates a job in a project.
43
44
  rpc :UpdateJob, UpdateJobRequest, Job
44
45
  # Starts a job cancellation request. To access the job resource
45
46
  # after cancellation, call
46
- # [regions/{region}/jobs.list](/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or
47
- # [regions/{region}/jobs.get](/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
47
+ # [regions/\\{region}/jobs.list](/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or
48
+ # [regions/\\{region}/jobs.get](/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
48
49
  rpc :CancelJob, CancelJobRequest, Job
49
50
  # Deletes the job from the project. If the job is active, the delete fails,
50
51
  # and the response returns `FAILED_PRECONDITION`.
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dataproc/v1/operations.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataproc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax