google-cloud-life_sciences-v2beta 0.13.0 → 0.14.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: 852d8e71e53f9fd067ea0b4944bdf5b7bb8d136fdbfd59a21b0289f790663597
4
- data.tar.gz: 647371b8d78812fc508154a9b6a7f47ebc91aa5b3f79e160ae3ac5b8202e7b21
3
+ metadata.gz: d3726b92dccbcdc555d31a6481d8f855aed2c33af1cd3ce6176b7a94ca3c2d88
4
+ data.tar.gz: f67536624d1024be301420f3aa9236c5a02f8656b34f65d00d7282557a5cc574
5
5
  SHA512:
6
- metadata.gz: f47d9f7f77f1c787f40cb00c461e3280b2fed1a3449c8a93fbcbaf3dcc7d316636d0cb73f94ea65ddffc997fc663baa0fa2d2bef41dc98c1d7e784ddad4f703f
7
- data.tar.gz: b168cb234e8bc9d49119baf7b2df1ce931f48d8e6b21b7853ef29d2801a59447f85b940cc6a4bb474af017a2e1a71420809aa3bc7264a662e9dc6c5527e07d45
6
+ metadata.gz: fce20c6bdf688d2ff2797c4583c619da20e88898c18dac1bb1059aa77432abf91da7e9d1691ac852dcdc17ba1132ea3724eb88e10213b440b67592353c01323c
7
+ data.tar.gz: 1e544c66b0a664aa8060ea2a43971912a5937794605b0fd77f7ede817977c8973da0560520b73bf629dc6995eb1bb26c2d073877eca63ad31e670f5ab0b27a1a
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module LifeSciences
23
23
  module V2beta
24
- VERSION = "0.13.0"
24
+ VERSION = "0.14.0"
25
25
  end
26
26
  end
27
27
  end
@@ -373,8 +373,6 @@ module Google
373
373
  # @return [::String,nil]
374
374
  # @!attribute [rw] credentials
375
375
  # Credentials to send with calls. You may provide any of the following types:
376
- # * (`String`) The path to a service account key file in JSON format
377
- # * (`Hash`) A service account key as a Hash
378
376
  # * (`Google::Auth::Credentials`) A googleauth credentials object
379
377
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
380
378
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -383,7 +381,26 @@ module Google
383
381
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
384
382
  # * (`nil`) indicating no credentials
385
383
  #
386
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
384
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
385
+ # is deprecated. Providing an unvalidated credential configuration to
386
+ # Google APIs can compromise the security of your systems and data.
387
+ #
388
+ # @example
389
+ #
390
+ # # The recommended way to provide credentials is to use the `make_creds` method
391
+ # # on the appropriate credentials class for your environment.
392
+ #
393
+ # require "googleauth"
394
+ #
395
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
396
+ # json_key_io: ::File.open("/path/to/keyfile.json")
397
+ # )
398
+ #
399
+ # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new do |config|
400
+ # config.credentials = credentials
401
+ # end
402
+ #
403
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
387
404
  # external source for authentication to Google Cloud, you must validate it before
388
405
  # providing it to a Google API client library. Providing an unvalidated credential
389
406
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -15,31 +15,8 @@ require 'google/rpc/code_pb'
15
15
 
16
16
  descriptor_data = "\n0google/cloud/lifesciences/v2beta/workflows.proto\x12 google.cloud.lifesciences.v2beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xff\x01\n\x12RunPipelineRequest\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12\x41\n\x08pipeline\x18\x01 \x01(\x0b\x32*.google.cloud.lifesciences.v2beta.PipelineB\x03\xe0\x41\x02\x12P\n\x06labels\x18\x02 \x03(\x0b\x32@.google.cloud.lifesciences.v2beta.RunPipelineRequest.LabelsEntry\x12\x15\n\rpub_sub_topic\x18\x03 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x15\n\x13RunPipelineResponse\"\x80\x03\n\x08Pipeline\x12\x39\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32(.google.cloud.lifesciences.v2beta.Action\x12>\n\tresources\x18\x02 \x01(\x0b\x32+.google.cloud.lifesciences.v2beta.Resources\x12P\n\x0b\x65nvironment\x18\x03 \x03(\x0b\x32;.google.cloud.lifesciences.v2beta.Pipeline.EnvironmentEntry\x12G\n\x15\x65ncrypted_environment\x18\x05 \x01(\x0b\x32(.google.cloud.lifesciences.v2beta.Secret\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10\x45nvironmentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xca\x07\n\x06\x41\x63tion\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x16\n\timage_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08\x63ommands\x18\x03 \x03(\t\x12\x12\n\nentrypoint\x18\x04 \x01(\t\x12N\n\x0b\x65nvironment\x18\x05 \x03(\x0b\x32\x39.google.cloud.lifesciences.v2beta.Action.EnvironmentEntry\x12G\n\x15\x65ncrypted_environment\x18\x15 \x01(\x0b\x32(.google.cloud.lifesciences.v2beta.Secret\x12\x15\n\rpid_namespace\x18\x06 \x01(\t\x12Q\n\rport_mappings\x18\x08 \x03(\x0b\x32:.google.cloud.lifesciences.v2beta.Action.PortMappingsEntry\x12\x37\n\x06mounts\x18\t \x03(\x0b\x32\'.google.cloud.lifesciences.v2beta.Mount\x12\x44\n\x06labels\x18\n \x03(\x0b\x32\x34.google.cloud.lifesciences.v2beta.Action.LabelsEntry\x12=\n\x0b\x63redentials\x18\x0b \x01(\x0b\x32(.google.cloud.lifesciences.v2beta.Secret\x12*\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12ignore_exit_status\x18\r \x01(\x08\x12\x19\n\x11run_in_background\x18\x0e \x01(\x08\x12\x12\n\nalways_run\x18\x0f \x01(\x08\x12\x13\n\x0b\x65nable_fuse\x18\x10 \x01(\x08\x12\x1d\n\x15publish_exposed_ports\x18\x11 \x01(\x08\x12\x1e\n\x16\x64isable_image_prefetch\x18\x12 \x01(\x08\x12&\n\x1e\x64isable_standard_error_capture\x18\x13 \x01(\x08\x12\x1e\n\x16\x62lock_external_network\x18\x14 \x01(\x08\x1a\x32\n\x10\x45nvironmentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11PortMappingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x06Secret\x12\x10\n\x08key_name\x18\x01 \x01(\t\x12\x13\n\x0b\x63ipher_text\x18\x02 \x01(\t\"6\n\x05Mount\x12\x0c\n\x04\x64isk\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\"v\n\tResources\x12\x0f\n\x07regions\x18\x02 \x03(\t\x12\r\n\x05zones\x18\x03 \x03(\t\x12I\n\x0fvirtual_machine\x18\x04 \x01(\x0b\x32\x30.google.cloud.lifesciences.v2beta.VirtualMachine\"\xbc\x05\n\x0eVirtualMachine\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bpreemptible\x18\x02 \x01(\x08\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.google.cloud.lifesciences.v2beta.VirtualMachine.LabelsEntry\x12\x35\n\x05\x64isks\x18\x04 \x03(\x0b\x32&.google.cloud.lifesciences.v2beta.Disk\x12:\n\x07network\x18\x05 \x01(\x0b\x32).google.cloud.lifesciences.v2beta.Network\x12\x43\n\x0c\x61\x63\x63\x65lerators\x18\x06 \x03(\x0b\x32-.google.cloud.lifesciences.v2beta.Accelerator\x12I\n\x0fservice_account\x18\x07 \x01(\x0b\x32\x30.google.cloud.lifesciences.v2beta.ServiceAccount\x12\x19\n\x11\x62oot_disk_size_gb\x18\x08 \x01(\x05\x12\x14\n\x0c\x63pu_platform\x18\t \x01(\t\x12\x12\n\nboot_image\x18\n \x01(\t\x12!\n\x15nvidia_driver_version\x18\x0b \x01(\tB\x02\x18\x01\x12%\n\x1d\x65nable_stackdriver_monitoring\x18\x0c \x01(\x08\x12\x1b\n\x13\x64ocker_cache_images\x18\r \x03(\t\x12\x39\n\x07volumes\x18\x0e \x03(\x0b\x32(.google.cloud.lifesciences.v2beta.Volume\x12\x13\n\x0breservation\x18\x0f \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x0eServiceAccount\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x0e\n\x06scopes\x18\x02 \x03(\t\"*\n\x0b\x41\x63\x63\x65lerator\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"K\n\x07Network\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x1b\n\x13use_private_address\x18\x02 \x01(\x08\x12\x12\n\nsubnetwork\x18\x03 \x01(\t\"I\n\x04\x44isk\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07size_gb\x18\x02 \x01(\x05\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x14\n\x0csource_image\x18\x04 \x01(\t\"\xfa\x01\n\x06Volume\x12\x0e\n\x06volume\x18\x01 \x01(\t\x12K\n\x0fpersistent_disk\x18\x02 \x01(\x0b\x32\x30.google.cloud.lifesciences.v2beta.PersistentDiskH\x00\x12G\n\rexisting_disk\x18\x03 \x01(\x0b\x32..google.cloud.lifesciences.v2beta.ExistingDiskH\x00\x12?\n\tnfs_mount\x18\x04 \x01(\x0b\x32*.google.cloud.lifesciences.v2beta.NFSMountH\x00\x42\t\n\x07storage\"E\n\x0ePersistentDisk\x12\x0f\n\x07size_gb\x18\x01 \x01(\x05\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x14\n\x0csource_image\x18\x03 \x01(\t\"\x1c\n\x0c\x45xistingDisk\x12\x0c\n\x04\x64isk\x18\x01 \x01(\t\"\x1a\n\x08NFSMount\x12\x0e\n\x06target\x18\x01 \x01(\t\"\x9e\x03\n\x08Metadata\x12<\n\x08pipeline\x18\x01 \x01(\x0b\x32*.google.cloud.lifesciences.v2beta.Pipeline\x12\x46\n\x06labels\x18\x02 \x03(\x0b\x32\x36.google.cloud.lifesciences.v2beta.Metadata.LabelsEntry\x12\x37\n\x06\x65vents\x18\x03 \x03(\x0b\x32\'.google.cloud.lifesciences.v2beta.Event\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rpub_sub_topic\x18\x07 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf5\x06\n\x05\x45vent\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x07\x64\x65layed\x18\x11 \x01(\x0b\x32..google.cloud.lifesciences.v2beta.DelayedEventH\x00\x12P\n\x0fworker_assigned\x18\x12 \x01(\x0b\x32\x35.google.cloud.lifesciences.v2beta.WorkerAssignedEventH\x00\x12P\n\x0fworker_released\x18\x13 \x01(\x0b\x32\x35.google.cloud.lifesciences.v2beta.WorkerReleasedEventH\x00\x12J\n\x0cpull_started\x18\x14 \x01(\x0b\x32\x32.google.cloud.lifesciences.v2beta.PullStartedEventH\x00\x12J\n\x0cpull_stopped\x18\x15 \x01(\x0b\x32\x32.google.cloud.lifesciences.v2beta.PullStoppedEventH\x00\x12T\n\x11\x63ontainer_started\x18\x16 \x01(\x0b\x32\x37.google.cloud.lifesciences.v2beta.ContainerStartedEventH\x00\x12T\n\x11\x63ontainer_stopped\x18\x17 \x01(\x0b\x32\x37.google.cloud.lifesciences.v2beta.ContainerStoppedEventH\x00\x12R\n\x10\x63ontainer_killed\x18\x18 \x01(\x0b\x32\x36.google.cloud.lifesciences.v2beta.ContainerKilledEventH\x00\x12]\n\x16unexpected_exit_status\x18\x19 \x01(\x0b\x32;.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEventH\x00\x12?\n\x06\x66\x61iled\x18\x1a \x01(\x0b\x32-.google.cloud.lifesciences.v2beta.FailedEventH\x00\x42\t\n\x07\x64\x65tails\".\n\x0c\x44\x65layedEvent\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12\x0f\n\x07metrics\x18\x02 \x03(\t\"K\n\x13WorkerAssignedEvent\x12\x0c\n\x04zone\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x14\n\x0cmachine_type\x18\x03 \x01(\t\"5\n\x13WorkerReleasedEvent\x12\x0c\n\x04zone\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\"%\n\x10PullStartedEvent\x12\x11\n\timage_uri\x18\x01 \x01(\t\"%\n\x10PullStoppedEvent\x12\x11\n\timage_uri\x18\x01 \x01(\t\"\xd5\x01\n\x15\x43ontainerStartedEvent\x12\x11\n\taction_id\x18\x01 \x01(\x05\x12`\n\rport_mappings\x18\x02 \x03(\x0b\x32I.google.cloud.lifesciences.v2beta.ContainerStartedEvent.PortMappingsEntry\x12\x12\n\nip_address\x18\x03 \x01(\t\x1a\x33\n\x11PortMappingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"O\n\x15\x43ontainerStoppedEvent\x12\x11\n\taction_id\x18\x01 \x01(\x05\x12\x13\n\x0b\x65xit_status\x18\x02 \x01(\x05\x12\x0e\n\x06stderr\x18\x03 \x01(\t\"C\n\x19UnexpectedExitStatusEvent\x12\x11\n\taction_id\x18\x01 \x01(\x05\x12\x13\n\x0b\x65xit_status\x18\x02 \x01(\x05\")\n\x14\x43ontainerKilledEvent\x12\x11\n\taction_id\x18\x01 \x01(\x05\"<\n\x0b\x46\x61iledEvent\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t2\xb2\x02\n\x16WorkflowsServiceV2Beta\x12\xc6\x01\n\x0bRunPipeline\x12\x34.google.cloud.lifesciences.v2beta.RunPipelineRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1f\n\x13RunPipelineResponse\x12\x08Metadata\x82\xd3\xe4\x93\x02:\"5/v2beta/{parent=projects/*/locations/*}/pipelines:run:\x01*\x1aO\xca\x41\x1blifesciences.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf5\x01\n$com.google.cloud.lifesciences.v2betaB\x0eWorkflowsProtoP\x01ZHcloud.google.com/go/lifesciences/apiv2beta/lifesciencespb;lifesciencespb\xa2\x02\x04\x43LSW\xaa\x02 Google.Cloud.LifeSciences.V2Beta\xca\x02 Google\\Cloud\\LifeSciences\\V2beta\xea\x02#Google::Cloud::LifeSciences::V2betab\x06proto3"
17
17
 
18
- pool = Google::Protobuf::DescriptorPool.generated_pool
19
-
20
- begin
21
- pool.add_serialized_file(descriptor_data)
22
- rescue TypeError
23
- # Compatibility code: will be removed in the next major version.
24
- require 'google/protobuf/descriptor_pb'
25
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
- parsed.clear_dependency
27
- serialized = parsed.class.encode(parsed)
28
- file = pool.add_serialized_file(serialized)
29
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
- imports = [
31
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
32
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
33
- ]
34
- imports.each do |type_name, expected_filename|
35
- import_file = pool.lookup(type_name).file_descriptor
36
- if import_file.name != expected_filename
37
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
- end
39
- end
40
- warn "Each proto file must use a consistent fully-qualified name."
41
- warn "This will become an error in the next major version."
42
- end
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
43
20
 
44
21
  module Google
45
22
  module Cloud
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-life_sciences-v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
- version: '3.1'
108
+ version: '3.2'
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="