google-cloud-life_sciences-v2beta 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/google/cloud/life_sciences/v2beta/bindings_override.rb +102 -0
- data/lib/google/cloud/life_sciences/v2beta/rest.rb +38 -0
- data/lib/google/cloud/life_sciences/v2beta/version.rb +1 -1
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/client.rb +10 -10
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/operations.rb +14 -16
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest/client.rb +411 -0
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest/operations.rb +793 -0
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest/service_stub.rb +108 -0
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest.rb +54 -0
- data/lib/google/cloud/life_sciences/v2beta/workflows_service.rb +7 -1
- data/lib/google/cloud/life_sciences/v2beta.rb +7 -2
- data/lib/google/cloud/lifesciences/v2beta/workflows_pb.rb +26 -172
- data/lib/google/cloud/lifesciences/v2beta/workflows_services_pb.rb +4 -4
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/lifesciences/v2beta/workflows.rb +34 -22
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/code.rb +6 -6
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +17 -10
@@ -117,9 +117,9 @@ module Google
|
|
117
117
|
# and cannot start with a hyphen.
|
118
118
|
# @!attribute [rw] image_uri
|
119
119
|
# @return [::String]
|
120
|
-
# Required. The URI to pull the container image from. Note that all images
|
121
|
-
# by actions in the pipeline are pulled before the first action
|
122
|
-
# multiple actions reference the same image, it is only pulled once,
|
120
|
+
# Required. The URI to pull the container image from. Note that all images
|
121
|
+
# referenced by actions in the pipeline are pulled before the first action
|
122
|
+
# runs. If multiple actions reference the same image, it is only pulled once,
|
123
123
|
# ensuring that the same image is used for all actions in a single pipeline.
|
124
124
|
#
|
125
125
|
# The image URI can be either a complete host and image specification (e.g.,
|
@@ -130,7 +130,8 @@ module Google
|
|
130
130
|
# If the specified image is not public, the service account specified for
|
131
131
|
# the Virtual Machine must have access to pull the images from GCR, or
|
132
132
|
# appropriate credentials must be specified in the
|
133
|
-
# {::Google::Cloud::LifeSciences::V2beta::Action#credentials google.cloud.lifesciences.v2beta.Action.credentials}
|
133
|
+
# {::Google::Cloud::LifeSciences::V2beta::Action#credentials google.cloud.lifesciences.v2beta.Action.credentials}
|
134
|
+
# field.
|
134
135
|
# @!attribute [rw] commands
|
135
136
|
# @return [::Array<::String>]
|
136
137
|
# If specified, overrides the `CMD` specified in the container. If the
|
@@ -143,7 +144,8 @@ module Google
|
|
143
144
|
# @!attribute [rw] environment
|
144
145
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
145
146
|
# The environment to pass into the container. This environment is merged
|
146
|
-
# with values specified in the
|
147
|
+
# with values specified in the
|
148
|
+
# {::Google::Cloud::LifeSciences::V2beta::Pipeline google.cloud.lifesciences.v2beta.Pipeline}
|
147
149
|
# message, overwriting any duplicate values.
|
148
150
|
#
|
149
151
|
# In addition to the values passed here, a few other values are
|
@@ -162,8 +164,8 @@ module Google
|
|
162
164
|
# @return [::Google::Cloud::LifeSciences::V2beta::Secret]
|
163
165
|
# The encrypted environment to pass into the container. This environment is
|
164
166
|
# merged with values specified in the
|
165
|
-
# {::Google::Cloud::LifeSciences::V2beta::Pipeline google.cloud.lifesciences.v2beta.Pipeline}
|
166
|
-
# duplicate values.
|
167
|
+
# {::Google::Cloud::LifeSciences::V2beta::Pipeline google.cloud.lifesciences.v2beta.Pipeline}
|
168
|
+
# message, overwriting any duplicate values.
|
167
169
|
#
|
168
170
|
# The secret must decrypt to a JSON-encoded dictionary where key-value pairs
|
169
171
|
# serve as environment variable names and their values. The decoded
|
@@ -353,11 +355,11 @@ module Google
|
|
353
355
|
# Carries information about a Compute Engine VM resource.
|
354
356
|
# @!attribute [rw] machine_type
|
355
357
|
# @return [::String]
|
356
|
-
# Required. The machine type of the virtual machine to create. Must be the
|
357
|
-
# of a standard machine type (such as "n1-standard-1") or a custom
|
358
|
-
# type (such as "custom-1-4096", where "1" indicates the number of
|
359
|
-
# "4096" indicates the memory in MB). See
|
360
|
-
#
|
358
|
+
# Required. The machine type of the virtual machine to create. Must be the
|
359
|
+
# short name of a standard machine type (such as "n1-standard-1") or a custom
|
360
|
+
# machine type (such as "custom-1-4096", where "1" indicates the number of
|
361
|
+
# vCPUs and "4096" indicates the memory in MB). See [Creating an instance
|
362
|
+
# with a custom machine
|
361
363
|
# type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
|
362
364
|
# for more specifications on creating a custom machine type.
|
363
365
|
# @!attribute [rw] preemptible
|
@@ -685,34 +687,44 @@ module Google
|
|
685
687
|
# information in the `details` field.
|
686
688
|
# @!attribute [rw] delayed
|
687
689
|
# @return [::Google::Cloud::LifeSciences::V2beta::DelayedEvent]
|
688
|
-
# See
|
690
|
+
# See
|
691
|
+
# {::Google::Cloud::LifeSciences::V2beta::DelayedEvent google.cloud.lifesciences.v2beta.DelayedEvent}.
|
689
692
|
# @!attribute [rw] worker_assigned
|
690
693
|
# @return [::Google::Cloud::LifeSciences::V2beta::WorkerAssignedEvent]
|
691
|
-
# See
|
694
|
+
# See
|
695
|
+
# {::Google::Cloud::LifeSciences::V2beta::WorkerAssignedEvent google.cloud.lifesciences.v2beta.WorkerAssignedEvent}.
|
692
696
|
# @!attribute [rw] worker_released
|
693
697
|
# @return [::Google::Cloud::LifeSciences::V2beta::WorkerReleasedEvent]
|
694
|
-
# See
|
698
|
+
# See
|
699
|
+
# {::Google::Cloud::LifeSciences::V2beta::WorkerReleasedEvent google.cloud.lifesciences.v2beta.WorkerReleasedEvent}.
|
695
700
|
# @!attribute [rw] pull_started
|
696
701
|
# @return [::Google::Cloud::LifeSciences::V2beta::PullStartedEvent]
|
697
|
-
# See
|
702
|
+
# See
|
703
|
+
# {::Google::Cloud::LifeSciences::V2beta::PullStartedEvent google.cloud.lifesciences.v2beta.PullStartedEvent}.
|
698
704
|
# @!attribute [rw] pull_stopped
|
699
705
|
# @return [::Google::Cloud::LifeSciences::V2beta::PullStoppedEvent]
|
700
|
-
# See
|
706
|
+
# See
|
707
|
+
# {::Google::Cloud::LifeSciences::V2beta::PullStoppedEvent google.cloud.lifesciences.v2beta.PullStoppedEvent}.
|
701
708
|
# @!attribute [rw] container_started
|
702
709
|
# @return [::Google::Cloud::LifeSciences::V2beta::ContainerStartedEvent]
|
703
|
-
# See
|
710
|
+
# See
|
711
|
+
# {::Google::Cloud::LifeSciences::V2beta::ContainerStartedEvent google.cloud.lifesciences.v2beta.ContainerStartedEvent}.
|
704
712
|
# @!attribute [rw] container_stopped
|
705
713
|
# @return [::Google::Cloud::LifeSciences::V2beta::ContainerStoppedEvent]
|
706
|
-
# See
|
714
|
+
# See
|
715
|
+
# {::Google::Cloud::LifeSciences::V2beta::ContainerStoppedEvent google.cloud.lifesciences.v2beta.ContainerStoppedEvent}.
|
707
716
|
# @!attribute [rw] container_killed
|
708
717
|
# @return [::Google::Cloud::LifeSciences::V2beta::ContainerKilledEvent]
|
709
|
-
# See
|
718
|
+
# See
|
719
|
+
# {::Google::Cloud::LifeSciences::V2beta::ContainerKilledEvent google.cloud.lifesciences.v2beta.ContainerKilledEvent}.
|
710
720
|
# @!attribute [rw] unexpected_exit_status
|
711
721
|
# @return [::Google::Cloud::LifeSciences::V2beta::UnexpectedExitStatusEvent]
|
712
|
-
# See
|
722
|
+
# See
|
723
|
+
# {::Google::Cloud::LifeSciences::V2beta::UnexpectedExitStatusEvent google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent}.
|
713
724
|
# @!attribute [rw] failed
|
714
725
|
# @return [::Google::Cloud::LifeSciences::V2beta::FailedEvent]
|
715
|
-
# See
|
726
|
+
# See
|
727
|
+
# {::Google::Cloud::LifeSciences::V2beta::FailedEvent google.cloud.lifesciences.v2beta.FailedEvent}.
|
716
728
|
class Event
|
717
729
|
include ::Google::Protobuf::MessageExts
|
718
730
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
|
28
28
|
# Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
|
29
29
|
module Code
|
30
|
-
# Not an error; returned on success
|
30
|
+
# Not an error; returned on success.
|
31
31
|
#
|
32
32
|
# HTTP Mapping: 200 OK
|
33
33
|
OK = 0
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
# Some requested entity (e.g., file or directory) was not found.
|
67
67
|
#
|
68
68
|
# Note to server developers: if a request is denied for an entire class
|
69
|
-
# of users, such as gradual feature rollout or undocumented
|
69
|
+
# of users, such as gradual feature rollout or undocumented allowlist,
|
70
70
|
# `NOT_FOUND` may be used. If a request is denied for some users within
|
71
71
|
# a class of users, such as user-based access control, `PERMISSION_DENIED`
|
72
72
|
# must be used.
|
@@ -112,11 +112,11 @@ module Google
|
|
112
112
|
# Service implementors can use the following guidelines to decide
|
113
113
|
# between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
|
114
114
|
# (a) Use `UNAVAILABLE` if the client can retry just the failing call.
|
115
|
-
# (b) Use `ABORTED` if the client should retry at a higher level
|
116
|
-
#
|
117
|
-
# client should restart a read-modify-write sequence
|
115
|
+
# (b) Use `ABORTED` if the client should retry at a higher level. For
|
116
|
+
# example, when a client-specified test-and-set fails, indicating the
|
117
|
+
# client should restart a read-modify-write sequence.
|
118
118
|
# (c) Use `FAILED_PRECONDITION` if the client should not retry until
|
119
|
-
# the system state has been explicitly fixed.
|
119
|
+
# the system state has been explicitly fixed. For example, if an "rmdir"
|
120
120
|
# fails because the directory is non-empty, `FAILED_PRECONDITION`
|
121
121
|
# should be returned since the client should not retry unless
|
122
122
|
# the files are deleted from the directory.
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# {::Google::Rpc::Code google.rpc.Code}.
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-life_sciences-v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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:
|
11
|
+
date: 2023-05-31 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:
|
19
|
+
version: 0.19.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:
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 1.26.
|
73
|
+
version: 1.26.3
|
74
74
|
type: :development
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 1.26.
|
80
|
+
version: 1.26.3
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: minitest
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,11 +193,17 @@ files:
|
|
193
193
|
- README.md
|
194
194
|
- lib/google-cloud-life_sciences-v2beta.rb
|
195
195
|
- lib/google/cloud/life_sciences/v2beta.rb
|
196
|
+
- lib/google/cloud/life_sciences/v2beta/bindings_override.rb
|
197
|
+
- lib/google/cloud/life_sciences/v2beta/rest.rb
|
196
198
|
- lib/google/cloud/life_sciences/v2beta/version.rb
|
197
199
|
- lib/google/cloud/life_sciences/v2beta/workflows_service.rb
|
198
200
|
- lib/google/cloud/life_sciences/v2beta/workflows_service/client.rb
|
199
201
|
- lib/google/cloud/life_sciences/v2beta/workflows_service/credentials.rb
|
200
202
|
- lib/google/cloud/life_sciences/v2beta/workflows_service/operations.rb
|
203
|
+
- lib/google/cloud/life_sciences/v2beta/workflows_service/rest.rb
|
204
|
+
- lib/google/cloud/life_sciences/v2beta/workflows_service/rest/client.rb
|
205
|
+
- lib/google/cloud/life_sciences/v2beta/workflows_service/rest/operations.rb
|
206
|
+
- lib/google/cloud/life_sciences/v2beta/workflows_service/rest/service_stub.rb
|
201
207
|
- lib/google/cloud/lifesciences/v2beta/workflows_pb.rb
|
202
208
|
- lib/google/cloud/lifesciences/v2beta/workflows_services_pb.rb
|
203
209
|
- proto_docs/README.md
|
@@ -232,8 +238,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
238
|
- !ruby/object:Gem::Version
|
233
239
|
version: '0'
|
234
240
|
requirements: []
|
235
|
-
rubygems_version: 3.
|
241
|
+
rubygems_version: 3.4.2
|
236
242
|
signing_key:
|
237
243
|
specification_version: 4
|
238
|
-
summary:
|
244
|
+
summary: Cloud Life Sciences is a suite of services and tools for managing, processing,
|
245
|
+
and transforming life sciences data.
|
239
246
|
test_files: []
|