google-cloud-life_sciences-v2beta 0.4.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/life_sciences/v2beta/version.rb +1 -1
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/client.rb +6 -4
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/operations.rb +5 -3
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest/client.rb +6 -4
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest/operations.rb +9 -7
- data/lib/google/cloud/life_sciences/v2beta/workflows_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/lifesciences/v2beta/workflows_pb.rb +26 -172
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 319fd51fb04ccb47c19c4028688d4a317b52bee716b625e6e4d849288f182c1f
|
4
|
+
data.tar.gz: 7e7e4d2c202f8a6687ed32dc15f77b6206251cf04a960feadf6fcc4fc865bb5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff4defe0770ce84ce607e6dbd8342defdf5cee7c52ae59f5cec54e310ecdef1c96d90bfe81fc9694ea3e6044bcb991f6419b3e21e405737d9151c706b98b2822
|
7
|
+
data.tar.gz: cb8fdf0094e6c688a6d387be31b3ea49471da9210a7d2f431422f478dff486049f0de369c9899db4ec80b23259e06bc93698082c500f7833eebc72f18a23f81b
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -333,9 +333,9 @@ module Google
|
|
333
333
|
# * (`String`) The path to a service account key file in JSON format
|
334
334
|
# * (`Hash`) A service account key as a Hash
|
335
335
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
336
|
-
# (see the [googleauth docs](https://
|
336
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
337
337
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
338
|
-
# (see the [signet docs](https://
|
338
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
339
339
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
340
340
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
341
341
|
# * (`nil`) indicating no credentials
|
@@ -377,7 +377,9 @@ module Google
|
|
377
377
|
class Configuration
|
378
378
|
extend ::Gapic::Config
|
379
379
|
|
380
|
-
|
380
|
+
DEFAULT_ENDPOINT = "lifesciences.googleapis.com"
|
381
|
+
|
382
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
381
383
|
config_attr :credentials, nil do |value|
|
382
384
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
383
385
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|
@@ -664,7 +664,9 @@ module Google
|
|
664
664
|
class Configuration
|
665
665
|
extend ::Gapic::Config
|
666
666
|
|
667
|
-
|
667
|
+
DEFAULT_ENDPOINT = "lifesciences.googleapis.com"
|
668
|
+
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
668
670
|
config_attr :credentials, nil do |value|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -121,7 +121,7 @@ module Google
|
|
121
121
|
credentials = @config.credentials
|
122
122
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
123
123
|
# but only if the default endpoint does not have a region prefix.
|
124
|
-
enable_self_signed_jwt = @config.endpoint ==
|
124
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
125
125
|
!@config.endpoint.split(".").first.include?("-")
|
126
126
|
credentials ||= Credentials.default scope: @config.scope,
|
127
127
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -295,9 +295,9 @@ module Google
|
|
295
295
|
# * (`String`) The path to a service account key file in JSON format
|
296
296
|
# * (`Hash`) A service account key as a Hash
|
297
297
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
298
|
-
# (see the [googleauth docs](https://
|
298
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
299
299
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
300
|
-
# (see the [signet docs](https://
|
300
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
301
301
|
# * (`nil`) indicating no credentials
|
302
302
|
# @return [::Object]
|
303
303
|
# @!attribute [rw] scope
|
@@ -330,7 +330,9 @@ module Google
|
|
330
330
|
class Configuration
|
331
331
|
extend ::Gapic::Config
|
332
332
|
|
333
|
-
|
333
|
+
DEFAULT_ENDPOINT = "lifesciences.googleapis.com"
|
334
|
+
|
335
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
334
336
|
config_attr :credentials, nil do |value|
|
335
337
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
336
338
|
allowed.any? { |klass| klass === value }
|
@@ -411,9 +411,9 @@ module Google
|
|
411
411
|
# * (`String`) The path to a service account key file in JSON format
|
412
412
|
# * (`Hash`) A service account key as a Hash
|
413
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
414
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
416
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
417
|
# * (`nil`) indicating no credentials
|
418
418
|
# @return [::Object]
|
419
419
|
# @!attribute [rw] scope
|
@@ -446,7 +446,9 @@ module Google
|
|
446
446
|
class Configuration
|
447
447
|
extend ::Gapic::Config
|
448
448
|
|
449
|
-
|
449
|
+
DEFAULT_ENDPOINT = "lifesciences.googleapis.com"
|
450
|
+
|
451
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
450
452
|
config_attr :credentials, nil do |value|
|
451
453
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
452
454
|
allowed.any? { |klass| klass === value }
|
@@ -567,7 +569,7 @@ module Google
|
|
567
569
|
|
568
570
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
569
571
|
query_string_params = if query_string_params.any?
|
570
|
-
query_string_params.to_h { |p| p.split
|
572
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
571
573
|
else
|
572
574
|
{}
|
573
575
|
end
|
@@ -605,7 +607,7 @@ module Google
|
|
605
607
|
|
606
608
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
607
609
|
query_string_params = if query_string_params.any?
|
608
|
-
query_string_params.to_h { |p| p.split
|
610
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
609
611
|
else
|
610
612
|
{}
|
611
613
|
end
|
@@ -643,7 +645,7 @@ module Google
|
|
643
645
|
|
644
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
645
647
|
query_string_params = if query_string_params.any?
|
646
|
-
query_string_params.to_h { |p| p.split
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
647
649
|
else
|
648
650
|
{}
|
649
651
|
end
|
@@ -681,7 +683,7 @@ module Google
|
|
681
683
|
|
682
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
683
685
|
query_string_params = if query_string_params.any?
|
684
|
-
query_string_params.to_h { |p| p.split
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
685
687
|
else
|
686
688
|
{}
|
687
689
|
end
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_run_pipeline_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/lifesciences/v2beta/workflows.proto
|
3
4
|
|
@@ -11,180 +12,33 @@ require 'google/protobuf/duration_pb'
|
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
12
13
|
require 'google/rpc/code_pb'
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
optional :encrypted_environment, :message, 21, "google.cloud.lifesciences.v2beta.Secret"
|
38
|
-
optional :pid_namespace, :string, 6
|
39
|
-
map :port_mappings, :int32, :int32, 8
|
40
|
-
repeated :mounts, :message, 9, "google.cloud.lifesciences.v2beta.Mount"
|
41
|
-
map :labels, :string, :string, 10
|
42
|
-
optional :credentials, :message, 11, "google.cloud.lifesciences.v2beta.Secret"
|
43
|
-
optional :timeout, :message, 12, "google.protobuf.Duration"
|
44
|
-
optional :ignore_exit_status, :bool, 13
|
45
|
-
optional :run_in_background, :bool, 14
|
46
|
-
optional :always_run, :bool, 15
|
47
|
-
optional :enable_fuse, :bool, 16
|
48
|
-
optional :publish_exposed_ports, :bool, 17
|
49
|
-
optional :disable_image_prefetch, :bool, 18
|
50
|
-
optional :disable_standard_error_capture, :bool, 19
|
51
|
-
optional :block_external_network, :bool, 20
|
52
|
-
end
|
53
|
-
add_message "google.cloud.lifesciences.v2beta.Secret" do
|
54
|
-
optional :key_name, :string, 1
|
55
|
-
optional :cipher_text, :string, 2
|
56
|
-
end
|
57
|
-
add_message "google.cloud.lifesciences.v2beta.Mount" do
|
58
|
-
optional :disk, :string, 1
|
59
|
-
optional :path, :string, 2
|
60
|
-
optional :read_only, :bool, 3
|
61
|
-
end
|
62
|
-
add_message "google.cloud.lifesciences.v2beta.Resources" do
|
63
|
-
repeated :regions, :string, 2
|
64
|
-
repeated :zones, :string, 3
|
65
|
-
optional :virtual_machine, :message, 4, "google.cloud.lifesciences.v2beta.VirtualMachine"
|
66
|
-
end
|
67
|
-
add_message "google.cloud.lifesciences.v2beta.VirtualMachine" do
|
68
|
-
optional :machine_type, :string, 1
|
69
|
-
optional :preemptible, :bool, 2
|
70
|
-
map :labels, :string, :string, 3
|
71
|
-
repeated :disks, :message, 4, "google.cloud.lifesciences.v2beta.Disk"
|
72
|
-
optional :network, :message, 5, "google.cloud.lifesciences.v2beta.Network"
|
73
|
-
repeated :accelerators, :message, 6, "google.cloud.lifesciences.v2beta.Accelerator"
|
74
|
-
optional :service_account, :message, 7, "google.cloud.lifesciences.v2beta.ServiceAccount"
|
75
|
-
optional :boot_disk_size_gb, :int32, 8
|
76
|
-
optional :cpu_platform, :string, 9
|
77
|
-
optional :boot_image, :string, 10
|
78
|
-
optional :nvidia_driver_version, :string, 11
|
79
|
-
optional :enable_stackdriver_monitoring, :bool, 12
|
80
|
-
repeated :docker_cache_images, :string, 13
|
81
|
-
repeated :volumes, :message, 14, "google.cloud.lifesciences.v2beta.Volume"
|
82
|
-
optional :reservation, :string, 15
|
83
|
-
end
|
84
|
-
add_message "google.cloud.lifesciences.v2beta.ServiceAccount" do
|
85
|
-
optional :email, :string, 1
|
86
|
-
repeated :scopes, :string, 2
|
87
|
-
end
|
88
|
-
add_message "google.cloud.lifesciences.v2beta.Accelerator" do
|
89
|
-
optional :type, :string, 1
|
90
|
-
optional :count, :int64, 2
|
91
|
-
end
|
92
|
-
add_message "google.cloud.lifesciences.v2beta.Network" do
|
93
|
-
optional :network, :string, 1
|
94
|
-
optional :use_private_address, :bool, 2
|
95
|
-
optional :subnetwork, :string, 3
|
96
|
-
end
|
97
|
-
add_message "google.cloud.lifesciences.v2beta.Disk" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :size_gb, :int32, 2
|
100
|
-
optional :type, :string, 3
|
101
|
-
optional :source_image, :string, 4
|
102
|
-
end
|
103
|
-
add_message "google.cloud.lifesciences.v2beta.Volume" do
|
104
|
-
optional :volume, :string, 1
|
105
|
-
oneof :storage do
|
106
|
-
optional :persistent_disk, :message, 2, "google.cloud.lifesciences.v2beta.PersistentDisk"
|
107
|
-
optional :existing_disk, :message, 3, "google.cloud.lifesciences.v2beta.ExistingDisk"
|
108
|
-
optional :nfs_mount, :message, 4, "google.cloud.lifesciences.v2beta.NFSMount"
|
109
|
-
end
|
110
|
-
end
|
111
|
-
add_message "google.cloud.lifesciences.v2beta.PersistentDisk" do
|
112
|
-
optional :size_gb, :int32, 1
|
113
|
-
optional :type, :string, 2
|
114
|
-
optional :source_image, :string, 3
|
115
|
-
end
|
116
|
-
add_message "google.cloud.lifesciences.v2beta.ExistingDisk" do
|
117
|
-
optional :disk, :string, 1
|
118
|
-
end
|
119
|
-
add_message "google.cloud.lifesciences.v2beta.NFSMount" do
|
120
|
-
optional :target, :string, 1
|
121
|
-
end
|
122
|
-
add_message "google.cloud.lifesciences.v2beta.Metadata" do
|
123
|
-
optional :pipeline, :message, 1, "google.cloud.lifesciences.v2beta.Pipeline"
|
124
|
-
map :labels, :string, :string, 2
|
125
|
-
repeated :events, :message, 3, "google.cloud.lifesciences.v2beta.Event"
|
126
|
-
optional :create_time, :message, 4, "google.protobuf.Timestamp"
|
127
|
-
optional :start_time, :message, 5, "google.protobuf.Timestamp"
|
128
|
-
optional :end_time, :message, 6, "google.protobuf.Timestamp"
|
129
|
-
optional :pub_sub_topic, :string, 7
|
130
|
-
end
|
131
|
-
add_message "google.cloud.lifesciences.v2beta.Event" do
|
132
|
-
optional :timestamp, :message, 1, "google.protobuf.Timestamp"
|
133
|
-
optional :description, :string, 2
|
134
|
-
oneof :details do
|
135
|
-
optional :delayed, :message, 17, "google.cloud.lifesciences.v2beta.DelayedEvent"
|
136
|
-
optional :worker_assigned, :message, 18, "google.cloud.lifesciences.v2beta.WorkerAssignedEvent"
|
137
|
-
optional :worker_released, :message, 19, "google.cloud.lifesciences.v2beta.WorkerReleasedEvent"
|
138
|
-
optional :pull_started, :message, 20, "google.cloud.lifesciences.v2beta.PullStartedEvent"
|
139
|
-
optional :pull_stopped, :message, 21, "google.cloud.lifesciences.v2beta.PullStoppedEvent"
|
140
|
-
optional :container_started, :message, 22, "google.cloud.lifesciences.v2beta.ContainerStartedEvent"
|
141
|
-
optional :container_stopped, :message, 23, "google.cloud.lifesciences.v2beta.ContainerStoppedEvent"
|
142
|
-
optional :container_killed, :message, 24, "google.cloud.lifesciences.v2beta.ContainerKilledEvent"
|
143
|
-
optional :unexpected_exit_status, :message, 25, "google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent"
|
144
|
-
optional :failed, :message, 26, "google.cloud.lifesciences.v2beta.FailedEvent"
|
145
|
-
end
|
146
|
-
end
|
147
|
-
add_message "google.cloud.lifesciences.v2beta.DelayedEvent" do
|
148
|
-
optional :cause, :string, 1
|
149
|
-
repeated :metrics, :string, 2
|
150
|
-
end
|
151
|
-
add_message "google.cloud.lifesciences.v2beta.WorkerAssignedEvent" do
|
152
|
-
optional :zone, :string, 1
|
153
|
-
optional :instance, :string, 2
|
154
|
-
optional :machine_type, :string, 3
|
155
|
-
end
|
156
|
-
add_message "google.cloud.lifesciences.v2beta.WorkerReleasedEvent" do
|
157
|
-
optional :zone, :string, 1
|
158
|
-
optional :instance, :string, 2
|
159
|
-
end
|
160
|
-
add_message "google.cloud.lifesciences.v2beta.PullStartedEvent" do
|
161
|
-
optional :image_uri, :string, 1
|
162
|
-
end
|
163
|
-
add_message "google.cloud.lifesciences.v2beta.PullStoppedEvent" do
|
164
|
-
optional :image_uri, :string, 1
|
165
|
-
end
|
166
|
-
add_message "google.cloud.lifesciences.v2beta.ContainerStartedEvent" do
|
167
|
-
optional :action_id, :int32, 1
|
168
|
-
map :port_mappings, :int32, :int32, 2
|
169
|
-
optional :ip_address, :string, 3
|
170
|
-
end
|
171
|
-
add_message "google.cloud.lifesciences.v2beta.ContainerStoppedEvent" do
|
172
|
-
optional :action_id, :int32, 1
|
173
|
-
optional :exit_status, :int32, 2
|
174
|
-
optional :stderr, :string, 3
|
175
|
-
end
|
176
|
-
add_message "google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent" do
|
177
|
-
optional :action_id, :int32, 1
|
178
|
-
optional :exit_status, :int32, 2
|
179
|
-
end
|
180
|
-
add_message "google.cloud.lifesciences.v2beta.ContainerKilledEvent" do
|
181
|
-
optional :action_id, :int32, 1
|
182
|
-
end
|
183
|
-
add_message "google.cloud.lifesciences.v2beta.FailedEvent" do
|
184
|
-
optional :code, :enum, 1, "google.rpc.Code"
|
185
|
-
optional :cause, :string, 2
|
15
|
+
|
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\x82\xd3\xe4\x93\x02:\"5/v2beta/{parent=projects/*/locations/*}/pipelines:run:\x01*\xca\x41\x1f\n\x13RunPipelineResponse\x12\x08Metadata\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
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
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}"
|
186
38
|
end
|
187
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."
|
188
42
|
end
|
189
43
|
|
190
44
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -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]
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 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: 0.
|
19
|
+
version: 0.19.1
|
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: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|