google-cloud-life_sciences-v2beta 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- 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 +22 -8
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/operations.rb +12 -14
- 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 +4 -1
- data/lib/google/cloud/lifesciences/v2beta/workflows_services_pb.rb +4 -4
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/lifesciences/v2beta/workflows.rb +56 -20
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/code.rb +6 -6
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +37 -8
@@ -77,6 +77,15 @@ module Google
|
|
77
77
|
# The environment to pass into every action. Each action can also specify
|
78
78
|
# additional environment variables but cannot delete an entry from this map
|
79
79
|
# (though they can overwrite it with a different value).
|
80
|
+
# @!attribute [rw] encrypted_environment
|
81
|
+
# @return [::Google::Cloud::LifeSciences::V2beta::Secret]
|
82
|
+
# The encrypted environment to pass into every action. Each action can also
|
83
|
+
# specify its own encrypted environment.
|
84
|
+
#
|
85
|
+
# The secret must decrypt to a JSON-encoded dictionary where key-value pairs
|
86
|
+
# serve as environment variable names and their values. The decoded
|
87
|
+
# environment variables can overwrite the values specified by the
|
88
|
+
# `environment` field.
|
80
89
|
# @!attribute [rw] timeout
|
81
90
|
# @return [::Google::Protobuf::Duration]
|
82
91
|
# The maximum amount of time to give the pipeline to complete. This includes
|
@@ -108,9 +117,9 @@ module Google
|
|
108
117
|
# and cannot start with a hyphen.
|
109
118
|
# @!attribute [rw] image_uri
|
110
119
|
# @return [::String]
|
111
|
-
# Required. The URI to pull the container image from. Note that all images
|
112
|
-
# by actions in the pipeline are pulled before the first action
|
113
|
-
# 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,
|
114
123
|
# ensuring that the same image is used for all actions in a single pipeline.
|
115
124
|
#
|
116
125
|
# The image URI can be either a complete host and image specification (e.g.,
|
@@ -121,7 +130,8 @@ module Google
|
|
121
130
|
# If the specified image is not public, the service account specified for
|
122
131
|
# the Virtual Machine must have access to pull the images from GCR, or
|
123
132
|
# appropriate credentials must be specified in the
|
124
|
-
# {::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.
|
125
135
|
# @!attribute [rw] commands
|
126
136
|
# @return [::Array<::String>]
|
127
137
|
# If specified, overrides the `CMD` specified in the container. If the
|
@@ -134,7 +144,8 @@ module Google
|
|
134
144
|
# @!attribute [rw] environment
|
135
145
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
136
146
|
# The environment to pass into the container. This environment is merged
|
137
|
-
# with values specified in the
|
147
|
+
# with values specified in the
|
148
|
+
# {::Google::Cloud::LifeSciences::V2beta::Pipeline google.cloud.lifesciences.v2beta.Pipeline}
|
138
149
|
# message, overwriting any duplicate values.
|
139
150
|
#
|
140
151
|
# In addition to the values passed here, a few other values are
|
@@ -149,6 +160,17 @@ module Google
|
|
149
160
|
# `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
|
150
161
|
# non-background action that executed. This can be used by workflow engine
|
151
162
|
# authors to determine whether an individual action has succeeded or failed.
|
163
|
+
# @!attribute [rw] encrypted_environment
|
164
|
+
# @return [::Google::Cloud::LifeSciences::V2beta::Secret]
|
165
|
+
# The encrypted environment to pass into the container. This environment is
|
166
|
+
# merged with values specified in the
|
167
|
+
# {::Google::Cloud::LifeSciences::V2beta::Pipeline google.cloud.lifesciences.v2beta.Pipeline}
|
168
|
+
# message, overwriting any duplicate values.
|
169
|
+
#
|
170
|
+
# The secret must decrypt to a JSON-encoded dictionary where key-value pairs
|
171
|
+
# serve as environment variable names and their values. The decoded
|
172
|
+
# environment variables can overwrite the values specified by the
|
173
|
+
# `environment` field.
|
152
174
|
# @!attribute [rw] pid_namespace
|
153
175
|
# @return [::String]
|
154
176
|
# An optional identifier for a PID namespace to run the action inside.
|
@@ -333,11 +355,11 @@ module Google
|
|
333
355
|
# Carries information about a Compute Engine VM resource.
|
334
356
|
# @!attribute [rw] machine_type
|
335
357
|
# @return [::String]
|
336
|
-
# Required. The machine type of the virtual machine to create. Must be the
|
337
|
-
# of a standard machine type (such as "n1-standard-1") or a custom
|
338
|
-
# type (such as "custom-1-4096", where "1" indicates the number of
|
339
|
-
# "4096" indicates the memory in MB). See
|
340
|
-
#
|
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
|
341
363
|
# type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
|
342
364
|
# for more specifications on creating a custom machine type.
|
343
365
|
# @!attribute [rw] preemptible
|
@@ -425,6 +447,10 @@ module Google
|
|
425
447
|
# The list of disks and other storage to create or attach to the VM.
|
426
448
|
#
|
427
449
|
# Specify either the `volumes[]` field or the `disks[]` field, but not both.
|
450
|
+
# @!attribute [rw] reservation
|
451
|
+
# @return [::String]
|
452
|
+
# If specified, the VM will only be allocated inside the matching
|
453
|
+
# reservation. It will fail if the VM parameters don't match the reservation.
|
428
454
|
class VirtualMachine
|
429
455
|
include ::Google::Protobuf::MessageExts
|
430
456
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -661,34 +687,44 @@ module Google
|
|
661
687
|
# information in the `details` field.
|
662
688
|
# @!attribute [rw] delayed
|
663
689
|
# @return [::Google::Cloud::LifeSciences::V2beta::DelayedEvent]
|
664
|
-
# See
|
690
|
+
# See
|
691
|
+
# {::Google::Cloud::LifeSciences::V2beta::DelayedEvent google.cloud.lifesciences.v2beta.DelayedEvent}.
|
665
692
|
# @!attribute [rw] worker_assigned
|
666
693
|
# @return [::Google::Cloud::LifeSciences::V2beta::WorkerAssignedEvent]
|
667
|
-
# See
|
694
|
+
# See
|
695
|
+
# {::Google::Cloud::LifeSciences::V2beta::WorkerAssignedEvent google.cloud.lifesciences.v2beta.WorkerAssignedEvent}.
|
668
696
|
# @!attribute [rw] worker_released
|
669
697
|
# @return [::Google::Cloud::LifeSciences::V2beta::WorkerReleasedEvent]
|
670
|
-
# See
|
698
|
+
# See
|
699
|
+
# {::Google::Cloud::LifeSciences::V2beta::WorkerReleasedEvent google.cloud.lifesciences.v2beta.WorkerReleasedEvent}.
|
671
700
|
# @!attribute [rw] pull_started
|
672
701
|
# @return [::Google::Cloud::LifeSciences::V2beta::PullStartedEvent]
|
673
|
-
# See
|
702
|
+
# See
|
703
|
+
# {::Google::Cloud::LifeSciences::V2beta::PullStartedEvent google.cloud.lifesciences.v2beta.PullStartedEvent}.
|
674
704
|
# @!attribute [rw] pull_stopped
|
675
705
|
# @return [::Google::Cloud::LifeSciences::V2beta::PullStoppedEvent]
|
676
|
-
# See
|
706
|
+
# See
|
707
|
+
# {::Google::Cloud::LifeSciences::V2beta::PullStoppedEvent google.cloud.lifesciences.v2beta.PullStoppedEvent}.
|
677
708
|
# @!attribute [rw] container_started
|
678
709
|
# @return [::Google::Cloud::LifeSciences::V2beta::ContainerStartedEvent]
|
679
|
-
# See
|
710
|
+
# See
|
711
|
+
# {::Google::Cloud::LifeSciences::V2beta::ContainerStartedEvent google.cloud.lifesciences.v2beta.ContainerStartedEvent}.
|
680
712
|
# @!attribute [rw] container_stopped
|
681
713
|
# @return [::Google::Cloud::LifeSciences::V2beta::ContainerStoppedEvent]
|
682
|
-
# See
|
714
|
+
# See
|
715
|
+
# {::Google::Cloud::LifeSciences::V2beta::ContainerStoppedEvent google.cloud.lifesciences.v2beta.ContainerStoppedEvent}.
|
683
716
|
# @!attribute [rw] container_killed
|
684
717
|
# @return [::Google::Cloud::LifeSciences::V2beta::ContainerKilledEvent]
|
685
|
-
# See
|
718
|
+
# See
|
719
|
+
# {::Google::Cloud::LifeSciences::V2beta::ContainerKilledEvent google.cloud.lifesciences.v2beta.ContainerKilledEvent}.
|
686
720
|
# @!attribute [rw] unexpected_exit_status
|
687
721
|
# @return [::Google::Cloud::LifeSciences::V2beta::UnexpectedExitStatusEvent]
|
688
|
-
# See
|
722
|
+
# See
|
723
|
+
# {::Google::Cloud::LifeSciences::V2beta::UnexpectedExitStatusEvent google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent}.
|
689
724
|
# @!attribute [rw] failed
|
690
725
|
# @return [::Google::Cloud::LifeSciences::V2beta::FailedEvent]
|
691
|
-
# See
|
726
|
+
# See
|
727
|
+
# {::Google::Cloud::LifeSciences::V2beta::FailedEvent google.cloud.lifesciences.v2beta.FailedEvent}.
|
692
728
|
class Event
|
693
729
|
include ::Google::Protobuf::MessageExts
|
694
730
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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.4.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-03-08 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.18.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.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,20 +44,40 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.4'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.4'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
50
70
|
requirements:
|
51
71
|
- - "~>"
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
73
|
+
version: 1.26.3
|
54
74
|
type: :development
|
55
75
|
prerelease: false
|
56
76
|
version_requirements: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
78
|
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
80
|
+
version: 1.26.3
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: minitest
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,15 +193,23 @@ files:
|
|
173
193
|
- README.md
|
174
194
|
- lib/google-cloud-life_sciences-v2beta.rb
|
175
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
|
176
198
|
- lib/google/cloud/life_sciences/v2beta/version.rb
|
177
199
|
- lib/google/cloud/life_sciences/v2beta/workflows_service.rb
|
178
200
|
- lib/google/cloud/life_sciences/v2beta/workflows_service/client.rb
|
179
201
|
- lib/google/cloud/life_sciences/v2beta/workflows_service/credentials.rb
|
180
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
|
181
207
|
- lib/google/cloud/lifesciences/v2beta/workflows_pb.rb
|
182
208
|
- lib/google/cloud/lifesciences/v2beta/workflows_services_pb.rb
|
183
209
|
- proto_docs/README.md
|
210
|
+
- proto_docs/google/api/client.rb
|
184
211
|
- proto_docs/google/api/field_behavior.rb
|
212
|
+
- proto_docs/google/api/launch_stage.rb
|
185
213
|
- proto_docs/google/api/resource.rb
|
186
214
|
- proto_docs/google/cloud/lifesciences/v2beta/workflows.rb
|
187
215
|
- proto_docs/google/longrunning/operations.rb
|
@@ -210,8 +238,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
238
|
- !ruby/object:Gem::Version
|
211
239
|
version: '0'
|
212
240
|
requirements: []
|
213
|
-
rubygems_version: 3.
|
241
|
+
rubygems_version: 3.4.2
|
214
242
|
signing_key:
|
215
243
|
specification_version: 4
|
216
|
-
summary:
|
244
|
+
summary: Cloud Life Sciences is a suite of services and tools for managing, processing,
|
245
|
+
and transforming life sciences data.
|
217
246
|
test_files: []
|