google-apis-workspaceevents_v1 0.18.0 → 0.19.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.
@@ -22,48 +22,463 @@ module Google
22
22
  module Apis
23
23
  module WorkspaceeventsV1
24
24
 
25
+ class ApiKeySecurityScheme
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AgentCapabilities
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AgentCard
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AgentCardSignature
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AgentExtension
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AgentInterface
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AgentProvider
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AgentSkill
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Artifact
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AuthenticationInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AuthorizationCodeOAuthFlow
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CancelTaskRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ClientCredentialsOAuthFlow
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DataPart
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Empty
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class FilePart
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class HttpAuthSecurityScheme
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ImplicitOAuthFlow
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
25
133
  class ListSubscriptionsResponse
26
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
135
 
28
136
  include Google::Apis::Core::JsonObjectSupport
29
137
  end
30
138
 
139
+ class ListTaskPushNotificationConfigResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Message
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class MutualTlsSecurityScheme
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
31
157
  class NotificationEndpoint
32
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
159
 
34
160
  include Google::Apis::Core::JsonObjectSupport
35
161
  end
36
162
 
163
+ class OAuth2SecurityScheme
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class OAuthFlows
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class OpenIdConnectSecurityScheme
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
37
181
  class Operation
38
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
183
 
40
184
  include Google::Apis::Core::JsonObjectSupport
41
185
  end
42
186
 
187
+ class Part
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class PasswordOAuthFlow
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
43
199
  class PayloadOptions
44
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
201
 
46
202
  include Google::Apis::Core::JsonObjectSupport
47
203
  end
48
204
 
205
+ class PushNotificationConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
49
211
  class ReactivateSubscriptionRequest
50
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
213
 
52
214
  include Google::Apis::Core::JsonObjectSupport
53
215
  end
54
216
 
217
+ class Security
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class SecurityScheme
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class SendMessageConfiguration
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class SendMessageRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
55
241
  class Status
56
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
243
 
58
244
  include Google::Apis::Core::JsonObjectSupport
59
245
  end
60
246
 
247
+ class StreamResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class StringList
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
61
259
  class Subscription
62
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
261
 
64
262
  include Google::Apis::Core::JsonObjectSupport
65
263
  end
66
264
 
265
+ class Task
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class TaskArtifactUpdateEvent
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class TaskPushNotificationConfig
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class TaskStatus
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class TaskStatusUpdateEvent
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ApiKeySecurityScheme
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :description, as: 'description'
299
+ property :location, as: 'location'
300
+ property :name, as: 'name'
301
+ end
302
+ end
303
+
304
+ class AgentCapabilities
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ collection :extensions, as: 'extensions', class: Google::Apis::WorkspaceeventsV1::AgentExtension, decorator: Google::Apis::WorkspaceeventsV1::AgentExtension::Representation
308
+
309
+ property :push_notifications, as: 'pushNotifications'
310
+ property :streaming, as: 'streaming'
311
+ end
312
+ end
313
+
314
+ class AgentCard
315
+ # @private
316
+ class Representation < Google::Apis::Core::JsonRepresentation
317
+ collection :additional_interfaces, as: 'additionalInterfaces', class: Google::Apis::WorkspaceeventsV1::AgentInterface, decorator: Google::Apis::WorkspaceeventsV1::AgentInterface::Representation
318
+
319
+ property :capabilities, as: 'capabilities', class: Google::Apis::WorkspaceeventsV1::AgentCapabilities, decorator: Google::Apis::WorkspaceeventsV1::AgentCapabilities::Representation
320
+
321
+ collection :default_input_modes, as: 'defaultInputModes'
322
+ collection :default_output_modes, as: 'defaultOutputModes'
323
+ property :description, as: 'description'
324
+ property :documentation_url, as: 'documentationUrl'
325
+ property :icon_url, as: 'iconUrl'
326
+ property :name, as: 'name'
327
+ property :preferred_transport, as: 'preferredTransport'
328
+ property :protocol_version, as: 'protocolVersion'
329
+ property :provider, as: 'provider', class: Google::Apis::WorkspaceeventsV1::AgentProvider, decorator: Google::Apis::WorkspaceeventsV1::AgentProvider::Representation
330
+
331
+ collection :security, as: 'security', class: Google::Apis::WorkspaceeventsV1::Security, decorator: Google::Apis::WorkspaceeventsV1::Security::Representation
332
+
333
+ hash :security_schemes, as: 'securitySchemes', class: Google::Apis::WorkspaceeventsV1::SecurityScheme, decorator: Google::Apis::WorkspaceeventsV1::SecurityScheme::Representation
334
+
335
+ collection :signatures, as: 'signatures', class: Google::Apis::WorkspaceeventsV1::AgentCardSignature, decorator: Google::Apis::WorkspaceeventsV1::AgentCardSignature::Representation
336
+
337
+ collection :skills, as: 'skills', class: Google::Apis::WorkspaceeventsV1::AgentSkill, decorator: Google::Apis::WorkspaceeventsV1::AgentSkill::Representation
338
+
339
+ property :supports_authenticated_extended_card, as: 'supportsAuthenticatedExtendedCard'
340
+ property :url, as: 'url'
341
+ property :version, as: 'version'
342
+ end
343
+ end
344
+
345
+ class AgentCardSignature
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ hash :header, as: 'header'
349
+ property :protected, as: 'protected'
350
+ property :signature, as: 'signature'
351
+ end
352
+ end
353
+
354
+ class AgentExtension
355
+ # @private
356
+ class Representation < Google::Apis::Core::JsonRepresentation
357
+ property :description, as: 'description'
358
+ hash :params, as: 'params'
359
+ property :required, as: 'required'
360
+ property :uri, as: 'uri'
361
+ end
362
+ end
363
+
364
+ class AgentInterface
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :transport, as: 'transport'
368
+ property :url, as: 'url'
369
+ end
370
+ end
371
+
372
+ class AgentProvider
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ property :organization, as: 'organization'
376
+ property :url, as: 'url'
377
+ end
378
+ end
379
+
380
+ class AgentSkill
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ property :description, as: 'description'
384
+ collection :examples, as: 'examples'
385
+ property :id, as: 'id'
386
+ collection :input_modes, as: 'inputModes'
387
+ property :name, as: 'name'
388
+ collection :output_modes, as: 'outputModes'
389
+ collection :security, as: 'security', class: Google::Apis::WorkspaceeventsV1::Security, decorator: Google::Apis::WorkspaceeventsV1::Security::Representation
390
+
391
+ collection :tags, as: 'tags'
392
+ end
393
+ end
394
+
395
+ class Artifact
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :artifact_id, as: 'artifactId'
399
+ property :description, as: 'description'
400
+ collection :extensions, as: 'extensions'
401
+ hash :metadata, as: 'metadata'
402
+ property :name, as: 'name'
403
+ collection :parts, as: 'parts', class: Google::Apis::WorkspaceeventsV1::Part, decorator: Google::Apis::WorkspaceeventsV1::Part::Representation
404
+
405
+ end
406
+ end
407
+
408
+ class AuthenticationInfo
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
411
+ property :credentials, as: 'credentials'
412
+ collection :schemes, as: 'schemes'
413
+ end
414
+ end
415
+
416
+ class AuthorizationCodeOAuthFlow
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ property :authorization_url, as: 'authorizationUrl'
420
+ property :refresh_url, as: 'refreshUrl'
421
+ hash :scopes, as: 'scopes'
422
+ property :token_url, as: 'tokenUrl'
423
+ end
424
+ end
425
+
426
+ class CancelTaskRequest
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ end
430
+ end
431
+
432
+ class ClientCredentialsOAuthFlow
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :refresh_url, as: 'refreshUrl'
436
+ hash :scopes, as: 'scopes'
437
+ property :token_url, as: 'tokenUrl'
438
+ end
439
+ end
440
+
441
+ class DataPart
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ hash :data, as: 'data'
445
+ end
446
+ end
447
+
448
+ class Empty
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ end
452
+ end
453
+
454
+ class FilePart
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :file_with_bytes, :base64 => true, as: 'fileWithBytes'
458
+ property :file_with_uri, as: 'fileWithUri'
459
+ property :mime_type, as: 'mimeType'
460
+ property :name, as: 'name'
461
+ end
462
+ end
463
+
464
+ class HttpAuthSecurityScheme
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ property :bearer_format, as: 'bearerFormat'
468
+ property :description, as: 'description'
469
+ property :scheme, as: 'scheme'
470
+ end
471
+ end
472
+
473
+ class ImplicitOAuthFlow
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :authorization_url, as: 'authorizationUrl'
477
+ property :refresh_url, as: 'refreshUrl'
478
+ hash :scopes, as: 'scopes'
479
+ end
480
+ end
481
+
67
482
  class ListSubscriptionsResponse
68
483
  # @private
69
484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -73,6 +488,36 @@ module Google
73
488
  end
74
489
  end
75
490
 
491
+ class ListTaskPushNotificationConfigResponse
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ collection :configs, as: 'configs', class: Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig, decorator: Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig::Representation
495
+
496
+ property :next_page_token, as: 'nextPageToken'
497
+ end
498
+ end
499
+
500
+ class Message
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ collection :content, as: 'content', class: Google::Apis::WorkspaceeventsV1::Part, decorator: Google::Apis::WorkspaceeventsV1::Part::Representation
504
+
505
+ property :context_id, as: 'contextId'
506
+ collection :extensions, as: 'extensions'
507
+ property :message_id, as: 'messageId'
508
+ hash :metadata, as: 'metadata'
509
+ property :role, as: 'role'
510
+ property :task_id, as: 'taskId'
511
+ end
512
+ end
513
+
514
+ class MutualTlsSecurityScheme
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :description, as: 'description'
518
+ end
519
+ end
520
+
76
521
  class NotificationEndpoint
77
522
  # @private
78
523
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -80,6 +525,38 @@ module Google
80
525
  end
81
526
  end
82
527
 
528
+ class OAuth2SecurityScheme
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :description, as: 'description'
532
+ property :flows, as: 'flows', class: Google::Apis::WorkspaceeventsV1::OAuthFlows, decorator: Google::Apis::WorkspaceeventsV1::OAuthFlows::Representation
533
+
534
+ property :oauth2_metadata_url, as: 'oauth2MetadataUrl'
535
+ end
536
+ end
537
+
538
+ class OAuthFlows
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :authorization_code, as: 'authorizationCode', class: Google::Apis::WorkspaceeventsV1::AuthorizationCodeOAuthFlow, decorator: Google::Apis::WorkspaceeventsV1::AuthorizationCodeOAuthFlow::Representation
542
+
543
+ property :client_credentials, as: 'clientCredentials', class: Google::Apis::WorkspaceeventsV1::ClientCredentialsOAuthFlow, decorator: Google::Apis::WorkspaceeventsV1::ClientCredentialsOAuthFlow::Representation
544
+
545
+ property :implicit, as: 'implicit', class: Google::Apis::WorkspaceeventsV1::ImplicitOAuthFlow, decorator: Google::Apis::WorkspaceeventsV1::ImplicitOAuthFlow::Representation
546
+
547
+ property :password, as: 'password', class: Google::Apis::WorkspaceeventsV1::PasswordOAuthFlow, decorator: Google::Apis::WorkspaceeventsV1::PasswordOAuthFlow::Representation
548
+
549
+ end
550
+ end
551
+
552
+ class OpenIdConnectSecurityScheme
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :description, as: 'description'
556
+ property :open_id_connect_url, as: 'openIdConnectUrl'
557
+ end
558
+ end
559
+
83
560
  class Operation
84
561
  # @private
85
562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -92,6 +569,27 @@ module Google
92
569
  end
93
570
  end
94
571
 
572
+ class Part
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :data, as: 'data', class: Google::Apis::WorkspaceeventsV1::DataPart, decorator: Google::Apis::WorkspaceeventsV1::DataPart::Representation
576
+
577
+ property :file, as: 'file', class: Google::Apis::WorkspaceeventsV1::FilePart, decorator: Google::Apis::WorkspaceeventsV1::FilePart::Representation
578
+
579
+ hash :metadata, as: 'metadata'
580
+ property :text, as: 'text'
581
+ end
582
+ end
583
+
584
+ class PasswordOAuthFlow
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :refresh_url, as: 'refreshUrl'
588
+ hash :scopes, as: 'scopes'
589
+ property :token_url, as: 'tokenUrl'
590
+ end
591
+ end
592
+
95
593
  class PayloadOptions
96
594
  # @private
97
595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -100,12 +598,69 @@ module Google
100
598
  end
101
599
  end
102
600
 
601
+ class PushNotificationConfig
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :authentication, as: 'authentication', class: Google::Apis::WorkspaceeventsV1::AuthenticationInfo, decorator: Google::Apis::WorkspaceeventsV1::AuthenticationInfo::Representation
605
+
606
+ property :id, as: 'id'
607
+ property :token, as: 'token'
608
+ property :url, as: 'url'
609
+ end
610
+ end
611
+
103
612
  class ReactivateSubscriptionRequest
104
613
  # @private
105
614
  class Representation < Google::Apis::Core::JsonRepresentation
106
615
  end
107
616
  end
108
617
 
618
+ class Security
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ hash :schemes, as: 'schemes', class: Google::Apis::WorkspaceeventsV1::StringList, decorator: Google::Apis::WorkspaceeventsV1::StringList::Representation
622
+
623
+ end
624
+ end
625
+
626
+ class SecurityScheme
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :api_key_security_scheme, as: 'apiKeySecurityScheme', class: Google::Apis::WorkspaceeventsV1::ApiKeySecurityScheme, decorator: Google::Apis::WorkspaceeventsV1::ApiKeySecurityScheme::Representation
630
+
631
+ property :http_auth_security_scheme, as: 'httpAuthSecurityScheme', class: Google::Apis::WorkspaceeventsV1::HttpAuthSecurityScheme, decorator: Google::Apis::WorkspaceeventsV1::HttpAuthSecurityScheme::Representation
632
+
633
+ property :mtls_security_scheme, as: 'mtlsSecurityScheme', class: Google::Apis::WorkspaceeventsV1::MutualTlsSecurityScheme, decorator: Google::Apis::WorkspaceeventsV1::MutualTlsSecurityScheme::Representation
634
+
635
+ property :oauth2_security_scheme, as: 'oauth2SecurityScheme', class: Google::Apis::WorkspaceeventsV1::OAuth2SecurityScheme, decorator: Google::Apis::WorkspaceeventsV1::OAuth2SecurityScheme::Representation
636
+
637
+ property :open_id_connect_security_scheme, as: 'openIdConnectSecurityScheme', class: Google::Apis::WorkspaceeventsV1::OpenIdConnectSecurityScheme, decorator: Google::Apis::WorkspaceeventsV1::OpenIdConnectSecurityScheme::Representation
638
+
639
+ end
640
+ end
641
+
642
+ class SendMessageConfiguration
643
+ # @private
644
+ class Representation < Google::Apis::Core::JsonRepresentation
645
+ collection :accepted_output_modes, as: 'acceptedOutputModes'
646
+ property :blocking, as: 'blocking'
647
+ property :history_length, as: 'historyLength'
648
+ property :push_notification, as: 'pushNotification', class: Google::Apis::WorkspaceeventsV1::PushNotificationConfig, decorator: Google::Apis::WorkspaceeventsV1::PushNotificationConfig::Representation
649
+
650
+ end
651
+ end
652
+
653
+ class SendMessageRequest
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :configuration, as: 'configuration', class: Google::Apis::WorkspaceeventsV1::SendMessageConfiguration, decorator: Google::Apis::WorkspaceeventsV1::SendMessageConfiguration::Representation
657
+
658
+ property :message, as: 'message', class: Google::Apis::WorkspaceeventsV1::Message, decorator: Google::Apis::WorkspaceeventsV1::Message::Representation
659
+
660
+ hash :metadata, as: 'metadata'
661
+ end
662
+ end
663
+
109
664
  class Status
110
665
  # @private
111
666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -115,6 +670,27 @@ module Google
115
670
  end
116
671
  end
117
672
 
673
+ class StreamResponse
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ property :artifact_update, as: 'artifactUpdate', class: Google::Apis::WorkspaceeventsV1::TaskArtifactUpdateEvent, decorator: Google::Apis::WorkspaceeventsV1::TaskArtifactUpdateEvent::Representation
677
+
678
+ property :message, as: 'message', class: Google::Apis::WorkspaceeventsV1::Message, decorator: Google::Apis::WorkspaceeventsV1::Message::Representation
679
+
680
+ property :status_update, as: 'statusUpdate', class: Google::Apis::WorkspaceeventsV1::TaskStatusUpdateEvent, decorator: Google::Apis::WorkspaceeventsV1::TaskStatusUpdateEvent::Representation
681
+
682
+ property :task, as: 'task', class: Google::Apis::WorkspaceeventsV1::Task, decorator: Google::Apis::WorkspaceeventsV1::Task::Representation
683
+
684
+ end
685
+ end
686
+
687
+ class StringList
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ collection :list, as: 'list'
691
+ end
692
+ end
693
+
118
694
  class Subscription
119
695
  # @private
120
696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -137,6 +713,65 @@ module Google
137
713
  property :update_time, as: 'updateTime'
138
714
  end
139
715
  end
716
+
717
+ class Task
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ collection :artifacts, as: 'artifacts', class: Google::Apis::WorkspaceeventsV1::Artifact, decorator: Google::Apis::WorkspaceeventsV1::Artifact::Representation
721
+
722
+ property :context_id, as: 'contextId'
723
+ collection :history, as: 'history', class: Google::Apis::WorkspaceeventsV1::Message, decorator: Google::Apis::WorkspaceeventsV1::Message::Representation
724
+
725
+ property :id, as: 'id'
726
+ hash :metadata, as: 'metadata'
727
+ property :status, as: 'status', class: Google::Apis::WorkspaceeventsV1::TaskStatus, decorator: Google::Apis::WorkspaceeventsV1::TaskStatus::Representation
728
+
729
+ end
730
+ end
731
+
732
+ class TaskArtifactUpdateEvent
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :append, as: 'append'
736
+ property :artifact, as: 'artifact', class: Google::Apis::WorkspaceeventsV1::Artifact, decorator: Google::Apis::WorkspaceeventsV1::Artifact::Representation
737
+
738
+ property :context_id, as: 'contextId'
739
+ property :last_chunk, as: 'lastChunk'
740
+ hash :metadata, as: 'metadata'
741
+ property :task_id, as: 'taskId'
742
+ end
743
+ end
744
+
745
+ class TaskPushNotificationConfig
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ property :name, as: 'name'
749
+ property :push_notification_config, as: 'pushNotificationConfig', class: Google::Apis::WorkspaceeventsV1::PushNotificationConfig, decorator: Google::Apis::WorkspaceeventsV1::PushNotificationConfig::Representation
750
+
751
+ end
752
+ end
753
+
754
+ class TaskStatus
755
+ # @private
756
+ class Representation < Google::Apis::Core::JsonRepresentation
757
+ property :message, as: 'message', class: Google::Apis::WorkspaceeventsV1::Message, decorator: Google::Apis::WorkspaceeventsV1::Message::Representation
758
+
759
+ property :state, as: 'state'
760
+ property :timestamp, as: 'timestamp'
761
+ end
762
+ end
763
+
764
+ class TaskStatusUpdateEvent
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :context_id, as: 'contextId'
768
+ property :final, as: 'final'
769
+ hash :metadata, as: 'metadata'
770
+ property :status, as: 'status', class: Google::Apis::WorkspaceeventsV1::TaskStatus, decorator: Google::Apis::WorkspaceeventsV1::TaskStatus::Representation
771
+
772
+ property :task_id, as: 'taskId'
773
+ end
774
+ end
140
775
  end
141
776
  end
142
777
  end