google-apis-genomics_v2alpha1 0.2.0 → 0.7.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: 46f37c9e96bcac9eaac72f09d6bc30ae73f3a1e9766d21b77175cefc86011668
4
- data.tar.gz: d84120c8b0d96d4a18ade8d071104f37aa27c042d1b85f28d94b9dd566748f36
3
+ metadata.gz: b882c1a64a573393427bc60b5957979ab8b596e647705e4ffc8ad5a97f957166
4
+ data.tar.gz: 2dc004591cd81da83cebe0a606d32519a21f041cd708dca047dc7fc9efd2e3d4
5
5
  SHA512:
6
- metadata.gz: 774f27b76d0d3cea66045bb00a4b0ec39df1dc04195fe4971117cf032a3763921fad637ee15903d49c26dfbd847086d70a32499b1304ab82b1e79c38cff5f3c6
7
- data.tar.gz: 1bab562f61928952b3218c450ae5474a9a91d779aa09948223974f63eb9bb3a7db9a1678c387dfc1bdd89ca47338c84c0e6f79014d88e148ceb7ddf92a08f247
6
+ metadata.gz: 85b1704c574c12b62b48cd04f553289db71191940b512062a9c37c1f70ace687dbf6360cade3a8ef4abde808df15538bf3ccc9063498a487dc9c324abc5ee91e
7
+ data.tar.gz: 8ef7112ea098eb9dedbdbf76ec8f91ccc45bc94d32e460c80dfb0b63a567234f8d9df55c68315a51b1a7aac2a7b1cb0501aa0c15912c01342a2a40d5efdc8566
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-genomics_v2alpha1
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-05-13)
8
+
9
+ * Regenerated from discovery document revision 20210512
10
+
11
+ ### v0.5.0 (2021-03-24)
12
+
13
+ * Regenerated from discovery document revision 20210322
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-10)
21
+
22
+ * Regenerated from discovery document revision 20210209
23
+
3
24
  ### v0.2.0 (2021-01-27)
4
25
 
5
26
  * Regenerated from discovery document revision 20210125
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V2alpha1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # View and manage Genomics data
@@ -70,6 +70,12 @@ module Google
70
70
  # @return [Google::Apis::GenomicsV2alpha1::Secret]
71
71
  attr_accessor :credentials
72
72
 
73
+ # Holds encrypted information that is only decrypted and stored in RAM by the
74
+ # worker VM when running the pipeline.
75
+ # Corresponds to the JSON property `encryptedEnvironment`
76
+ # @return [Google::Apis::GenomicsV2alpha1::Secret]
77
+ attr_accessor :encrypted_environment
78
+
73
79
  # If specified, overrides the `ENTRYPOINT` specified in the container.
74
80
  # Corresponds to the JSON property `entrypoint`
75
81
  # @return [String]
@@ -170,6 +176,7 @@ module Google
170
176
  def update!(**args)
171
177
  @commands = args[:commands] if args.key?(:commands)
172
178
  @credentials = args[:credentials] if args.key?(:credentials)
179
+ @encrypted_environment = args[:encrypted_environment] if args.key?(:encrypted_environment)
173
180
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
174
181
  @environment = args[:environment] if args.key?(:environment)
175
182
  @flags = args[:flags] if args.key?(:flags)
@@ -288,44 +295,6 @@ module Google
288
295
  end
289
296
  end
290
297
 
291
- # Describes a Compute Engine resource that is being managed by a running
292
- # pipeline.
293
- class ComputeEngine
294
- include Google::Apis::Core::Hashable
295
-
296
- # The names of the disks that were created for this pipeline.
297
- # Corresponds to the JSON property `diskNames`
298
- # @return [Array<String>]
299
- attr_accessor :disk_names
300
-
301
- # The instance on which the operation is running.
302
- # Corresponds to the JSON property `instanceName`
303
- # @return [String]
304
- attr_accessor :instance_name
305
-
306
- # The machine type of the instance.
307
- # Corresponds to the JSON property `machineType`
308
- # @return [String]
309
- attr_accessor :machine_type
310
-
311
- # The availability zone in which the instance resides.
312
- # Corresponds to the JSON property `zone`
313
- # @return [String]
314
- attr_accessor :zone
315
-
316
- def initialize(**args)
317
- update!(**args)
318
- end
319
-
320
- # Update properties of this object
321
- def update!(**args)
322
- @disk_names = args[:disk_names] if args.key?(:disk_names)
323
- @instance_name = args[:instance_name] if args.key?(:instance_name)
324
- @machine_type = args[:machine_type] if args.key?(:machine_type)
325
- @zone = args[:zone] if args.key?(:zone)
326
- end
327
- end
328
-
329
298
  # An event generated when a container is forcibly terminated by the worker.
330
299
  # Currently, this only occurs when the container outlives the timeout specified
331
300
  # by the user.
@@ -848,110 +817,6 @@ module Google
848
817
  end
849
818
  end
850
819
 
851
- # An event that occurred during an Operation.
852
- class OperationEvent
853
- include Google::Apis::Core::Hashable
854
-
855
- # Required description of event.
856
- # Corresponds to the JSON property `description`
857
- # @return [String]
858
- attr_accessor :description
859
-
860
- # Optional time of when event finished. An event can have a start time and no
861
- # finish time. If an event has a finish time, there must be a start time.
862
- # Corresponds to the JSON property `endTime`
863
- # @return [String]
864
- attr_accessor :end_time
865
-
866
- # Optional time of when event started.
867
- # Corresponds to the JSON property `startTime`
868
- # @return [String]
869
- attr_accessor :start_time
870
-
871
- def initialize(**args)
872
- update!(**args)
873
- end
874
-
875
- # Update properties of this object
876
- def update!(**args)
877
- @description = args[:description] if args.key?(:description)
878
- @end_time = args[:end_time] if args.key?(:end_time)
879
- @start_time = args[:start_time] if args.key?(:start_time)
880
- end
881
- end
882
-
883
- # Metadata describing an Operation.
884
- class OperationMetadata
885
- include Google::Apis::Core::Hashable
886
-
887
- # This field is deprecated. Use `labels` instead. Optionally provided by the
888
- # caller when submitting the request that creates the operation.
889
- # Corresponds to the JSON property `clientId`
890
- # @return [String]
891
- attr_accessor :client_id
892
-
893
- # The time at which the job was submitted to the Genomics service.
894
- # Corresponds to the JSON property `createTime`
895
- # @return [String]
896
- attr_accessor :create_time
897
-
898
- # The time at which the job stopped running.
899
- # Corresponds to the JSON property `endTime`
900
- # @return [String]
901
- attr_accessor :end_time
902
-
903
- # Optional event messages that were generated during the job's execution. This
904
- # also contains any warnings that were generated during import or export.
905
- # Corresponds to the JSON property `events`
906
- # @return [Array<Google::Apis::GenomicsV2alpha1::OperationEvent>]
907
- attr_accessor :events
908
-
909
- # Optionally provided by the caller when submitting the request that creates the
910
- # operation.
911
- # Corresponds to the JSON property `labels`
912
- # @return [Hash<String,String>]
913
- attr_accessor :labels
914
-
915
- # The Google Cloud Project in which the job is scoped.
916
- # Corresponds to the JSON property `projectId`
917
- # @return [String]
918
- attr_accessor :project_id
919
-
920
- # The original request that started the operation. Note that this will be in
921
- # current version of the API. If the operation was started with v1beta2 API and
922
- # a GetOperation is performed on v1 API, a v1 request will be returned.
923
- # Corresponds to the JSON property `request`
924
- # @return [Hash<String,Object>]
925
- attr_accessor :request
926
-
927
- # Runtime metadata on this Operation.
928
- # Corresponds to the JSON property `runtimeMetadata`
929
- # @return [Hash<String,Object>]
930
- attr_accessor :runtime_metadata
931
-
932
- # The time at which the job began to run.
933
- # Corresponds to the JSON property `startTime`
934
- # @return [String]
935
- attr_accessor :start_time
936
-
937
- def initialize(**args)
938
- update!(**args)
939
- end
940
-
941
- # Update properties of this object
942
- def update!(**args)
943
- @client_id = args[:client_id] if args.key?(:client_id)
944
- @create_time = args[:create_time] if args.key?(:create_time)
945
- @end_time = args[:end_time] if args.key?(:end_time)
946
- @events = args[:events] if args.key?(:events)
947
- @labels = args[:labels] if args.key?(:labels)
948
- @project_id = args[:project_id] if args.key?(:project_id)
949
- @request = args[:request] if args.key?(:request)
950
- @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
951
- @start_time = args[:start_time] if args.key?(:start_time)
952
- end
953
- end
954
-
955
820
  # Configuration for a persistent disk to be attached to the VM. See https://
956
821
  # cloud.google.com/compute/docs/disks/performance for more information about
957
822
  # disk type, size, and performance considerations.
@@ -998,6 +863,12 @@ module Google
998
863
  # @return [Array<Google::Apis::GenomicsV2alpha1::Action>]
999
864
  attr_accessor :actions
1000
865
 
866
+ # Holds encrypted information that is only decrypted and stored in RAM by the
867
+ # worker VM when running the pipeline.
868
+ # Corresponds to the JSON property `encryptedEnvironment`
869
+ # @return [Google::Apis::GenomicsV2alpha1::Secret]
870
+ attr_accessor :encrypted_environment
871
+
1001
872
  # The environment to pass into every action. Each action can also specify
1002
873
  # additional environment variables but cannot delete an entry from this map (
1003
874
  # though they can overwrite it with a different value).
@@ -1026,6 +897,7 @@ module Google
1026
897
  # Update properties of this object
1027
898
  def update!(**args)
1028
899
  @actions = args[:actions] if args.key?(:actions)
900
+ @encrypted_environment = args[:encrypted_environment] if args.key?(:encrypted_environment)
1029
901
  @environment = args[:environment] if args.key?(:environment)
1030
902
  @resources = args[:resources] if args.key?(:resources)
1031
903
  @timeout = args[:timeout] if args.key?(:timeout)
@@ -1130,6 +1002,14 @@ module Google
1130
1002
  # @return [Google::Apis::GenomicsV2alpha1::Pipeline]
1131
1003
  attr_accessor :pipeline
1132
1004
 
1005
+ # The name of an existing Pub/Sub topic. The server will publish messages to
1006
+ # this topic whenever the status of the operation changes. The Genomics Service
1007
+ # Agent account must have publisher permissions to the specified topic or
1008
+ # notifications will not be sent.
1009
+ # Corresponds to the JSON property `pubSubTopic`
1010
+ # @return [String]
1011
+ attr_accessor :pub_sub_topic
1012
+
1133
1013
  def initialize(**args)
1134
1014
  update!(**args)
1135
1015
  end
@@ -1138,6 +1018,7 @@ module Google
1138
1018
  def update!(**args)
1139
1019
  @labels = args[:labels] if args.key?(:labels)
1140
1020
  @pipeline = args[:pipeline] if args.key?(:pipeline)
1021
+ @pub_sub_topic = args[:pub_sub_topic] if args.key?(:pub_sub_topic)
1141
1022
  end
1142
1023
  end
1143
1024
 
@@ -1155,27 +1036,6 @@ module Google
1155
1036
  end
1156
1037
  end
1157
1038
 
1158
- # Runtime metadata that will be populated in the runtimeMetadata field of the
1159
- # Operation associated with a RunPipeline execution.
1160
- class RuntimeMetadata
1161
- include Google::Apis::Core::Hashable
1162
-
1163
- # Describes a Compute Engine resource that is being managed by a running
1164
- # pipeline.
1165
- # Corresponds to the JSON property `computeEngine`
1166
- # @return [Google::Apis::GenomicsV2alpha1::ComputeEngine]
1167
- attr_accessor :compute_engine
1168
-
1169
- def initialize(**args)
1170
- update!(**args)
1171
- end
1172
-
1173
- # Update properties of this object
1174
- def update!(**args)
1175
- @compute_engine = args[:compute_engine] if args.key?(:compute_engine)
1176
- end
1177
- end
1178
-
1179
1039
  # Holds encrypted information that is only decrypted and stored in RAM by the
1180
1040
  # worker VM when running the pipeline.
1181
1041
  class Secret
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GenomicsV2alpha1
18
18
  # Version of the google-apis-genomics_v2alpha1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210125"
25
+ REVISION = "20210512"
26
26
  end
27
27
  end
28
28
  end
@@ -52,12 +52,6 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class ComputeEngine
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
55
  class ContainerKilledEvent
62
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
57
 
@@ -154,18 +148,6 @@ module Google
154
148
  include Google::Apis::Core::JsonObjectSupport
155
149
  end
156
150
 
157
- class OperationEvent
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class OperationMetadata
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
151
  class PersistentDisk
170
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
153
 
@@ -208,12 +190,6 @@ module Google
208
190
  include Google::Apis::Core::JsonObjectSupport
209
191
  end
210
192
 
211
- class RuntimeMetadata
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
193
  class Secret
218
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
195
 
@@ -288,6 +264,8 @@ module Google
288
264
  collection :commands, as: 'commands'
289
265
  property :credentials, as: 'credentials', class: Google::Apis::GenomicsV2alpha1::Secret, decorator: Google::Apis::GenomicsV2alpha1::Secret::Representation
290
266
 
267
+ property :encrypted_environment, as: 'encryptedEnvironment', class: Google::Apis::GenomicsV2alpha1::Secret, decorator: Google::Apis::GenomicsV2alpha1::Secret::Representation
268
+
291
269
  property :entrypoint, as: 'entrypoint'
292
270
  hash :environment, as: 'environment'
293
271
  collection :flags, as: 'flags'
@@ -333,16 +311,6 @@ module Google
333
311
  end
334
312
  end
335
313
 
336
- class ComputeEngine
337
- # @private
338
- class Representation < Google::Apis::Core::JsonRepresentation
339
- collection :disk_names, as: 'diskNames'
340
- property :instance_name, as: 'instanceName'
341
- property :machine_type, as: 'machineType'
342
- property :zone, as: 'zone'
343
- end
344
- end
345
-
346
314
  class ContainerKilledEvent
347
315
  # @private
348
316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -484,31 +452,6 @@ module Google
484
452
  end
485
453
  end
486
454
 
487
- class OperationEvent
488
- # @private
489
- class Representation < Google::Apis::Core::JsonRepresentation
490
- property :description, as: 'description'
491
- property :end_time, as: 'endTime'
492
- property :start_time, as: 'startTime'
493
- end
494
- end
495
-
496
- class OperationMetadata
497
- # @private
498
- class Representation < Google::Apis::Core::JsonRepresentation
499
- property :client_id, as: 'clientId'
500
- property :create_time, as: 'createTime'
501
- property :end_time, as: 'endTime'
502
- collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::OperationEvent, decorator: Google::Apis::GenomicsV2alpha1::OperationEvent::Representation
503
-
504
- hash :labels, as: 'labels'
505
- property :project_id, as: 'projectId'
506
- hash :request, as: 'request'
507
- hash :runtime_metadata, as: 'runtimeMetadata'
508
- property :start_time, as: 'startTime'
509
- end
510
- end
511
-
512
455
  class PersistentDisk
513
456
  # @private
514
457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -523,6 +466,8 @@ module Google
523
466
  class Representation < Google::Apis::Core::JsonRepresentation
524
467
  collection :actions, as: 'actions', class: Google::Apis::GenomicsV2alpha1::Action, decorator: Google::Apis::GenomicsV2alpha1::Action::Representation
525
468
 
469
+ property :encrypted_environment, as: 'encryptedEnvironment', class: Google::Apis::GenomicsV2alpha1::Secret, decorator: Google::Apis::GenomicsV2alpha1::Secret::Representation
470
+
526
471
  hash :environment, as: 'environment'
527
472
  property :resources, as: 'resources', class: Google::Apis::GenomicsV2alpha1::Resources, decorator: Google::Apis::GenomicsV2alpha1::Resources::Representation
528
473
 
@@ -561,6 +506,7 @@ module Google
561
506
  hash :labels, as: 'labels'
562
507
  property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation
563
508
 
509
+ property :pub_sub_topic, as: 'pubSubTopic'
564
510
  end
565
511
  end
566
512
 
@@ -570,14 +516,6 @@ module Google
570
516
  end
571
517
  end
572
518
 
573
- class RuntimeMetadata
574
- # @private
575
- class Representation < Google::Apis::Core::JsonRepresentation
576
- property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV2alpha1::ComputeEngine, decorator: Google::Apis::GenomicsV2alpha1::ComputeEngine::Representation
577
-
578
- end
579
- end
580
-
581
519
  class Secret
582
520
  # @private
583
521
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -173,16 +173,11 @@ module Google
173
173
  # pipeline is running, this value is NULL. Once the pipeline finishes, the value
174
174
  # is the standard Google error code. * labels.key or labels."key with space"
175
175
  # where key is a label key. * done: If the pipeline is running, this value is
176
- # false. Once the pipeline finishes, the value is true. In v1 and v1alpha2, the
177
- # following filter fields are supported: * projectId: Required. Corresponds to
178
- # OperationMetadata.projectId. * createTime: The time this job was created, in
179
- # seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=`
180
- # and/or `<=` operators. * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `
181
- # CANCELED`. Only one status may be specified. * labels.key where key is a label
182
- # key. Examples: * `projectId = my-project AND createTime >= 1432140000` * `
183
- # projectId = my-project AND createTime >= 1432140000 AND createTime <=
184
- # 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *
185
- # ` * `projectId = my-project AND labels.color = red`
176
+ # false. Once the pipeline finishes, the value is true. Examples: * `projectId =
177
+ # my-project AND createTime >= 1432140000` * `projectId = my-project AND
178
+ # createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `
179
+ # projectId = my-project AND labels.color = *` * `projectId = my-project AND
180
+ # labels.color = red`
186
181
  # @param [Fixnum] page_size
187
182
  # The maximum number of results to return. The maximum value is 256.
188
183
  # @param [String] page_token
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-genomics_v2alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.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: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-genomics_v2alpha1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-genomics_v2alpha1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-genomics_v2alpha1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-genomics_v2alpha1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Genomics API V2alpha1