google-cloud-workflows-executions-v1beta 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfdf569a16becaecf140c68516dd7ecc3adb2ce01279cbf0f45e3e70a38bcedb
4
- data.tar.gz: f877bd01101e79804d09c1285ead169971d46d63b7c2faccd1973dd043905cb3
3
+ metadata.gz: 12a12ef5acd07e3e9d906e3186ed20a7318ad8782ea811469d9666f017ce194c
4
+ data.tar.gz: f7b3abe70095599ddd4b2e839a060dce966f2efc71cca04c42f42e56a0bb0905
5
5
  SHA512:
6
- metadata.gz: 02ae61dce2c2ddb218594e1ed4e404359a7b97e3633312f7004bc7d83dc9f9d3a93b75fbbc69fa2e485d0dc0842bb3b1b5daf8a4e2104b9235899460caea9f8c
7
- data.tar.gz: 6856af4d4dcdb9e6ae152ed5b6f55546860c708c13f2aa29a1903542a9855cebac75acc6c1e4eea00889f251ed5af484487810177a875f8aff0ee98a1f449262
6
+ metadata.gz: 9f0217421780afefe16a46c23e0929938099ff7405ebfe6a5ecc6863cef20c59ebbe84a19c50632b765d4b446ce22aef48455c2930bf9c0f918772b45b6af472
7
+ data.tar.gz: 321119612f1da9b23811f18e25d7fb31606c142e5f8e0e14e6e970992e5b952d393bca1309a699ac3e16991ab833da448c5801989643153f6a466341e1367a9b
@@ -125,7 +125,7 @@ module Google
125
125
  credentials = @config.credentials
126
126
  # Use self-signed JWT if the endpoint is unchanged from default,
127
127
  # but only if the default endpoint does not have a region prefix.
128
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
129
129
  !@config.endpoint.split(".").first.include?("-")
130
130
  credentials ||= Credentials.default scope: @config.scope,
131
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -140,7 +140,8 @@ module Google
140
140
  credentials: credentials,
141
141
  endpoint: @config.endpoint,
142
142
  channel_args: @config.channel_args,
143
- interceptors: @config.interceptors
143
+ interceptors: @config.interceptors,
144
+ channel_pool_config: @config.channel_pool
144
145
  )
145
146
  end
146
147
 
@@ -603,7 +604,9 @@ module Google
603
604
  class Configuration
604
605
  extend ::Gapic::Config
605
606
 
606
- config_attr :endpoint, "workflowexecutions.googleapis.com", ::String
607
+ DEFAULT_ENDPOINT = "workflowexecutions.googleapis.com"
608
+
609
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
607
610
  config_attr :credentials, nil do |value|
608
611
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
609
612
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -638,6 +641,14 @@ module Google
638
641
  end
639
642
  end
640
643
 
644
+ ##
645
+ # Configuration for the channel pool
646
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
647
+ #
648
+ def channel_pool
649
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
650
+ end
651
+
641
652
  ##
642
653
  # Configuration RPC class for the Executions API.
643
654
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module Workflows
23
23
  module Executions
24
24
  module V1beta
25
- VERSION = "0.5.0"
25
+ VERSION = "0.6.0"
26
26
  end
27
27
  end
28
28
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-executions-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.0
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.0
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.4.2
211
+ rubygems_version: 3.4.19
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: Manages user-provided workflows.