google-cloud-dataproc-v1beta2 0.1.1 → 0.2.0
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/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/client.rb +16 -11
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/client.rb +16 -11
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/operations.rb +14 -10
- data/lib/google/cloud/dataproc/v1beta2/job_controller/client.rb +16 -11
- data/lib/google/cloud/dataproc/v1beta2/job_controller/operations.rb +14 -10
- data/lib/google/cloud/dataproc/v1beta2/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb +16 -11
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/operations.rb +14 -10
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35f53a0ac346f6fd1eda512e2fdce0ab5e45940ddbff3e2a1dee2c8bbd19585
|
4
|
+
data.tar.gz: cad810727a51cc78223e390894843a621c27a16e8260d5956ead4a38c8e2f330
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2100a2c9739e7194ef8b0a5b705b9dd570551ae016502dc17bf48c1d41621382473a1e062ec9b9eb7bdcd118f0886123df9d40d9a5ce7883708a4f74bcd6c44
|
7
|
+
data.tar.gz: 6b81514a130d32372f57f5ddb893f096fb87377323cdbbb8c58504d098bea55cb4f25807b0f971f06c9e916b6bcd9e057dfc47f199754372ea9545d273397176
|
@@ -159,7 +159,8 @@ module Google
|
|
159
159
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
160
160
|
credentials = Credentials.new credentials, scope: @config.scope
|
161
161
|
end
|
162
|
-
@quota_project_id =
|
162
|
+
@quota_project_id = @config.quota_project
|
163
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
163
164
|
|
164
165
|
@autoscaling_policy_service_stub = ::Gapic::ServiceStub.new(
|
165
166
|
::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Stub,
|
@@ -627,24 +628,28 @@ module Google
|
|
627
628
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
628
629
|
# trigger a retry.
|
629
630
|
# @return [::Hash]
|
631
|
+
# @!attribute [rw] quota_project
|
632
|
+
# A separate project against which to charge quota.
|
633
|
+
# @return [::String]
|
630
634
|
#
|
631
635
|
class Configuration
|
632
636
|
extend ::Gapic::Config
|
633
637
|
|
634
|
-
config_attr :endpoint,
|
635
|
-
config_attr :credentials,
|
638
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
639
|
+
config_attr :credentials, nil do |value|
|
636
640
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
637
641
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
638
642
|
allowed.any? { |klass| klass === value }
|
639
643
|
end
|
640
|
-
config_attr :scope,
|
641
|
-
config_attr :lib_name,
|
642
|
-
config_attr :lib_version,
|
643
|
-
config_attr(:channel_args,
|
644
|
-
config_attr :interceptors,
|
645
|
-
config_attr :timeout,
|
646
|
-
config_attr :metadata,
|
647
|
-
config_attr :retry_policy,
|
644
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
645
|
+
config_attr :lib_name, nil, ::String, nil
|
646
|
+
config_attr :lib_version, nil, ::String, nil
|
647
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
648
|
+
config_attr :interceptors, nil, ::Array, nil
|
649
|
+
config_attr :timeout, nil, ::Numeric, nil
|
650
|
+
config_attr :metadata, nil, ::Hash, nil
|
651
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
652
|
+
config_attr :quota_project, nil, ::String, nil
|
648
653
|
|
649
654
|
# @private
|
650
655
|
def initialize parent_config = nil
|
@@ -177,7 +177,8 @@ module Google
|
|
177
177
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
178
178
|
credentials = Credentials.new credentials, scope: @config.scope
|
179
179
|
end
|
180
|
-
@quota_project_id =
|
180
|
+
@quota_project_id = @config.quota_project
|
181
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
181
182
|
|
182
183
|
@operations_client = Operations.new do |config|
|
183
184
|
config.credentials = credentials
|
@@ -865,24 +866,28 @@ module Google
|
|
865
866
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
866
867
|
# trigger a retry.
|
867
868
|
# @return [::Hash]
|
869
|
+
# @!attribute [rw] quota_project
|
870
|
+
# A separate project against which to charge quota.
|
871
|
+
# @return [::String]
|
868
872
|
#
|
869
873
|
class Configuration
|
870
874
|
extend ::Gapic::Config
|
871
875
|
|
872
|
-
config_attr :endpoint,
|
873
|
-
config_attr :credentials,
|
876
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
877
|
+
config_attr :credentials, nil do |value|
|
874
878
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
875
879
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
876
880
|
allowed.any? { |klass| klass === value }
|
877
881
|
end
|
878
|
-
config_attr :scope,
|
879
|
-
config_attr :lib_name,
|
880
|
-
config_attr :lib_version,
|
881
|
-
config_attr(:channel_args,
|
882
|
-
config_attr :interceptors,
|
883
|
-
config_attr :timeout,
|
884
|
-
config_attr :metadata,
|
885
|
-
config_attr :retry_policy,
|
882
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
883
|
+
config_attr :lib_name, nil, ::String, nil
|
884
|
+
config_attr :lib_version, nil, ::String, nil
|
885
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
886
|
+
config_attr :interceptors, nil, ::Array, nil
|
887
|
+
config_attr :timeout, nil, ::Numeric, nil
|
888
|
+
config_attr :metadata, nil, ::Hash, nil
|
889
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
890
|
+
config_attr :quota_project, nil, ::String, nil
|
886
891
|
|
887
892
|
# @private
|
888
893
|
def initialize parent_config = nil
|
@@ -464,24 +464,28 @@ module Google
|
|
464
464
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
465
465
|
# trigger a retry.
|
466
466
|
# @return [::Hash]
|
467
|
+
# @!attribute [rw] quota_project
|
468
|
+
# A separate project against which to charge quota.
|
469
|
+
# @return [::String]
|
467
470
|
#
|
468
471
|
class Configuration
|
469
472
|
extend ::Gapic::Config
|
470
473
|
|
471
|
-
config_attr :endpoint,
|
472
|
-
config_attr :credentials,
|
474
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
475
|
+
config_attr :credentials, nil do |value|
|
473
476
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
474
477
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
475
478
|
allowed.any? { |klass| klass === value }
|
476
479
|
end
|
477
|
-
config_attr :scope,
|
478
|
-
config_attr :lib_name,
|
479
|
-
config_attr :lib_version,
|
480
|
-
config_attr(:channel_args,
|
481
|
-
config_attr :interceptors,
|
482
|
-
config_attr :timeout,
|
483
|
-
config_attr :metadata,
|
484
|
-
config_attr :retry_policy,
|
480
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
481
|
+
config_attr :lib_name, nil, ::String, nil
|
482
|
+
config_attr :lib_version, nil, ::String, nil
|
483
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
484
|
+
config_attr :interceptors, nil, ::Array, nil
|
485
|
+
config_attr :timeout, nil, ::Numeric, nil
|
486
|
+
config_attr :metadata, nil, ::Hash, nil
|
487
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
488
|
+
config_attr :quota_project, nil, ::String, nil
|
485
489
|
|
486
490
|
# @private
|
487
491
|
def initialize parent_config = nil
|
@@ -184,7 +184,8 @@ module Google
|
|
184
184
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
185
185
|
credentials = Credentials.new credentials, scope: @config.scope
|
186
186
|
end
|
187
|
-
@quota_project_id =
|
187
|
+
@quota_project_id = @config.quota_project
|
188
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
188
189
|
|
189
190
|
@operations_client = Operations.new do |config|
|
190
191
|
config.credentials = credentials
|
@@ -859,24 +860,28 @@ module Google
|
|
859
860
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
860
861
|
# trigger a retry.
|
861
862
|
# @return [::Hash]
|
863
|
+
# @!attribute [rw] quota_project
|
864
|
+
# A separate project against which to charge quota.
|
865
|
+
# @return [::String]
|
862
866
|
#
|
863
867
|
class Configuration
|
864
868
|
extend ::Gapic::Config
|
865
869
|
|
866
|
-
config_attr :endpoint,
|
867
|
-
config_attr :credentials,
|
870
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
871
|
+
config_attr :credentials, nil do |value|
|
868
872
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
869
873
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
870
874
|
allowed.any? { |klass| klass === value }
|
871
875
|
end
|
872
|
-
config_attr :scope,
|
873
|
-
config_attr :lib_name,
|
874
|
-
config_attr :lib_version,
|
875
|
-
config_attr(:channel_args,
|
876
|
-
config_attr :interceptors,
|
877
|
-
config_attr :timeout,
|
878
|
-
config_attr :metadata,
|
879
|
-
config_attr :retry_policy,
|
876
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
877
|
+
config_attr :lib_name, nil, ::String, nil
|
878
|
+
config_attr :lib_version, nil, ::String, nil
|
879
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
880
|
+
config_attr :interceptors, nil, ::Array, nil
|
881
|
+
config_attr :timeout, nil, ::Numeric, nil
|
882
|
+
config_attr :metadata, nil, ::Hash, nil
|
883
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
884
|
+
config_attr :quota_project, nil, ::String, nil
|
880
885
|
|
881
886
|
# @private
|
882
887
|
def initialize parent_config = nil
|
@@ -464,24 +464,28 @@ module Google
|
|
464
464
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
465
465
|
# trigger a retry.
|
466
466
|
# @return [::Hash]
|
467
|
+
# @!attribute [rw] quota_project
|
468
|
+
# A separate project against which to charge quota.
|
469
|
+
# @return [::String]
|
467
470
|
#
|
468
471
|
class Configuration
|
469
472
|
extend ::Gapic::Config
|
470
473
|
|
471
|
-
config_attr :endpoint,
|
472
|
-
config_attr :credentials,
|
474
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
475
|
+
config_attr :credentials, nil do |value|
|
473
476
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
474
477
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
475
478
|
allowed.any? { |klass| klass === value }
|
476
479
|
end
|
477
|
-
config_attr :scope,
|
478
|
-
config_attr :lib_name,
|
479
|
-
config_attr :lib_version,
|
480
|
-
config_attr(:channel_args,
|
481
|
-
config_attr :interceptors,
|
482
|
-
config_attr :timeout,
|
483
|
-
config_attr :metadata,
|
484
|
-
config_attr :retry_policy,
|
480
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
481
|
+
config_attr :lib_name, nil, ::String, nil
|
482
|
+
config_attr :lib_version, nil, ::String, nil
|
483
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
484
|
+
config_attr :interceptors, nil, ::Array, nil
|
485
|
+
config_attr :timeout, nil, ::Numeric, nil
|
486
|
+
config_attr :metadata, nil, ::Hash, nil
|
487
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
488
|
+
config_attr :quota_project, nil, ::String, nil
|
485
489
|
|
486
490
|
# @private
|
487
491
|
def initialize parent_config = nil
|
@@ -187,7 +187,8 @@ module Google
|
|
187
187
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
188
188
|
credentials = Credentials.new credentials, scope: @config.scope
|
189
189
|
end
|
190
|
-
@quota_project_id =
|
190
|
+
@quota_project_id = @config.quota_project
|
191
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
191
192
|
|
192
193
|
@operations_client = Operations.new do |config|
|
193
194
|
config.credentials = credentials
|
@@ -907,24 +908,28 @@ module Google
|
|
907
908
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
908
909
|
# trigger a retry.
|
909
910
|
# @return [::Hash]
|
911
|
+
# @!attribute [rw] quota_project
|
912
|
+
# A separate project against which to charge quota.
|
913
|
+
# @return [::String]
|
910
914
|
#
|
911
915
|
class Configuration
|
912
916
|
extend ::Gapic::Config
|
913
917
|
|
914
|
-
config_attr :endpoint,
|
915
|
-
config_attr :credentials,
|
918
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
919
|
+
config_attr :credentials, nil do |value|
|
916
920
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
917
921
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
918
922
|
allowed.any? { |klass| klass === value }
|
919
923
|
end
|
920
|
-
config_attr :scope,
|
921
|
-
config_attr :lib_name,
|
922
|
-
config_attr :lib_version,
|
923
|
-
config_attr(:channel_args,
|
924
|
-
config_attr :interceptors,
|
925
|
-
config_attr :timeout,
|
926
|
-
config_attr :metadata,
|
927
|
-
config_attr :retry_policy,
|
924
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
925
|
+
config_attr :lib_name, nil, ::String, nil
|
926
|
+
config_attr :lib_version, nil, ::String, nil
|
927
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
928
|
+
config_attr :interceptors, nil, ::Array, nil
|
929
|
+
config_attr :timeout, nil, ::Numeric, nil
|
930
|
+
config_attr :metadata, nil, ::Hash, nil
|
931
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
932
|
+
config_attr :quota_project, nil, ::String, nil
|
928
933
|
|
929
934
|
# @private
|
930
935
|
def initialize parent_config = nil
|
@@ -464,24 +464,28 @@ module Google
|
|
464
464
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
465
465
|
# trigger a retry.
|
466
466
|
# @return [::Hash]
|
467
|
+
# @!attribute [rw] quota_project
|
468
|
+
# A separate project against which to charge quota.
|
469
|
+
# @return [::String]
|
467
470
|
#
|
468
471
|
class Configuration
|
469
472
|
extend ::Gapic::Config
|
470
473
|
|
471
|
-
config_attr :endpoint,
|
472
|
-
config_attr :credentials,
|
474
|
+
config_attr :endpoint, "dataproc.googleapis.com", ::String
|
475
|
+
config_attr :credentials, nil do |value|
|
473
476
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
474
477
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
475
478
|
allowed.any? { |klass| klass === value }
|
476
479
|
end
|
477
|
-
config_attr :scope,
|
478
|
-
config_attr :lib_name,
|
479
|
-
config_attr :lib_version,
|
480
|
-
config_attr(:channel_args,
|
481
|
-
config_attr :interceptors,
|
482
|
-
config_attr :timeout,
|
483
|
-
config_attr :metadata,
|
484
|
-
config_attr :retry_policy,
|
480
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
481
|
+
config_attr :lib_name, nil, ::String, nil
|
482
|
+
config_attr :lib_version, nil, ::String, nil
|
483
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
484
|
+
config_attr :interceptors, nil, ::Array, nil
|
485
|
+
config_attr :timeout, nil, ::Numeric, nil
|
486
|
+
config_attr :metadata, nil, ::Hash, nil
|
487
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
488
|
+
config_attr :quota_project, nil, ::String, nil
|
485
489
|
|
486
490
|
# @private
|
487
491
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataproc-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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: 2020-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,14 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-focus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-rg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: rake
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|