google-cloud-workflows-v1 0.7.0 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/workflows/v1/version.rb +1 -1
- data/lib/google/cloud/workflows/v1/workflows/client.rb +7 -7
- data/lib/google/cloud/workflows/v1/workflows/rest/client.rb +8 -8
- data/lib/google/cloud/workflows/v1/workflows/rest/service_stub.rb +9 -0
- data/lib/google/cloud/workflows/v1/workflows_pb.rb +2 -2
- data/proto_docs/google/protobuf/any.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 399335c1c170e074b3f892d9f045dae0e5ffa14bca47ee7f6b26d48d3bea42fd
|
4
|
+
data.tar.gz: d6bce3f9a26d13eb4f5c2b29395d49ca01c46b87fd22b52d3bc72bfbaa434a1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 147059aca288ef53b56d930601c82e3cc5fbea51009cfebcf1a113c6ed7fd6f7370b05e0fb195da180ad65da626bd0278467e374ba0bd02f2a4dffb5c399bf9b
|
7
|
+
data.tar.gz: 9d7e00ea2e2733fd9ff2ed5802c38b3a13de7f8fe8f2d13d321338e1a322373768303337bead78dcc8319fa7cf5fe262fd92bf1dfa1cf0dfd17f3a80e804c69a
|
@@ -156,13 +156,6 @@ module Google
|
|
156
156
|
config.universe_domain = @config.universe_domain
|
157
157
|
end
|
158
158
|
|
159
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
160
|
-
config.credentials = credentials
|
161
|
-
config.quota_project = @quota_project_id
|
162
|
-
config.endpoint = @config.endpoint
|
163
|
-
config.universe_domain = @config.universe_domain
|
164
|
-
end
|
165
|
-
|
166
159
|
@workflows_stub = ::Gapic::ServiceStub.new(
|
167
160
|
::Google::Cloud::Workflows::V1::Workflows::Stub,
|
168
161
|
credentials: credentials,
|
@@ -173,6 +166,13 @@ module Google
|
|
173
166
|
interceptors: @config.interceptors,
|
174
167
|
channel_pool_config: @config.channel_pool
|
175
168
|
)
|
169
|
+
|
170
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
171
|
+
config.credentials = credentials
|
172
|
+
config.quota_project = @quota_project_id
|
173
|
+
config.endpoint = @workflows_stub.endpoint
|
174
|
+
config.universe_domain = @workflows_stub.universe_domain
|
175
|
+
end
|
176
176
|
end
|
177
177
|
|
178
178
|
##
|
@@ -153,20 +153,20 @@ module Google
|
|
153
153
|
config.universe_domain = @config.universe_domain
|
154
154
|
end
|
155
155
|
|
156
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
157
|
-
config.credentials = credentials
|
158
|
-
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @config.endpoint
|
160
|
-
config.universe_domain = @config.universe_domain
|
161
|
-
config.bindings_override = @config.bindings_override
|
162
|
-
end
|
163
|
-
|
164
156
|
@workflows_stub = ::Google::Cloud::Workflows::V1::Workflows::Rest::ServiceStub.new(
|
165
157
|
endpoint: @config.endpoint,
|
166
158
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
167
159
|
universe_domain: @config.universe_domain,
|
168
160
|
credentials: credentials
|
169
161
|
)
|
162
|
+
|
163
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
164
|
+
config.credentials = credentials
|
165
|
+
config.quota_project = @quota_project_id
|
166
|
+
config.endpoint = @workflows_stub.endpoint
|
167
|
+
config.universe_domain = @workflows_stub.universe_domain
|
168
|
+
config.bindings_override = @config.bindings_override
|
169
|
+
end
|
170
170
|
end
|
171
171
|
|
172
172
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the list_workflows REST call
|
57
66
|
#
|
@@ -14,13 +14,13 @@ require 'google/protobuf/field_mask_pb'
|
|
14
14
|
require 'google/protobuf/timestamp_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n)google/cloud/workflows/v1/workflows.proto\x12\x19google.cloud.workflows.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
17
|
+
descriptor_data = "\n)google/cloud/workflows/v1/workflows.proto\x12\x19google.cloud.workflows.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe9\t\n\x08Workflow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x05state\x18\x03 \x01(\x0e\x32).google.cloud.workflows.v1.Workflow.StateB\x04\xe2\x41\x01\x03\x12\x19\n\x0brevision_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12>\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12?\n\x06labels\x18\x08 \x03(\x0b\x32/.google.cloud.workflows.v1.Workflow.LabelsEntry\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x19\n\x0fsource_contents\x18\n \x01(\tH\x00\x12\x43\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12I\n\x0bstate_error\x18\x0c \x01(\x0b\x32..google.cloud.workflows.v1.Workflow.StateErrorB\x04\xe2\x41\x01\x03\x12N\n\x0e\x63\x61ll_log_level\x18\r \x01(\x0e\x32\x30.google.cloud.workflows.v1.Workflow.CallLogLevelB\x04\xe2\x41\x01\x01\x12Q\n\ruser_env_vars\x18\x0e \x03(\x0b\x32\x34.google.cloud.workflows.v1.Workflow.UserEnvVarsEntryB\x04\xe2\x41\x01\x01\x1a\x8d\x01\n\nStateError\x12\x0f\n\x07\x64\x65tails\x18\x01 \x01(\t\x12\x41\n\x04type\x18\x02 \x01(\x0e\x32\x33.google.cloud.workflows.v1.Workflow.StateError.Type\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tKMS_ERROR\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10UserEnvVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0f\n\x0bUNAVAILABLE\x10\x02\"d\n\x0c\x43\x61llLogLevel\x12\x1e\n\x1a\x43\x41LL_LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rLOG_ALL_CALLS\x10\x01\x12\x13\n\x0fLOG_ERRORS_ONLY\x10\x02\x12\x0c\n\x08LOG_NONE\x10\x03:d\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}B\r\n\x0bsource_code\"\x9b\x01\n\x14ListWorkflowsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x15ListWorkflowsResponse\x12\x36\n\tworkflows\x18\x01 \x03(\x0b\x32#.google.cloud.workflows.v1.Workflow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"i\n\x12GetWorkflowRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\x12\x19\n\x0brevision_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xab\x01\n\x15\x43reateWorkflowRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12;\n\x08workflow\x18\x02 \x01(\x0b\x32#.google.cloud.workflows.v1.WorkflowB\x04\xe2\x41\x01\x02\x12\x19\n\x0bworkflow_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"Q\n\x15\x44\x65leteWorkflowRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\"\x85\x01\n\x15UpdateWorkflowRequest\x12;\n\x08workflow\x18\x01 \x01(\x0b\x32#.google.cloud.workflows.v1.WorkflowB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa5\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x05 \x01(\t2\xc7\x08\n\tWorkflows\x12\xb2\x01\n\rListWorkflows\x12/.google.cloud.workflows.v1.ListWorkflowsRequest\x1a\x30.google.cloud.workflows.v1.ListWorkflowsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/workflows\x12\x9f\x01\n\x0bGetWorkflow\x12-.google.cloud.workflows.v1.GetWorkflowRequest\x1a#.google.cloud.workflows.v1.Workflow\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/workflows/*}\x12\xe0\x01\n\x0e\x43reateWorkflow\x12\x30.google.cloud.workflows.v1.CreateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\xda\x41\x1bparent,workflow,workflow_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/workflows:\x08workflow\x12\xcc\x01\n\x0e\x44\x65leteWorkflow\x12\x30.google.cloud.workflows.v1.DeleteWorkflowRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/workflows/*}\x12\xe2\x01\n\x0eUpdateWorkflow\x12\x30.google.cloud.workflows.v1.UpdateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\xda\x41\x14workflow,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{workflow.name=projects/*/locations/*/workflows/*}:\x08workflow\x1aL\xca\x41\x18workflows.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe7\x01\n\x1d\x63om.google.cloud.workflows.v1B\x0eWorkflowsProtoP\x01Z;cloud.google.com/go/workflows/apiv1/workflowspb;workflowspb\xea\x41v\n!cloudkms.googleapis.com/CryptoKey\x12Qprojects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}b\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
21
21
|
begin
|
22
22
|
pool.add_serialized_file(descriptor_data)
|
23
|
-
rescue TypeError
|
23
|
+
rescue TypeError
|
24
24
|
# Compatibility code: will be removed in the next major version.
|
25
25
|
require 'google/protobuf/descriptor_pb'
|
26
26
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
#
|
130
130
|
# Note: this functionality is not currently available in the official
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
132
|
-
# type.googleapis.com.
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
133
|
+
# implementations and no plans to implement one.
|
133
134
|
#
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
136
|
# used with implementation specific semantics.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-workflows-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|