google-cloud-notebooks-v1 0.5.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/notebooks/v1/diagnostic_config_pb.rb +24 -8
  4. data/lib/google/cloud/notebooks/v1/environment_pb.rb +25 -23
  5. data/lib/google/cloud/notebooks/v1/event_pb.rb +25 -13
  6. data/lib/google/cloud/notebooks/v1/execution_pb.rb +25 -79
  7. data/lib/google/cloud/notebooks/v1/instance_config_pb.rb +24 -5
  8. data/lib/google/cloud/notebooks/v1/instance_pb.rb +26 -146
  9. data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +6 -4
  10. data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +5 -3
  11. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +6 -4
  12. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/operations.rb +9 -7
  13. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb +13 -13
  14. data/lib/google/cloud/notebooks/v1/managed_service_pb.rb +29 -68
  15. data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +6 -4
  16. data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +5 -3
  17. data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +6 -4
  18. data/lib/google/cloud/notebooks/v1/notebook_service/rest/operations.rb +9 -7
  19. data/lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb +34 -34
  20. data/lib/google/cloud/notebooks/v1/runtime_pb.rb +26 -152
  21. data/lib/google/cloud/notebooks/v1/schedule_pb.rb +26 -22
  22. data/lib/google/cloud/notebooks/v1/service_pb.rb +31 -196
  23. data/lib/google/cloud/notebooks/v1/version.rb +1 -1
  24. data/proto_docs/google/api/client.rb +67 -4
  25. data/proto_docs/google/protobuf/any.rb +7 -4
  26. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  27. metadata +4 -4
@@ -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/notebooks/v1/service.proto
3
4
 
@@ -16,204 +17,38 @@ require 'google/cloud/notebooks/v1/schedule_pb'
16
17
  require 'google/longrunning/operations_pb'
17
18
  require 'google/protobuf/timestamp_pb'
18
19
 
19
- Google::Protobuf::DescriptorPool.generated_pool.build do
20
- add_file("google/cloud/notebooks/v1/service.proto", :syntax => :proto3) do
21
- add_message "google.cloud.notebooks.v1.OperationMetadata" do
22
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
23
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
24
- optional :target, :string, 3
25
- optional :verb, :string, 4
26
- optional :status_message, :string, 5
27
- optional :requested_cancellation, :bool, 6
28
- optional :api_version, :string, 7
29
- optional :endpoint, :string, 8
30
- end
31
- add_message "google.cloud.notebooks.v1.ListInstancesRequest" do
32
- optional :parent, :string, 1
33
- optional :page_size, :int32, 2
34
- optional :page_token, :string, 3
35
- end
36
- add_message "google.cloud.notebooks.v1.ListInstancesResponse" do
37
- repeated :instances, :message, 1, "google.cloud.notebooks.v1.Instance"
38
- optional :next_page_token, :string, 2
39
- repeated :unreachable, :string, 3
40
- end
41
- add_message "google.cloud.notebooks.v1.GetInstanceRequest" do
42
- optional :name, :string, 1
43
- end
44
- add_message "google.cloud.notebooks.v1.CreateInstanceRequest" do
45
- optional :parent, :string, 1
46
- optional :instance_id, :string, 2
47
- optional :instance, :message, 3, "google.cloud.notebooks.v1.Instance"
48
- end
49
- add_message "google.cloud.notebooks.v1.RegisterInstanceRequest" do
50
- optional :parent, :string, 1
51
- optional :instance_id, :string, 2
52
- end
53
- add_message "google.cloud.notebooks.v1.SetInstanceAcceleratorRequest" do
54
- optional :name, :string, 1
55
- optional :type, :enum, 2, "google.cloud.notebooks.v1.Instance.AcceleratorType"
56
- optional :core_count, :int64, 3
57
- end
58
- add_message "google.cloud.notebooks.v1.SetInstanceMachineTypeRequest" do
59
- optional :name, :string, 1
60
- optional :machine_type, :string, 2
61
- end
62
- add_message "google.cloud.notebooks.v1.UpdateInstanceConfigRequest" do
63
- optional :name, :string, 1
64
- optional :config, :message, 2, "google.cloud.notebooks.v1.InstanceConfig"
65
- end
66
- add_message "google.cloud.notebooks.v1.SetInstanceLabelsRequest" do
67
- optional :name, :string, 1
68
- map :labels, :string, :string, 2
69
- end
70
- add_message "google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest" do
71
- optional :name, :string, 1
72
- map :items, :string, :string, 2
73
- end
74
- add_message "google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse" do
75
- map :items, :string, :string, 1
76
- end
77
- add_message "google.cloud.notebooks.v1.UpdateShieldedInstanceConfigRequest" do
78
- optional :name, :string, 1
79
- optional :shielded_instance_config, :message, 2, "google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig"
80
- end
81
- add_message "google.cloud.notebooks.v1.DeleteInstanceRequest" do
82
- optional :name, :string, 1
83
- end
84
- add_message "google.cloud.notebooks.v1.StartInstanceRequest" do
85
- optional :name, :string, 1
86
- end
87
- add_message "google.cloud.notebooks.v1.StopInstanceRequest" do
88
- optional :name, :string, 1
89
- end
90
- add_message "google.cloud.notebooks.v1.ResetInstanceRequest" do
91
- optional :name, :string, 1
92
- end
93
- add_message "google.cloud.notebooks.v1.ReportInstanceInfoRequest" do
94
- optional :name, :string, 1
95
- optional :vm_id, :string, 2
96
- map :metadata, :string, :string, 3
97
- end
98
- add_message "google.cloud.notebooks.v1.IsInstanceUpgradeableRequest" do
99
- optional :notebook_instance, :string, 1
100
- optional :type, :enum, 2, "google.cloud.notebooks.v1.UpgradeType"
101
- end
102
- add_message "google.cloud.notebooks.v1.IsInstanceUpgradeableResponse" do
103
- optional :upgradeable, :bool, 1
104
- optional :upgrade_version, :string, 2
105
- optional :upgrade_info, :string, 3
106
- optional :upgrade_image, :string, 4
107
- end
108
- add_message "google.cloud.notebooks.v1.GetInstanceHealthRequest" do
109
- optional :name, :string, 1
110
- end
111
- add_message "google.cloud.notebooks.v1.GetInstanceHealthResponse" do
112
- optional :health_state, :enum, 1, "google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState"
113
- map :health_info, :string, :string, 2
114
- end
115
- add_enum "google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState" do
116
- value :HEALTH_STATE_UNSPECIFIED, 0
117
- value :HEALTHY, 1
118
- value :UNHEALTHY, 2
119
- value :AGENT_NOT_INSTALLED, 3
120
- value :AGENT_NOT_RUNNING, 4
121
- end
122
- add_message "google.cloud.notebooks.v1.UpgradeInstanceRequest" do
123
- optional :name, :string, 1
124
- optional :type, :enum, 2, "google.cloud.notebooks.v1.UpgradeType"
125
- end
126
- add_message "google.cloud.notebooks.v1.RollbackInstanceRequest" do
127
- optional :name, :string, 1
128
- optional :target_snapshot, :string, 2
129
- end
130
- add_message "google.cloud.notebooks.v1.UpgradeInstanceInternalRequest" do
131
- optional :name, :string, 1
132
- optional :vm_id, :string, 2
133
- optional :type, :enum, 3, "google.cloud.notebooks.v1.UpgradeType"
134
- end
135
- add_message "google.cloud.notebooks.v1.ListEnvironmentsRequest" do
136
- optional :parent, :string, 1
137
- optional :page_size, :int32, 2
138
- optional :page_token, :string, 3
139
- end
140
- add_message "google.cloud.notebooks.v1.DiagnoseInstanceRequest" do
141
- optional :name, :string, 1
142
- optional :diagnostic_config, :message, 2, "google.cloud.notebooks.v1.DiagnosticConfig"
143
- end
144
- add_message "google.cloud.notebooks.v1.ListEnvironmentsResponse" do
145
- repeated :environments, :message, 1, "google.cloud.notebooks.v1.Environment"
146
- optional :next_page_token, :string, 2
147
- repeated :unreachable, :string, 3
148
- end
149
- add_message "google.cloud.notebooks.v1.GetEnvironmentRequest" do
150
- optional :name, :string, 1
151
- end
152
- add_message "google.cloud.notebooks.v1.CreateEnvironmentRequest" do
153
- optional :parent, :string, 1
154
- optional :environment_id, :string, 2
155
- optional :environment, :message, 3, "google.cloud.notebooks.v1.Environment"
156
- end
157
- add_message "google.cloud.notebooks.v1.DeleteEnvironmentRequest" do
158
- optional :name, :string, 1
159
- end
160
- add_message "google.cloud.notebooks.v1.ListSchedulesRequest" do
161
- optional :parent, :string, 1
162
- optional :page_size, :int32, 2
163
- optional :page_token, :string, 3
164
- optional :filter, :string, 4
165
- optional :order_by, :string, 5
166
- end
167
- add_message "google.cloud.notebooks.v1.ListSchedulesResponse" do
168
- repeated :schedules, :message, 1, "google.cloud.notebooks.v1.Schedule"
169
- optional :next_page_token, :string, 2
170
- repeated :unreachable, :string, 3
171
- end
172
- add_message "google.cloud.notebooks.v1.GetScheduleRequest" do
173
- optional :name, :string, 1
174
- end
175
- add_message "google.cloud.notebooks.v1.DeleteScheduleRequest" do
176
- optional :name, :string, 1
177
- end
178
- add_message "google.cloud.notebooks.v1.CreateScheduleRequest" do
179
- optional :parent, :string, 1
180
- optional :schedule_id, :string, 2
181
- optional :schedule, :message, 3, "google.cloud.notebooks.v1.Schedule"
182
- end
183
- add_message "google.cloud.notebooks.v1.TriggerScheduleRequest" do
184
- optional :name, :string, 1
185
- end
186
- add_message "google.cloud.notebooks.v1.ListExecutionsRequest" do
187
- optional :parent, :string, 1
188
- optional :page_size, :int32, 2
189
- optional :page_token, :string, 3
190
- optional :filter, :string, 4
191
- optional :order_by, :string, 5
192
- end
193
- add_message "google.cloud.notebooks.v1.ListExecutionsResponse" do
194
- repeated :executions, :message, 1, "google.cloud.notebooks.v1.Execution"
195
- optional :next_page_token, :string, 2
196
- repeated :unreachable, :string, 3
197
- end
198
- add_message "google.cloud.notebooks.v1.GetExecutionRequest" do
199
- optional :name, :string, 1
200
- end
201
- add_message "google.cloud.notebooks.v1.DeleteExecutionRequest" do
202
- optional :name, :string, 1
203
- end
204
- add_message "google.cloud.notebooks.v1.CreateExecutionRequest" do
205
- optional :parent, :string, 1
206
- optional :execution_id, :string, 2
207
- optional :execution, :message, 3, "google.cloud.notebooks.v1.Execution"
208
- end
209
- add_enum "google.cloud.notebooks.v1.UpgradeType" do
210
- value :UPGRADE_TYPE_UNSPECIFIED, 0
211
- value :UPGRADE_FRAMEWORK, 1
212
- value :UPGRADE_OS, 2
213
- value :UPGRADE_CUDA, 3
214
- value :UPGRADE_ALL, 4
20
+
21
+ descriptor_data = "\n\'google/cloud/notebooks/v1/service.proto\x12\x19google.cloud.notebooks.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/notebooks/v1/diagnostic_config.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a)google/cloud/notebooks/v1/execution.proto\x1a(google/cloud/notebooks/v1/instance.proto\x1a/google/cloud/notebooks/v1/instance_config.proto\x1a(google/cloud/notebooks/v1/schedule.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x08 \x01(\t\"R\n\x14ListInstancesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x15ListInstancesResponse\x12\x36\n\tinstances\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\'\n\x12GetInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x82\x01\n\x15\x43reateInstanceRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08instance\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v1.InstanceB\x03\xe0\x41\x02\"H\n\x17RegisterInstanceRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x93\x01\n\x1dSetInstanceAcceleratorRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x04type\x18\x02 \x01(\x0e\x32\x33.google.cloud.notebooks.v1.Instance.AcceleratorTypeB\x03\xe0\x41\x02\x12\x17\n\ncore_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\"M\n\x1dSetInstanceMachineTypeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cmachine_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\"k\n\x1bUpdateInstanceConfigRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32).google.cloud.notebooks.v1.InstanceConfig\"\xad\x01\n\x18SetInstanceLabelsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x06labels\x18\x02 \x03(\x0b\x32?.google.cloud.notebooks.v1.SetInstanceLabelsRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x01\n\"UpdateInstanceMetadataItemsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x05items\x18\x02 \x03(\x0b\x32H.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest.ItemsEntry\x1a,\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xad\x01\n#UpdateInstanceMetadataItemsResponse\x12X\n\x05items\x18\x01 \x03(\x0b\x32I.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse.ItemsEntry\x1a,\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x96\x01\n#UpdateShieldedInstanceConfigRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x18shielded_instance_config\x18\x02 \x01(\x0b\x32:.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig\"*\n\x15\x44\x65leteInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\")\n\x14StartInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x13StopInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\")\n\x14ResetInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xc9\x01\n\x19ReportInstanceInfoRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05vm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x08metadata\x18\x03 \x03(\x0b\x32\x42.google.cloud.notebooks.v1.ReportInstanceInfoRequest.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x1cIsInstanceUpgradeableRequest\x12\x1e\n\x11notebook_instance\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x04type\x18\x02 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x03\xe0\x41\x01\"z\n\x1dIsInstanceUpgradeableResponse\x12\x13\n\x0bupgradeable\x18\x01 \x01(\x08\x12\x17\n\x0fupgrade_version\x18\x02 \x01(\t\x12\x14\n\x0cupgrade_info\x18\x03 \x01(\t\x12\x15\n\rupgrade_image\x18\x04 \x01(\t\"S\n\x18GetInstanceHealthRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\"\x84\x03\n\x19GetInstanceHealthResponse\x12[\n\x0chealth_state\x18\x01 \x01(\x0e\x32@.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthStateB\x03\xe0\x41\x03\x12^\n\x0bhealth_info\x18\x02 \x03(\x0b\x32\x44.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthInfoEntryB\x03\xe0\x41\x03\x1a\x31\n\x0fHealthInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x0bHealthState\x12\x1c\n\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x17\n\x13\x41GENT_NOT_INSTALLED\x10\x03\x12\x15\n\x11\x41GENT_NOT_RUNNING\x10\x04\"f\n\x16UpgradeInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x04type\x18\x02 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x03\xe0\x41\x01\"J\n\x17RollbackInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0ftarget_snapshot\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x82\x01\n\x1eUpgradeInstanceInternalRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05vm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x04type\x18\x03 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x03\xe0\x41\x01\"U\n\x17ListEnvironmentsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x9f\x01\n\x17\x44iagnoseInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\x12K\n\x11\x64iagnostic_config\x18\x02 \x01(\x0b\x32+.google.cloud.notebooks.v1.DiagnosticConfigB\x03\xe0\x41\x02\"\x86\x01\n\x18ListEnvironmentsResponse\x12<\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32&.google.cloud.notebooks.v1.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"*\n\x15GetEnvironmentRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x8e\x01\n\x18\x43reateEnvironmentRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x65nvironment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0b\x65nvironment\x18\x03 \x01(\x0b\x32&.google.cloud.notebooks.v1.EnvironmentB\x03\xe0\x41\x02\"-\n\x18\x44\x65leteEnvironmentRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\x14ListSchedulesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x15ListSchedulesResponse\x12\x36\n\tschedules\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v1.Schedule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x12GetScheduleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"P\n\x15\x44\x65leteScheduleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"\xa8\x01\n\x15\x43reateScheduleRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\x12\x18\n\x0bschedule_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08schedule\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v1.ScheduleB\x03\xe0\x41\x02\"Q\n\x16TriggerScheduleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"\x9c\x01\n\x15ListExecutionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x16ListExecutionsResponse\x12\x38\n\nexecutions\x18\x01 \x03(\x0b\x32$.google.cloud.notebooks.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"O\n\x13GetExecutionRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\"R\n\x16\x44\x65leteExecutionRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\"\xad\x01\n\x16\x43reateExecutionRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\x12\x19\n\x0c\x65xecution_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\texecution\x18\x03 \x01(\x0b\x32$.google.cloud.notebooks.v1.ExecutionB\x03\xe0\x41\x02*u\n\x0bUpgradeType\x12\x1c\n\x18UPGRADE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11UPGRADE_FRAMEWORK\x10\x01\x12\x0e\n\nUPGRADE_OS\x10\x02\x12\x10\n\x0cUPGRADE_CUDA\x10\x03\x12\x0f\n\x0bUPGRADE_ALL\x10\x04\x32\xba\x37\n\x0fNotebookService\x12\xb2\x01\n\rListInstances\x12/.google.cloud.notebooks.v1.ListInstancesRequest\x1a\x30.google.cloud.notebooks.v1.ListInstancesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.notebooks.v1.GetInstanceRequest\x1a#.google.cloud.notebooks.v1.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\xe0\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.notebooks.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xc8\x01\n\x10RegisterInstance\x12\x32.google.cloud.notebooks.v1.RegisterInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\x82\xd3\xe4\x93\x02;\"6/v1/{parent=projects/*/locations/*}/instances:register:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xda\x01\n\x16SetInstanceAccelerator\x12\x38.google.cloud.notebooks.v1.SetInstanceAcceleratorRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x41\x32</v1/{name=projects/*/locations/*/instances/*}:setAccelerator:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xda\x01\n\x16SetInstanceMachineType\x12\x38.google.cloud.notebooks.v1.SetInstanceMachineTypeRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x41\x32</v1/{name=projects/*/locations/*/instances/*}:setMachineType:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd4\x01\n\x14UpdateInstanceConfig\x12\x36.google.cloud.notebooks.v1.UpdateInstanceConfigRequest\x1a\x1d.google.longrunning.Operation\"e\x82\xd3\xe4\x93\x02?2:/v1/{name=projects/*/locations/*/instances/*}:updateConfig:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xf4\x01\n\x1cUpdateShieldedInstanceConfig\x12>.google.cloud.notebooks.v1.UpdateShieldedInstanceConfigRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02O2J/v1/{name=projects/*/locations/*/instances/*}:updateShieldedInstanceConfig:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xcb\x01\n\x11SetInstanceLabels\x12\x33.google.cloud.notebooks.v1.SetInstanceLabelsRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02<27/v1/{name=projects/*/locations/*/instances/*}:setLabels:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xea\x01\n\x1bUpdateInstanceMetadataItems\x12=.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest\x1a>.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse\"L\x82\xd3\xe4\x93\x02\x46\x32\x41/v1/{name=projects/*/locations/*/instances/*}:updateMetadataItems:\x01*\x12\xcc\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.notebooks.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xbf\x01\n\rStartInstance\x12/.google.cloud.notebooks.v1.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/instances/*}:start:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xbc\x01\n\x0cStopInstance\x12..google.cloud.notebooks.v1.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"]\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/instances/*}:stop:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xbf\x01\n\rResetInstance\x12/.google.cloud.notebooks.v1.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/instances/*}:reset:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xca\x01\n\x12ReportInstanceInfo\x12\x34.google.cloud.notebooks.v1.ReportInstanceInfoRequest\x1a\x1d.google.longrunning.Operation\"_\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/instances/*}:report:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdc\x01\n\x15IsInstanceUpgradeable\x12\x37.google.cloud.notebooks.v1.IsInstanceUpgradeableRequest\x1a\x38.google.cloud.notebooks.v1.IsInstanceUpgradeableResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable\x12\xce\x01\n\x11GetInstanceHealth\x12\x33.google.cloud.notebooks.v1.GetInstanceHealthRequest\x1a\x34.google.cloud.notebooks.v1.GetInstanceHealthResponse\"N\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/instances/*}:getInstanceHealth\xda\x41\x04name\x12\xc5\x01\n\x0fUpgradeInstance\x12\x31.google.cloud.notebooks.v1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"`\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xc8\x01\n\x10RollbackInstance\x12\x32.google.cloud.notebooks.v1.RollbackInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/instances/*}:rollback:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe1\x01\n\x10\x44iagnoseInstance\x12\x32.google.cloud.notebooks.v1.DiagnoseInstanceRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/instances/*}:diagnose:\x01*\xda\x41\x16name,diagnostic_config\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdd\x01\n\x17UpgradeInstanceInternal\x12\x39.google.cloud.notebooks.v1.UpgradeInstanceInternalRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/instances/*}:upgradeInternal:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xbe\x01\n\x10ListEnvironments\x12\x32.google.cloud.notebooks.v1.ListEnvironmentsRequest\x1a\x33.google.cloud.notebooks.v1.ListEnvironmentsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\xda\x41\x06parent\x12\xab\x01\n\x0eGetEnvironment\x12\x30.google.cloud.notebooks.v1.GetEnvironmentRequest\x1a&.google.cloud.notebooks.v1.Environment\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\x12\xf6\x01\n\x11\x43reateEnvironment\x12\x33.google.cloud.notebooks.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\xda\x41!parent,environment,environment_id\xca\x41 \n\x0b\x45nvironment\x12\x11OperationMetadata\x12\xd5\x01\n\x11\x44\x65leteEnvironment\x12\x33.google.cloud.notebooks.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb2\x01\n\rListSchedules\x12/.google.cloud.notebooks.v1.ListSchedulesRequest\x1a\x30.google.cloud.notebooks.v1.ListSchedulesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/schedules\xda\x41\x06parent\x12\x9f\x01\n\x0bGetSchedule\x12-.google.cloud.notebooks.v1.GetScheduleRequest\x1a#.google.cloud.notebooks.v1.Schedule\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/schedules/*}\xda\x41\x04name\x12\xcc\x01\n\x0e\x44\x65leteSchedule\x12\x30.google.cloud.notebooks.v1.DeleteScheduleRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/schedules/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe0\x01\n\x0e\x43reateSchedule\x12\x30.google.cloud.notebooks.v1.CreateScheduleRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/schedules:\x08schedule\xda\x41\x1bparent,schedule,schedule_id\xca\x41\x1d\n\x08Schedule\x12\x11OperationMetadata\x12\xc5\x01\n\x0fTriggerSchedule\x12\x31.google.cloud.notebooks.v1.TriggerScheduleRequest\x1a\x1d.google.longrunning.Operation\"`\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/schedules/*}:trigger:\x01*\xca\x41\x1d\n\x08Schedule\x12\x11OperationMetadata\x12\xb6\x01\n\x0eListExecutions\x12\x30.google.cloud.notebooks.v1.ListExecutionsRequest\x1a\x31.google.cloud.notebooks.v1.ListExecutionsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/executions\xda\x41\x06parent\x12\xa3\x01\n\x0cGetExecution\x12..google.cloud.notebooks.v1.GetExecutionRequest\x1a$.google.cloud.notebooks.v1.Execution\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/executions/*}\xda\x41\x04name\x12\xcf\x01\n\x0f\x44\x65leteExecution\x12\x31.google.cloud.notebooks.v1.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/executions/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe8\x01\n\x0f\x43reateExecution\x12\x31.google.cloud.notebooks.v1.CreateExecutionRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/executions:\texecution\xda\x41\x1dparent,execution,execution_id\xca\x41\x1e\n\tExecution\x12\x11OperationMetadata\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc5\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x0eNotebooksProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
22
+
23
+ pool = Google::Protobuf::DescriptorPool.generated_pool
24
+
25
+ begin
26
+ pool.add_serialized_file(descriptor_data)
27
+ rescue TypeError => e
28
+ # Compatibility code: will be removed in the next major version.
29
+ require 'google/protobuf/descriptor_pb'
30
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
31
+ parsed.clear_dependency
32
+ serialized = parsed.class.encode(parsed)
33
+ file = pool.add_serialized_file(serialized)
34
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
35
+ imports = [
36
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
37
+ ["google.cloud.notebooks.v1.Instance", "google/cloud/notebooks/v1/instance.proto"],
38
+ ["google.cloud.notebooks.v1.InstanceConfig", "google/cloud/notebooks/v1/instance_config.proto"],
39
+ ["google.cloud.notebooks.v1.DiagnosticConfig", "google/cloud/notebooks/v1/diagnostic_config.proto"],
40
+ ["google.cloud.notebooks.v1.Environment", "google/cloud/notebooks/v1/environment.proto"],
41
+ ["google.cloud.notebooks.v1.Schedule", "google/cloud/notebooks/v1/schedule.proto"],
42
+ ["google.cloud.notebooks.v1.Execution", "google/cloud/notebooks/v1/execution.proto"],
43
+ ]
44
+ imports.each do |type_name, expected_filename|
45
+ import_file = pool.lookup(type_name).file_descriptor
46
+ if import_file.name != expected_filename
47
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
215
48
  end
216
49
  end
50
+ warn "Each proto file must use a consistent fully-qualified name."
51
+ warn "This will become an error in the next major version."
217
52
  end
218
53
 
219
54
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Notebooks
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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 place that API users can report issues. Example:
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
- # method_behavior:
244
- # - selector: CreateAdDomain
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
- # Example 3: Pack and unpack a message in Python.
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
- # Example 4: Pack and unpack a message in Go
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://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
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-notebooks-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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-03-08 00:00:00.000000000 Z
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.18.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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a