google-cloud-dataflow-v1beta3 0.5.0 → 0.6.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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb +6 -4
  4. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest/client.rb +6 -4
  5. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest/service_stub.rb +1 -1
  6. data/lib/google/cloud/dataflow/v1beta3/jobs/client.rb +6 -4
  7. data/lib/google/cloud/dataflow/v1beta3/jobs/rest/client.rb +6 -4
  8. data/lib/google/cloud/dataflow/v1beta3/jobs/rest/service_stub.rb +6 -6
  9. data/lib/google/cloud/dataflow/v1beta3/messages/client.rb +6 -4
  10. data/lib/google/cloud/dataflow/v1beta3/messages/rest/client.rb +6 -4
  11. data/lib/google/cloud/dataflow/v1beta3/messages/rest/service_stub.rb +1 -1
  12. data/lib/google/cloud/dataflow/v1beta3/metrics/client.rb +6 -4
  13. data/lib/google/cloud/dataflow/v1beta3/metrics/rest/client.rb +6 -4
  14. data/lib/google/cloud/dataflow/v1beta3/metrics/rest/service_stub.rb +3 -3
  15. data/lib/google/cloud/dataflow/v1beta3/snapshots/client.rb +6 -4
  16. data/lib/google/cloud/dataflow/v1beta3/snapshots/rest/client.rb +6 -4
  17. data/lib/google/cloud/dataflow/v1beta3/snapshots/rest/service_stub.rb +3 -3
  18. data/lib/google/cloud/dataflow/v1beta3/templates_service/client.rb +6 -4
  19. data/lib/google/cloud/dataflow/v1beta3/templates_service/rest/client.rb +6 -4
  20. data/lib/google/cloud/dataflow/v1beta3/templates_service/rest/service_stub.rb +3 -3
  21. data/lib/google/cloud/dataflow/v1beta3/version.rb +1 -1
  22. data/lib/google/dataflow/v1beta3/environment_pb.rb +26 -132
  23. data/lib/google/dataflow/v1beta3/jobs_pb.rb +28 -234
  24. data/lib/google/dataflow/v1beta3/messages_pb.rb +26 -54
  25. data/lib/google/dataflow/v1beta3/metrics_pb.rb +26 -91
  26. data/lib/google/dataflow/v1beta3/snapshots_pb.rb +26 -46
  27. data/lib/google/dataflow/v1beta3/streaming_pb.rb +24 -74
  28. data/lib/google/dataflow/v1beta3/templates_pb.rb +26 -173
  29. data/proto_docs/google/api/client.rb +67 -4
  30. data/proto_docs/google/protobuf/any.rb +7 -4
  31. data/proto_docs/google/protobuf/struct.rb +1 -1
  32. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  33. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62d601b8ada8a63bf56004bcc7a5e95297400e0ac94774cefb8a13e593f3a74b
4
- data.tar.gz: 70628efad8dc91093b273989c334514f3e56e8b96e84ba819a3451d9d9a89686
3
+ metadata.gz: 4cc986065db087923e3e63ab135d9aafb0410a95cf24bd3de248caafdcb5f68a
4
+ data.tar.gz: 7f98f4696ad66cf4ffa17c108a6b578145c4aa8c81cd8b452068d9039098f834
5
5
  SHA512:
6
- metadata.gz: 9293307cba131f8ab55171b11365a220846f87811193ef0a8fff9aafd3af756b3e4de0dfda800e2f059c8b173ff834ce2ba59197515ffec5643feb5f39390688
7
- data.tar.gz: 64d2fa9e3195596785d349429d56a1b0564087114c1c9677262f3ce1b4bdab3418d9f98565dc5aeee1b69410dfa7dd06ccc7c16421e075daa0b85297d98b4eb0
6
+ metadata.gz: bd80230ec50b7ee0e9e9aaa413a12bcf7f54aef7dc3832e1bd844b7d1661acb24c3c749bf60d62cb218ec030b16bc1a843d26989b4c8ec4b766cf008dde892e2
7
+ data.tar.gz: e716cb7f094623a118fea2d5f25f01a60b8c43a315f773033c32b070822c6b8e7ffc62d35d98220e091a6e8d47d9ca168664d78167e7647afcc1ba716c1c91c9
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -121,7 +121,7 @@ module Google
121
121
  credentials = @config.credentials
122
122
  # Use self-signed JWT if the endpoint is unchanged from default,
123
123
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
125
  !@config.endpoint.split(".").first.include?("-")
126
126
  credentials ||= Credentials.default scope: @config.scope,
127
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -277,9 +277,9 @@ module Google
277
277
  # * (`String`) The path to a service account key file in JSON format
278
278
  # * (`Hash`) A service account key as a Hash
279
279
  # * (`Google::Auth::Credentials`) A googleauth credentials object
280
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
280
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
281
281
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
282
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
282
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
283
283
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
284
284
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
285
285
  # * (`nil`) indicating no credentials
@@ -321,7 +321,9 @@ module Google
321
321
  class Configuration
322
322
  extend ::Gapic::Config
323
323
 
324
- config_attr :endpoint, "dataflow.googleapis.com", ::String
324
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
325
+
326
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
325
327
  config_attr :credentials, nil do |value|
326
328
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
327
329
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -117,7 +117,7 @@ module Google
117
117
  credentials = @config.credentials
118
118
  # Use self-signed JWT if the endpoint is unchanged from default,
119
119
  # but only if the default endpoint does not have a region prefix.
120
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
120
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
121
121
  !@config.endpoint.split(".").first.include?("-")
122
122
  credentials ||= Credentials.default scope: @config.scope,
123
123
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -242,9 +242,9 @@ module Google
242
242
  # * (`String`) The path to a service account key file in JSON format
243
243
  # * (`Hash`) A service account key as a Hash
244
244
  # * (`Google::Auth::Credentials`) A googleauth credentials object
245
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
245
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
246
246
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
247
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
247
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
248
248
  # * (`nil`) indicating no credentials
249
249
  # @return [::Object]
250
250
  # @!attribute [rw] scope
@@ -277,7 +277,9 @@ module Google
277
277
  class Configuration
278
278
  extend ::Gapic::Config
279
279
 
280
- config_attr :endpoint, "dataflow.googleapis.com", ::String
280
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
281
+
282
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
281
283
  config_attr :credentials, nil do |value|
282
284
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
283
285
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_launch_flex_template_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -124,7 +124,7 @@ module Google
124
124
  credentials = @config.credentials
125
125
  # Use self-signed JWT if the endpoint is unchanged from default,
126
126
  # but only if the default endpoint does not have a region prefix.
127
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
127
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
128
128
  !@config.endpoint.split(".").first.include?("-")
129
129
  credentials ||= Credentials.default scope: @config.scope,
130
130
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -898,9 +898,9 @@ module Google
898
898
  # * (`String`) The path to a service account key file in JSON format
899
899
  # * (`Hash`) A service account key as a Hash
900
900
  # * (`Google::Auth::Credentials`) A googleauth credentials object
901
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
901
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
902
902
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
903
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
903
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
904
904
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
905
905
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
906
906
  # * (`nil`) indicating no credentials
@@ -942,7 +942,9 @@ module Google
942
942
  class Configuration
943
943
  extend ::Gapic::Config
944
944
 
945
- config_attr :endpoint, "dataflow.googleapis.com", ::String
945
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
946
+
947
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
946
948
  config_attr :credentials, nil do |value|
947
949
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
948
950
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -120,7 +120,7 @@ module Google
120
120
  credentials = @config.credentials
121
121
  # Use self-signed JWT if the endpoint is unchanged from default,
122
122
  # but only if the default endpoint does not have a region prefix.
123
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
123
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
124
124
  !@config.endpoint.split(".").first.include?("-")
125
125
  credentials ||= Credentials.default scope: @config.scope,
126
126
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -640,9 +640,9 @@ module Google
640
640
  # * (`String`) The path to a service account key file in JSON format
641
641
  # * (`Hash`) A service account key as a Hash
642
642
  # * (`Google::Auth::Credentials`) A googleauth credentials object
643
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
643
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
644
644
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
645
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
645
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
646
646
  # * (`nil`) indicating no credentials
647
647
  # @return [::Object]
648
648
  # @!attribute [rw] scope
@@ -675,7 +675,9 @@ module Google
675
675
  class Configuration
676
676
  extend ::Gapic::Config
677
677
 
678
- config_attr :endpoint, "dataflow.googleapis.com", ::String
678
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
679
+
680
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
679
681
  config_attr :credentials, nil do |value|
680
682
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
681
683
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_job_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_job_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_update_job_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_list_jobs_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_aggregated_list_jobs_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_snapshot_job_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -124,7 +124,7 @@ module Google
124
124
  credentials = @config.credentials
125
125
  # Use self-signed JWT if the endpoint is unchanged from default,
126
126
  # but only if the default endpoint does not have a region prefix.
127
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
127
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
128
128
  !@config.endpoint.split(".").first.include?("-")
129
129
  credentials ||= Credentials.default scope: @config.scope,
130
130
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -307,9 +307,9 @@ module Google
307
307
  # * (`String`) The path to a service account key file in JSON format
308
308
  # * (`Hash`) A service account key as a Hash
309
309
  # * (`Google::Auth::Credentials`) A googleauth credentials object
310
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
310
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
311
311
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
312
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
312
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
313
313
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
314
314
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
315
315
  # * (`nil`) indicating no credentials
@@ -351,7 +351,9 @@ module Google
351
351
  class Configuration
352
352
  extend ::Gapic::Config
353
353
 
354
- config_attr :endpoint, "dataflow.googleapis.com", ::String
354
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
355
+
356
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
355
357
  config_attr :credentials, nil do |value|
356
358
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
357
359
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -120,7 +120,7 @@ module Google
120
120
  credentials = @config.credentials
121
121
  # Use self-signed JWT if the endpoint is unchanged from default,
122
122
  # but only if the default endpoint does not have a region prefix.
123
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
123
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
124
124
  !@config.endpoint.split(".").first.include?("-")
125
125
  credentials ||= Credentials.default scope: @config.scope,
126
126
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -264,9 +264,9 @@ module Google
264
264
  # * (`String`) The path to a service account key file in JSON format
265
265
  # * (`Hash`) A service account key as a Hash
266
266
  # * (`Google::Auth::Credentials`) A googleauth credentials object
267
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
267
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
268
268
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
269
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
269
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
270
270
  # * (`nil`) indicating no credentials
271
271
  # @return [::Object]
272
272
  # @!attribute [rw] scope
@@ -299,7 +299,9 @@ module Google
299
299
  class Configuration
300
300
  extend ::Gapic::Config
301
301
 
302
- config_attr :endpoint, "dataflow.googleapis.com", ::String
302
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
303
+
304
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
303
305
  config_attr :credentials, nil do |value|
304
306
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
305
307
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_job_messages_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -124,7 +124,7 @@ module Google
124
124
  credentials = @config.credentials
125
125
  # Use self-signed JWT if the endpoint is unchanged from default,
126
126
  # but only if the default endpoint does not have a region prefix.
127
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
127
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
128
128
  !@config.endpoint.split(".").first.include?("-")
129
129
  credentials ||= Credentials.default scope: @config.scope,
130
130
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -523,9 +523,9 @@ module Google
523
523
  # * (`String`) The path to a service account key file in JSON format
524
524
  # * (`Hash`) A service account key as a Hash
525
525
  # * (`Google::Auth::Credentials`) A googleauth credentials object
526
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
526
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
527
527
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
528
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
528
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
529
529
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
530
530
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
531
531
  # * (`nil`) indicating no credentials
@@ -567,7 +567,9 @@ module Google
567
567
  class Configuration
568
568
  extend ::Gapic::Config
569
569
 
570
- config_attr :endpoint, "dataflow.googleapis.com", ::String
570
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
571
+
572
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
571
573
  config_attr :credentials, nil do |value|
572
574
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
573
575
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -120,7 +120,7 @@ module Google
120
120
  credentials = @config.credentials
121
121
  # Use self-signed JWT if the endpoint is unchanged from default,
122
122
  # but only if the default endpoint does not have a region prefix.
123
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
123
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
124
124
  !@config.endpoint.split(".").first.include?("-")
125
125
  credentials ||= Credentials.default scope: @config.scope,
126
126
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -416,9 +416,9 @@ module Google
416
416
  # * (`String`) The path to a service account key file in JSON format
417
417
  # * (`Hash`) A service account key as a Hash
418
418
  # * (`Google::Auth::Credentials`) A googleauth credentials object
419
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
419
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
420
420
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
421
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
421
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
422
422
  # * (`nil`) indicating no credentials
423
423
  # @return [::Object]
424
424
  # @!attribute [rw] scope
@@ -451,7 +451,9 @@ module Google
451
451
  class Configuration
452
452
  extend ::Gapic::Config
453
453
 
454
- config_attr :endpoint, "dataflow.googleapis.com", ::String
454
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
455
+
456
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
455
457
  config_attr :credentials, nil do |value|
456
458
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
457
459
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_get_job_metrics_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_job_execution_details_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_get_stage_execution_details_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -123,7 +123,7 @@ module Google
123
123
  credentials = @config.credentials
124
124
  # Use self-signed JWT if the endpoint is unchanged from default,
125
125
  # but only if the default endpoint does not have a region prefix.
126
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
126
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
127
127
  !@config.endpoint.split(".").first.include?("-")
128
128
  credentials ||= Credentials.default scope: @config.scope,
129
129
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -467,9 +467,9 @@ module Google
467
467
  # * (`String`) The path to a service account key file in JSON format
468
468
  # * (`Hash`) A service account key as a Hash
469
469
  # * (`Google::Auth::Credentials`) A googleauth credentials object
470
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
470
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
471
471
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
472
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
472
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
473
473
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
474
474
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
475
475
  # * (`nil`) indicating no credentials
@@ -511,7 +511,9 @@ module Google
511
511
  class Configuration
512
512
  extend ::Gapic::Config
513
513
 
514
- config_attr :endpoint, "dataflow.googleapis.com", ::String
514
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
515
+
516
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
515
517
  config_attr :credentials, nil do |value|
516
518
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
517
519
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -119,7 +119,7 @@ module Google
119
119
  credentials = @config.credentials
120
120
  # Use self-signed JWT if the endpoint is unchanged from default,
121
121
  # but only if the default endpoint does not have a region prefix.
122
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
122
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
123
123
  !@config.endpoint.split(".").first.include?("-")
124
124
  credentials ||= Credentials.default scope: @config.scope,
125
125
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -371,9 +371,9 @@ module Google
371
371
  # * (`String`) The path to a service account key file in JSON format
372
372
  # * (`Hash`) A service account key as a Hash
373
373
  # * (`Google::Auth::Credentials`) A googleauth credentials object
374
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
374
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
375
375
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
376
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
376
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
377
377
  # * (`nil`) indicating no credentials
378
378
  # @return [::Object]
379
379
  # @!attribute [rw] scope
@@ -406,7 +406,9 @@ module Google
406
406
  class Configuration
407
407
  extend ::Gapic::Config
408
408
 
409
- config_attr :endpoint, "dataflow.googleapis.com", ::String
409
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
410
+
411
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
410
412
  config_attr :credentials, nil do |value|
411
413
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
412
414
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_get_snapshot_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_snapshot_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_list_snapshots_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -123,7 +123,7 @@ module Google
123
123
  credentials = @config.credentials
124
124
  # Use self-signed JWT if the endpoint is unchanged from default,
125
125
  # but only if the default endpoint does not have a region prefix.
126
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
126
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
127
127
  !@config.endpoint.split(".").first.include?("-")
128
128
  credentials ||= Credentials.default scope: @config.scope,
129
129
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -486,9 +486,9 @@ module Google
486
486
  # * (`String`) The path to a service account key file in JSON format
487
487
  # * (`Hash`) A service account key as a Hash
488
488
  # * (`Google::Auth::Credentials`) A googleauth credentials object
489
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
489
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
490
490
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
491
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
491
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
492
492
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
493
493
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
494
494
  # * (`nil`) indicating no credentials
@@ -530,7 +530,9 @@ module Google
530
530
  class Configuration
531
531
  extend ::Gapic::Config
532
532
 
533
- config_attr :endpoint, "dataflow.googleapis.com", ::String
533
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
534
+
535
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
534
536
  config_attr :credentials, nil do |value|
535
537
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
536
538
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -119,7 +119,7 @@ module Google
119
119
  credentials = @config.credentials
120
120
  # Use self-signed JWT if the endpoint is unchanged from default,
121
121
  # but only if the default endpoint does not have a region prefix.
122
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
122
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
123
123
  !@config.endpoint.split(".").first.include?("-")
124
124
  credentials ||= Credentials.default scope: @config.scope,
125
125
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -399,9 +399,9 @@ module Google
399
399
  # * (`String`) The path to a service account key file in JSON format
400
400
  # * (`Hash`) A service account key as a Hash
401
401
  # * (`Google::Auth::Credentials`) A googleauth credentials object
402
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
402
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
403
403
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
404
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
404
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
405
405
  # * (`nil`) indicating no credentials
406
406
  # @return [::Object]
407
407
  # @!attribute [rw] scope
@@ -434,7 +434,9 @@ module Google
434
434
  class Configuration
435
435
  extend ::Gapic::Config
436
436
 
437
- config_attr :endpoint, "dataflow.googleapis.com", ::String
437
+ DEFAULT_ENDPOINT = "dataflow.googleapis.com"
438
+
439
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
438
440
  config_attr :credentials, nil do |value|
439
441
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
440
442
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_job_from_template_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_launch_template_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_get_template_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataflow
23
23
  module V1beta3
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end