google-apis-cloudsearch_v1 0.47.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -217,6 +217,51 @@ module Google
217
217
  end
218
218
  end
219
219
 
220
+ # Starting state for an individual add-on frame.
221
+ class AddOnFrameStartingState
222
+ include Google::Apis::Core::Hashable
223
+
224
+ # Additional data internal to the add-on that can be used to initialize itself.
225
+ # Corresponds to the JSON property `additionalData`
226
+ # @return [String]
227
+ attr_accessor :additional_data
228
+
229
+ # The uri of the artifact being used for an add-on co-activity.
230
+ # Corresponds to the JSON property `uri`
231
+ # @return [String]
232
+ attr_accessor :uri
233
+
234
+ def initialize(**args)
235
+ update!(**args)
236
+ end
237
+
238
+ # Update properties of this object
239
+ def update!(**args)
240
+ @additional_data = args[:additional_data] if args.key?(:additional_data)
241
+ @uri = args[:uri] if args.key?(:uri)
242
+ end
243
+ end
244
+
245
+ # Starting state properties for add-on co-activity.
246
+ class AddOnStartingState
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # List of starting state frames for the add-on co-activity. Keys for this map
250
+ # are the values of the AddOnFrameType enum.
251
+ # Corresponds to the JSON property `addOnFrameStartingStates`
252
+ # @return [Hash<String,Google::Apis::CloudsearchV1::AddOnFrameStartingState>]
253
+ attr_accessor :add_on_frame_starting_states
254
+
255
+ def initialize(**args)
256
+ update!(**args)
257
+ end
258
+
259
+ # Update properties of this object
260
+ def update!(**args)
261
+ @add_on_frame_starting_states = args[:add_on_frame_starting_states] if args.key?(:add_on_frame_starting_states)
262
+ end
263
+ end
264
+
220
265
  #
221
266
  class AddonComposeUiActionMarkup
222
267
  include Google::Apis::Core::Hashable
@@ -303,7 +348,7 @@ module Google
303
348
 
304
349
  # NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new
305
350
  # fields with potential PII, so they get scrubbed when logging protos for errors.
306
- # NEXT TAG: 31
351
+ # NEXT TAG: 32
307
352
  class Annotation
308
353
  include Google::Apis::Core::Hashable
309
354
 
@@ -325,6 +370,12 @@ module Google
325
370
  # @return [String]
326
371
  attr_accessor :chip_render_type
327
372
 
373
+ # Metadata used to describe search information in a specific component of a chat
374
+ # message, for example an annotation or an attachment.
375
+ # Corresponds to the JSON property `componentSearchInfo`
376
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo]
377
+ attr_accessor :component_search_info
378
+
328
379
  # Annotation metadata app unfurl consent.
329
380
  # Corresponds to the JSON property `consentedAppUnfurlMetadata`
330
381
  # @return [Google::Apis::CloudsearchV1::ConsentedAppUnfurlMetadata]
@@ -358,7 +409,7 @@ module Google
358
409
  # @return [Google::Apis::CloudsearchV1::GroupRetentionSettingsUpdatedMetaData]
359
410
  attr_accessor :group_retention_settings_updated
360
411
 
361
- # Annotation metadata for an GsuiteIntegration artifact.
412
+ # Annotation metadata for a GsuiteIntegration artifact.
362
413
  # Corresponds to the JSON property `gsuiteIntegrationMetadata`
363
414
  # @return [Google::Apis::CloudsearchV1::GsuiteIntegrationMetadata]
364
415
  attr_accessor :gsuite_integration_metadata
@@ -497,6 +548,7 @@ module Google
497
548
  @babel_placeholder_metadata = args[:babel_placeholder_metadata] if args.key?(:babel_placeholder_metadata)
498
549
  @card_capability_metadata = args[:card_capability_metadata] if args.key?(:card_capability_metadata)
499
550
  @chip_render_type = args[:chip_render_type] if args.key?(:chip_render_type)
551
+ @component_search_info = args[:component_search_info] if args.key?(:component_search_info)
500
552
  @consented_app_unfurl_metadata = args[:consented_app_unfurl_metadata] if args.key?(:consented_app_unfurl_metadata)
501
553
  @custom_emoji_metadata = args[:custom_emoji_metadata] if args.key?(:custom_emoji_metadata)
502
554
  @data_loss_prevention_metadata = args[:data_loss_prevention_metadata] if args.key?(:data_loss_prevention_metadata)
@@ -527,6 +579,32 @@ module Google
527
579
  end
528
580
  end
529
581
 
582
+ # Information about the screen annotation session.
583
+ class AnnotationInfo
584
+ include Google::Apis::Core::Hashable
585
+
586
+ # The device resource names of other devices which can annotate the screen.
587
+ # Corresponds to the JSON property `coannotatorDeviceIds`
588
+ # @return [Array<String>]
589
+ attr_accessor :coannotator_device_ids
590
+
591
+ # Whether the annotation is active.
592
+ # Corresponds to the JSON property `isActive`
593
+ # @return [Boolean]
594
+ attr_accessor :is_active
595
+ alias_method :is_active?, :is_active
596
+
597
+ def initialize(**args)
598
+ update!(**args)
599
+ end
600
+
601
+ # Update properties of this object
602
+ def update!(**args)
603
+ @coannotator_device_ids = args[:coannotator_device_ids] if args.key?(:coannotator_device_ids)
604
+ @is_active = args[:is_active] if args.key?(:is_active)
605
+ end
606
+ end
607
+
530
608
  # Identifier of an App.
531
609
  class AppId
532
610
  include Google::Apis::Core::Hashable
@@ -904,6 +982,11 @@ module Google
904
982
  # @return [Google::Apis::CloudsearchV1::DlpScanSummary]
905
983
  attr_accessor :dlp_scan_summary
906
984
 
985
+ # The list of experiments this video is enabled for Next tag: 19
986
+ # Corresponds to the JSON property `experiment`
987
+ # @return [Array<String>]
988
+ attr_accessor :experiment
989
+
907
990
  # Id representing a group that could be a space, a chat, or a direct message
908
991
  # space. Which ID is set here will determine which group
909
992
  # Corresponds to the JSON property `groupId`
@@ -911,7 +994,6 @@ module Google
911
994
  attr_accessor :group_id
912
995
 
913
996
  # If the uploaded file is a video that has been transcoded on the client side
914
- # Next tag: 18
915
997
  # Corresponds to the JSON property `isClientSideTranscodedVideo`
916
998
  # @return [Boolean]
917
999
  attr_accessor :is_client_side_transcoded_video
@@ -971,6 +1053,7 @@ module Google
971
1053
  @content_type = args[:content_type] if args.key?(:content_type)
972
1054
  @dlp_scan_outcome = args[:dlp_scan_outcome] if args.key?(:dlp_scan_outcome)
973
1055
  @dlp_scan_summary = args[:dlp_scan_summary] if args.key?(:dlp_scan_summary)
1056
+ @experiment = args[:experiment] if args.key?(:experiment)
974
1057
  @group_id = args[:group_id] if args.key?(:group_id)
975
1058
  @is_client_side_transcoded_video = args[:is_client_side_transcoded_video] if args.key?(:is_client_side_transcoded_video)
976
1059
  @original_dimension = args[:original_dimension] if args.key?(:original_dimension)
@@ -1770,6 +1853,33 @@ module Google
1770
1853
  end
1771
1854
  end
1772
1855
 
1856
+ # Metadata used to describe search information in a specific component of a chat
1857
+ # message, for example an annotation or an attachment.
1858
+ class AppsDynamiteSharedMessageComponentSearchInfo
1859
+ include Google::Apis::Core::Hashable
1860
+
1861
+ # Whether the whole component matched the search.
1862
+ # Corresponds to the JSON property `matchedSearch`
1863
+ # @return [Boolean]
1864
+ attr_accessor :matched_search
1865
+ alias_method :matched_search?, :matched_search
1866
+
1867
+ # Defines a text with descriptive text segments associated.
1868
+ # Corresponds to the JSON property `titleTextWithDescription`
1869
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription]
1870
+ attr_accessor :title_text_with_description
1871
+
1872
+ def initialize(**args)
1873
+ update!(**args)
1874
+ end
1875
+
1876
+ # Update properties of this object
1877
+ def update!(**args)
1878
+ @matched_search = args[:matched_search] if args.key?(:matched_search)
1879
+ @title_text_with_description = args[:title_text_with_description] if args.key?(:title_text_with_description)
1880
+ end
1881
+ end
1882
+
1773
1883
  # Information that references a Dynamite chat message. This is only used for
1774
1884
  # Activity Feed messages.
1775
1885
  class AppsDynamiteSharedMessageInfo
@@ -1838,6 +1948,29 @@ module Google
1838
1948
  end
1839
1949
  end
1840
1950
 
1951
+ # Metadata used to describe how to render a message in search results page, e.g.,
1952
+ # highlighting and snipetting. In future, we can use this proto to return more
1953
+ # search specific data attached to a message.
1954
+ class AppsDynamiteSharedMessageSearchInfo
1955
+ include Google::Apis::Core::Hashable
1956
+
1957
+ # An example use case: clients can use this field to highlight matched segments
1958
+ # in message text_body defined in http://google3/apps/dynamite/v1/frontend/api/
1959
+ # message.proto;l=104;rcl=513400736.
1960
+ # Corresponds to the JSON property `matchedSegmentsInTextBody`
1961
+ # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription>]
1962
+ attr_accessor :matched_segments_in_text_body
1963
+
1964
+ def initialize(**args)
1965
+ update!(**args)
1966
+ end
1967
+
1968
+ # Update properties of this object
1969
+ def update!(**args)
1970
+ @matched_segments_in_text_body = args[:matched_segments_in_text_body] if args.key?(:matched_segments_in_text_body)
1971
+ end
1972
+ end
1973
+
1841
1974
  # Contains info about the entity that something is, or is owned by.
1842
1975
  class AppsDynamiteSharedOrganizationInfo
1843
1976
  include Google::Apis::Core::Hashable
@@ -2355,6 +2488,81 @@ module Google
2355
2488
  end
2356
2489
  end
2357
2490
 
2491
+ # Defines a segment in a text.
2492
+ class AppsDynamiteSharedTextSegment
2493
+ include Google::Apis::Core::Hashable
2494
+
2495
+ # Length of the segment in the text.
2496
+ # Corresponds to the JSON property `length`
2497
+ # @return [Fixnum]
2498
+ attr_accessor :length
2499
+
2500
+ # Start index (0-indexed and inclusive) of the segment in the text.
2501
+ # Corresponds to the JSON property `startIndex`
2502
+ # @return [Fixnum]
2503
+ attr_accessor :start_index
2504
+
2505
+ def initialize(**args)
2506
+ update!(**args)
2507
+ end
2508
+
2509
+ # Update properties of this object
2510
+ def update!(**args)
2511
+ @length = args[:length] if args.key?(:length)
2512
+ @start_index = args[:start_index] if args.key?(:start_index)
2513
+ end
2514
+ end
2515
+
2516
+ # Defines text segments with description type associated.
2517
+ class AppsDynamiteSharedTextSegmentsWithDescription
2518
+ include Google::Apis::Core::Hashable
2519
+
2520
+ #
2521
+ # Corresponds to the JSON property `descriptionType`
2522
+ # @return [String]
2523
+ attr_accessor :description_type
2524
+
2525
+ #
2526
+ # Corresponds to the JSON property `textSegment`
2527
+ # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegment>]
2528
+ attr_accessor :text_segment
2529
+
2530
+ def initialize(**args)
2531
+ update!(**args)
2532
+ end
2533
+
2534
+ # Update properties of this object
2535
+ def update!(**args)
2536
+ @description_type = args[:description_type] if args.key?(:description_type)
2537
+ @text_segment = args[:text_segment] if args.key?(:text_segment)
2538
+ end
2539
+ end
2540
+
2541
+ # Defines a text with descriptive text segments associated.
2542
+ class AppsDynamiteSharedTextWithDescription
2543
+ include Google::Apis::Core::Hashable
2544
+
2545
+ #
2546
+ # Corresponds to the JSON property `textBody`
2547
+ # @return [String]
2548
+ attr_accessor :text_body
2549
+
2550
+ #
2551
+ # Corresponds to the JSON property `textSegmentsWithDescription`
2552
+ # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription>]
2553
+ attr_accessor :text_segments_with_description
2554
+
2555
+ def initialize(**args)
2556
+ update!(**args)
2557
+ end
2558
+
2559
+ # Update properties of this object
2560
+ def update!(**args)
2561
+ @text_body = args[:text_body] if args.key?(:text_body)
2562
+ @text_segments_with_description = args[:text_segments_with_description] if args.key?(:text_segments_with_description)
2563
+ end
2564
+ end
2565
+
2358
2566
  # User-block relationship
2359
2567
  class AppsDynamiteSharedUserBlockRelationship
2360
2568
  include Google::Apis::Core::Hashable
@@ -2492,7 +2700,8 @@ module Google
2492
2700
  end
2493
2701
  end
2494
2702
 
2495
- # Represents the complete border style applied to widgets.
2703
+ # The style options for the border of a card or widget, including the border
2704
+ # type and color.
2496
2705
  class AppsDynamiteStorageBorderStyle
2497
2706
  include Google::Apis::Core::Hashable
2498
2707
 
@@ -2864,16 +3073,12 @@ module Google
2864
3073
  class AppsDynamiteStorageColumns
2865
3074
  include Google::Apis::Core::Hashable
2866
3075
 
2867
- # Each card supports up to 2 columns.
3076
+ # Each card supports up to 2 columns. If the user's screen width is less than or
3077
+ # equal to 480 pixels, the second column wraps below the first column.
2868
3078
  # Corresponds to the JSON property `columnItems`
2869
3079
  # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteStorageColumnsColumn>]
2870
3080
  attr_accessor :column_items
2871
3081
 
2872
- # Controls how the column resizes based on screen width.
2873
- # Corresponds to the JSON property `wrapStyle`
2874
- # @return [String]
2875
- attr_accessor :wrap_style
2876
-
2877
3082
  def initialize(**args)
2878
3083
  update!(**args)
2879
3084
  end
@@ -2881,7 +3086,6 @@ module Google
2881
3086
  # Update properties of this object
2882
3087
  def update!(**args)
2883
3088
  @column_items = args[:column_items] if args.key?(:column_items)
2884
- @wrap_style = args[:wrap_style] if args.key?(:wrap_style)
2885
3089
  end
2886
3090
  end
2887
3091
 
@@ -3179,7 +3383,8 @@ module Google
3179
3383
  class AppsDynamiteStorageGrid
3180
3384
  include Google::Apis::Core::Hashable
3181
3385
 
3182
- # Represents the complete border style applied to widgets.
3386
+ # The style options for the border of a card or widget, including the border
3387
+ # type and color.
3183
3388
  # Corresponds to the JSON property `borderStyle`
3184
3389
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageBorderStyle]
3185
3390
  attr_accessor :border_style
@@ -3360,7 +3565,8 @@ module Google
3360
3565
  # @return [String]
3361
3566
  attr_accessor :alt_text
3362
3567
 
3363
- # Represents the complete border style applied to widgets.
3568
+ # The style options for the border of a card or widget, including the border
3569
+ # type and color.
3364
3570
  # Corresponds to the JSON property `borderStyle`
3365
3571
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageBorderStyle]
3366
3572
  attr_accessor :border_style
@@ -4480,6 +4686,12 @@ module Google
4480
4686
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteStorageCard]
4481
4687
  attr_accessor :card_add_on_data
4482
4688
 
4689
+ # Metadata used to describe search information in a specific component of a chat
4690
+ # message, for example an annotation or an attachment.
4691
+ # Corresponds to the JSON property `componentSearchInfo`
4692
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo]
4693
+ attr_accessor :component_search_info
4694
+
4483
4695
  # The markup for developers to specify the contents of a contextual AddOn. A
4484
4696
  # contextual AddOn is triggered in context of an email. For that email, there
4485
4697
  # can be N items that are associated with the email (e.g. contacts, sales lead,
@@ -4521,6 +4733,7 @@ module Google
4521
4733
  @app_id = args[:app_id] if args.key?(:app_id)
4522
4734
  @attachment_id = args[:attachment_id] if args.key?(:attachment_id)
4523
4735
  @card_add_on_data = args[:card_add_on_data] if args.key?(:card_add_on_data)
4736
+ @component_search_info = args[:component_search_info] if args.key?(:component_search_info)
4524
4737
  @deprecated_add_on_data = args[:deprecated_add_on_data] if args.key?(:deprecated_add_on_data)
4525
4738
  @slack_data = args[:slack_data] if args.key?(:slack_data)
4526
4739
  @slack_data_image_url_height = args[:slack_data_image_url_height] if args.key?(:slack_data_image_url_height)
@@ -5201,6 +5414,11 @@ module Google
5201
5414
  # @return [Array<String>]
5202
5415
  attr_accessor :available_access_types
5203
5416
 
5417
+ # Available screen annotation tool types.
5418
+ # Corresponds to the JSON property `availableAnnotationToolTypes`
5419
+ # @return [Array<String>]
5420
+ attr_accessor :available_annotation_tool_types
5421
+
5204
5422
  # Output only. The set of reactions that clients are allowed to send and can
5205
5423
  # expect to receive. Note that a device in the conference should have the
5206
5424
  # MAY_SEND_REACTIONS privilege to be able to send reactions.
@@ -5320,6 +5538,7 @@ module Google
5320
5538
  @artifact_owner = args[:artifact_owner] if args.key?(:artifact_owner)
5321
5539
  @attached_documents = args[:attached_documents] if args.key?(:attached_documents)
5322
5540
  @available_access_types = args[:available_access_types] if args.key?(:available_access_types)
5541
+ @available_annotation_tool_types = args[:available_annotation_tool_types] if args.key?(:available_annotation_tool_types)
5323
5542
  @available_reactions = args[:available_reactions] if args.key?(:available_reactions)
5324
5543
  @broadcast_session_info = args[:broadcast_session_info] if args.key?(:broadcast_session_info)
5325
5544
  @calendar_event_id = args[:calendar_event_id] if args.key?(:calendar_event_id)
@@ -5379,6 +5598,12 @@ module Google
5379
5598
  attr_accessor :chat_lock
5380
5599
  alias_method :chat_lock?, :chat_lock
5381
5600
 
5601
+ # Indicates whether the co-activity lock is currently on or off.
5602
+ # Corresponds to the JSON property `coActivityLock`
5603
+ # @return [Boolean]
5604
+ attr_accessor :co_activity_lock
5605
+ alias_method :co_activity_lock?, :co_activity_lock
5606
+
5382
5607
  # Whether Client-side Encryption is enabled for this conference.
5383
5608
  # Corresponds to the JSON property `cseEnabled`
5384
5609
  # @return [Boolean]
@@ -5421,6 +5646,7 @@ module Google
5421
5646
  @attendance_report_enabled = args[:attendance_report_enabled] if args.key?(:attendance_report_enabled)
5422
5647
  @audio_lock = args[:audio_lock] if args.key?(:audio_lock)
5423
5648
  @chat_lock = args[:chat_lock] if args.key?(:chat_lock)
5649
+ @co_activity_lock = args[:co_activity_lock] if args.key?(:co_activity_lock)
5424
5650
  @cse_enabled = args[:cse_enabled] if args.key?(:cse_enabled)
5425
5651
  @moderation_enabled = args[:moderation_enabled] if args.key?(:moderation_enabled)
5426
5652
  @present_lock = args[:present_lock] if args.key?(:present_lock)
@@ -6142,11 +6368,36 @@ module Google
6142
6368
  # @return [String]
6143
6369
  attr_accessor :activity_title
6144
6370
 
6371
+ # The add-on id of the current add-on being used for co-activity.
6372
+ # Corresponds to the JSON property `addOnId`
6373
+ # @return [String]
6374
+ attr_accessor :add_on_id
6375
+
6376
+ # Starting state properties for add-on co-activity.
6377
+ # Corresponds to the JSON property `addOnStartingState`
6378
+ # @return [Google::Apis::CloudsearchV1::AddOnStartingState]
6379
+ attr_accessor :add_on_starting_state
6380
+
6145
6381
  # Identifies the app handling this co-activity.
6146
6382
  # Corresponds to the JSON property `coActivityApp`
6147
6383
  # @return [String]
6148
6384
  attr_accessor :co_activity_app
6149
6385
 
6386
+ # The resource name of the device that initiated the co-activity.
6387
+ # Corresponds to the JSON property `initiatorDeviceId`
6388
+ # @return [String]
6389
+ attr_accessor :initiator_device_id
6390
+
6391
+ # The resource name of the device that is presenting the add-on.
6392
+ # Corresponds to the JSON property `presentationDeviceId`
6393
+ # @return [String]
6394
+ attr_accessor :presentation_device_id
6395
+
6396
+ # The project number of the add-on to determine version.
6397
+ # Corresponds to the JSON property `projectNumber`
6398
+ # @return [Fixnum]
6399
+ attr_accessor :project_number
6400
+
6150
6401
  def initialize(**args)
6151
6402
  update!(**args)
6152
6403
  end
@@ -6154,7 +6405,12 @@ module Google
6154
6405
  # Update properties of this object
6155
6406
  def update!(**args)
6156
6407
  @activity_title = args[:activity_title] if args.key?(:activity_title)
6408
+ @add_on_id = args[:add_on_id] if args.key?(:add_on_id)
6409
+ @add_on_starting_state = args[:add_on_starting_state] if args.key?(:add_on_starting_state)
6157
6410
  @co_activity_app = args[:co_activity_app] if args.key?(:co_activity_app)
6411
+ @initiator_device_id = args[:initiator_device_id] if args.key?(:initiator_device_id)
6412
+ @presentation_device_id = args[:presentation_device_id] if args.key?(:presentation_device_id)
6413
+ @project_number = args[:project_number] if args.key?(:project_number)
6158
6414
  end
6159
6415
  end
6160
6416
 
@@ -6836,6 +7092,12 @@ module Google
6836
7092
  class DataLossPreventionMetadata
6837
7093
  include Google::Apis::Core::Hashable
6838
7094
 
7095
+ # A summary of a DLP scan. This is a combination summary that contains both scan
7096
+ # on message and scan on attachments if any.
7097
+ # Corresponds to the JSON property `dlpMessageScanRecord`
7098
+ # @return [Google::Apis::CloudsearchV1::DlpMessageScanRecord]
7099
+ attr_accessor :dlp_message_scan_record
7100
+
6839
7101
  # A summary of a DLP scan event. This is a summary and should contain the
6840
7102
  # minimum amount of data required to identify and process DLP scans. It is
6841
7103
  # written to Starcast and encoded & returned to the client on attachment upload.
@@ -6855,6 +7117,7 @@ module Google
6855
7117
 
6856
7118
  # Update properties of this object
6857
7119
  def update!(**args)
7120
+ @dlp_message_scan_record = args[:dlp_message_scan_record] if args.key?(:dlp_message_scan_record)
6858
7121
  @dlp_scan_summary = args[:dlp_scan_summary] if args.key?(:dlp_scan_summary)
6859
7122
  @warn_acknowledged = args[:warn_acknowledged] if args.key?(:warn_acknowledged)
6860
7123
  end
@@ -7373,12 +7636,84 @@ module Google
7373
7636
  end
7374
7637
  end
7375
7638
 
7639
+ #
7640
+ class DlpAction
7641
+ include Google::Apis::Core::Hashable
7642
+
7643
+ #
7644
+ # Corresponds to the JSON property `actionType`
7645
+ # @return [String]
7646
+ attr_accessor :action_type
7647
+
7648
+ # The custom error message defined by the customer administrator.
7649
+ # Corresponds to the JSON property `unsafeHtmlMessageBody`
7650
+ # @return [String]
7651
+ attr_accessor :unsafe_html_message_body
7652
+
7653
+ def initialize(**args)
7654
+ update!(**args)
7655
+ end
7656
+
7657
+ # Update properties of this object
7658
+ def update!(**args)
7659
+ @action_type = args[:action_type] if args.key?(:action_type)
7660
+ @unsafe_html_message_body = args[:unsafe_html_message_body] if args.key?(:unsafe_html_message_body)
7661
+ end
7662
+ end
7663
+
7664
+ # A summary of a DLP scan. This is a combination summary that contains both scan
7665
+ # on message and scan on attachments if any.
7666
+ class DlpMessageScanRecord
7667
+ include Google::Apis::Core::Hashable
7668
+
7669
+ # A summary of a DLP scan event. This is a summary and should contain the
7670
+ # minimum amount of data required to identify and process DLP scans. It is
7671
+ # written to Starcast and encoded & returned to the client on attachment upload.
7672
+ # Corresponds to the JSON property `attachmentScanSummary`
7673
+ # @return [Google::Apis::CloudsearchV1::DlpScanSummary]
7674
+ attr_accessor :attachment_scan_summary
7675
+
7676
+ # The applied action.
7677
+ # Corresponds to the JSON property `dlpAction`
7678
+ # @return [Google::Apis::CloudsearchV1::DlpAction]
7679
+ attr_accessor :dlp_action
7680
+
7681
+ # A summary of a DLP scan event. This is a summary and should contain the
7682
+ # minimum amount of data required to identify and process DLP scans. It is
7683
+ # written to Starcast and encoded & returned to the client on attachment upload.
7684
+ # Corresponds to the JSON property `messageScanSummary`
7685
+ # @return [Google::Apis::CloudsearchV1::DlpScanSummary]
7686
+ attr_accessor :message_scan_summary
7687
+
7688
+ # The DLP scan outcome for the message.
7689
+ # Corresponds to the JSON property `scanOutcome`
7690
+ # @return [String]
7691
+ attr_accessor :scan_outcome
7692
+
7693
+ def initialize(**args)
7694
+ update!(**args)
7695
+ end
7696
+
7697
+ # Update properties of this object
7698
+ def update!(**args)
7699
+ @attachment_scan_summary = args[:attachment_scan_summary] if args.key?(:attachment_scan_summary)
7700
+ @dlp_action = args[:dlp_action] if args.key?(:dlp_action)
7701
+ @message_scan_summary = args[:message_scan_summary] if args.key?(:message_scan_summary)
7702
+ @scan_outcome = args[:scan_outcome] if args.key?(:scan_outcome)
7703
+ end
7704
+ end
7705
+
7376
7706
  # A summary of a DLP scan event. This is a summary and should contain the
7377
7707
  # minimum amount of data required to identify and process DLP scans. It is
7378
7708
  # written to Starcast and encoded & returned to the client on attachment upload.
7379
7709
  class DlpScanSummary
7380
7710
  include Google::Apis::Core::Hashable
7381
7711
 
7712
+ #
7713
+ # Corresponds to the JSON property `dlpAction`
7714
+ # @return [Google::Apis::CloudsearchV1::DlpAction]
7715
+ attr_accessor :dlp_action
7716
+
7382
7717
  # The scan ID of the corresponding `@link DlpViolationScanRecord` in the `@link
7383
7718
  # EphemeralDlpScans` Spanner table. This can be used to fetch additional details
7384
7719
  # about the scan, e.g. for audit logging.
@@ -7404,15 +7739,24 @@ module Google
7404
7739
  # @return [String]
7405
7740
  attr_accessor :scan_outcome
7406
7741
 
7742
+ # The event that triggered the scan. This corresponds to the rule trigger
7743
+ # configured in admin console and maps to the different things that can be
7744
+ # scanned.
7745
+ # Corresponds to the JSON property `scanTrigger`
7746
+ # @return [String]
7747
+ attr_accessor :scan_trigger
7748
+
7407
7749
  def initialize(**args)
7408
7750
  update!(**args)
7409
7751
  end
7410
7752
 
7411
7753
  # Update properties of this object
7412
7754
  def update!(**args)
7755
+ @dlp_action = args[:dlp_action] if args.key?(:dlp_action)
7413
7756
  @scan_id = args[:scan_id] if args.key?(:scan_id)
7414
7757
  @scan_not_applicable_for_context = args[:scan_not_applicable_for_context] if args.key?(:scan_not_applicable_for_context)
7415
7758
  @scan_outcome = args[:scan_outcome] if args.key?(:scan_outcome)
7759
+ @scan_trigger = args[:scan_trigger] if args.key?(:scan_trigger)
7416
7760
  end
7417
7761
  end
7418
7762
 
@@ -7974,6 +8318,11 @@ module Google
7974
8318
  # @return [Fixnum]
7975
8319
  attr_accessor :last_read_timestamp_secs
7976
8320
 
8321
+ #
8322
+ # Corresponds to the JSON property `memberCountScore`
8323
+ # @return [Float]
8324
+ attr_accessor :member_count_score
8325
+
7977
8326
  #
7978
8327
  # Corresponds to the JSON property `memberMetadataCount`
7979
8328
  # @return [Float]
@@ -8028,6 +8377,7 @@ module Google
8028
8377
  @joined_spaces_affinity_score = args[:joined_spaces_affinity_score] if args.key?(:joined_spaces_affinity_score)
8029
8378
  @last_message_posted_timestamp_secs = args[:last_message_posted_timestamp_secs] if args.key?(:last_message_posted_timestamp_secs)
8030
8379
  @last_read_timestamp_secs = args[:last_read_timestamp_secs] if args.key?(:last_read_timestamp_secs)
8380
+ @member_count_score = args[:member_count_score] if args.key?(:member_count_score)
8031
8381
  @member_metadata_count = args[:member_metadata_count] if args.key?(:member_metadata_count)
8032
8382
  @message_score = args[:message_score] if args.key?(:message_score)
8033
8383
  @num_auc_contacts = args[:num_auc_contacts] if args.key?(:num_auc_contacts)
@@ -9771,7 +10121,9 @@ module Google
9771
10121
  class GoogleChatV1ContextualAddOnMarkupCardSection
9772
10122
  include Google::Apis::Core::Hashable
9773
10123
 
9774
- # The header of the section, text formatted supported.
10124
+ # The header of the section. Formatted text is supported. For more information
10125
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
10126
+ # text in Google Workspace Add-ons.
9775
10127
  # Corresponds to the JSON property `header`
9776
10128
  # @return [String]
9777
10129
  attr_accessor :header
@@ -9796,7 +10148,7 @@ module Google
9796
10148
  class GoogleChatV1WidgetMarkup
9797
10149
  include Google::Apis::Core::Hashable
9798
10150
 
9799
- # A list of buttons. Buttons is also oneof data and only one of these fields
10151
+ # A list of buttons. Buttons is also `oneof data` and only one of these fields
9800
10152
  # should be set.
9801
10153
  # Corresponds to the JSON property `buttons`
9802
10154
  # @return [Array<Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupButton>]
@@ -9813,7 +10165,9 @@ module Google
9813
10165
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupKeyValue]
9814
10166
  attr_accessor :key_value
9815
10167
 
9816
- # A paragraph of text. Formatted text supported.
10168
+ # A paragraph of text. Formatted text supported. For more information about
10169
+ # formatting text, see Formatting text in Google Chat apps and Formatting text
10170
+ # in Google Workspace Add-ons.
9817
10171
  # Corresponds to the JSON property `textParagraph`
9818
10172
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupTextParagraph]
9819
10173
  attr_accessor :text_paragraph
@@ -9990,7 +10344,9 @@ module Google
9990
10344
  class GoogleChatV1WidgetMarkupKeyValue
9991
10345
  include Google::Apis::Core::Hashable
9992
10346
 
9993
- # The text of the bottom label. Formatted text supported.
10347
+ # The text of the bottom label. Formatted text supported. For more information
10348
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
10349
+ # text in Google Workspace Add-ons.
9994
10350
  # Corresponds to the JSON property `bottomLabel`
9995
10351
  # @return [String]
9996
10352
  attr_accessor :bottom_label
@@ -10000,7 +10356,9 @@ module Google
10000
10356
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupButton]
10001
10357
  attr_accessor :button
10002
10358
 
10003
- # The text of the content. Formatted text supported and always required.
10359
+ # The text of the content. Formatted text supported and always required. For
10360
+ # more information about formatting text, see Formatting text in Google Chat
10361
+ # apps and Formatting text in Google Workspace Add-ons.
10004
10362
  # Corresponds to the JSON property `content`
10005
10363
  # @return [String]
10006
10364
  attr_accessor :content
@@ -10027,7 +10385,9 @@ module Google
10027
10385
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupOnClick]
10028
10386
  attr_accessor :on_click
10029
10387
 
10030
- # The text of the top label. Formatted text supported.
10388
+ # The text of the top label. Formatted text supported. For more information
10389
+ # about formatting text, see Formatting text in Google Chat apps and Formatting
10390
+ # text in Google Workspace Add-ons.
10031
10391
  # Corresponds to the JSON property `topLabel`
10032
10392
  # @return [String]
10033
10393
  attr_accessor :top_label
@@ -10119,7 +10479,9 @@ module Google
10119
10479
  end
10120
10480
  end
10121
10481
 
10122
- # A paragraph of text. Formatted text supported.
10482
+ # A paragraph of text. Formatted text supported. For more information about
10483
+ # formatting text, see Formatting text in Google Chat apps and Formatting text
10484
+ # in Google Workspace Add-ons.
10123
10485
  class GoogleChatV1WidgetMarkupTextParagraph
10124
10486
  include Google::Apis::Core::Hashable
10125
10487
 
@@ -10457,7 +10819,7 @@ module Google
10457
10819
  end
10458
10820
  end
10459
10821
 
10460
- # Annotation metadata for an GsuiteIntegration artifact.
10822
+ # Annotation metadata for a GsuiteIntegration artifact.
10461
10823
  class GsuiteIntegrationMetadata
10462
10824
  include Google::Apis::Core::Hashable
10463
10825
 
@@ -10905,7 +11267,12 @@ module Google
10905
11267
  include Google::Apis::Core::Hashable
10906
11268
 
10907
11269
  # The User account in which the DirEntry was originally created. If name_space==
10908
- # GAIA, then it's the gaia_id of the user this id is referring to.
11270
+ # GAIA, then it's the gaia_id of the user this id is referring to. This field
11271
+ # should really be called the "bucket ID", not the creator ID. In some
11272
+ # circumstances, such as copying a Google Docs file, a user can create an item
11273
+ # in a different user's bucket, so it should not be relied upon for anything
11274
+ # other than bucket location. To look up the requesting user who initially
11275
+ # created item, use the `creator_id` DirEntry field instead.
10909
11276
  # Corresponds to the JSON property `creatorUserId`
10910
11277
  # @return [Fixnum]
10911
11278
  attr_accessor :creator_user_id
@@ -13542,6 +13909,26 @@ module Google
13542
13909
  # @return [String]
13543
13910
  attr_accessor :message_origin
13544
13911
 
13912
+ # Contains reference to another message. It is used in shortcuts which are used
13913
+ # to collect messages from different spaces with a certain common property into
13914
+ # another space. For example, all @mentions of a user are collected into a
13915
+ # mention shortcut space (go/chat-shortcuts-backend-design for more details).
13916
+ # Clients can use this reference to enable navigation to the source message when
13917
+ # the shortcut message is clicked and also to identify a few other details about
13918
+ # the source message. Other fields (like text) from the source message are
13919
+ # copied on to the top-level fields in the Message proto by the server (More
13920
+ # details in go/chat-shortcuts-client-server-design).
13921
+ # Corresponds to the JSON property `messageReference`
13922
+ # @return [Google::Apis::CloudsearchV1::MessageReference]
13923
+ attr_accessor :message_reference
13924
+
13925
+ # Metadata used to describe how to render a message in search results page, e.g.,
13926
+ # highlighting and snipetting. In future, we can use this proto to return more
13927
+ # search specific data attached to a message.
13928
+ # Corresponds to the JSON property `messageSearchInfo`
13929
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageSearchInfo]
13930
+ attr_accessor :message_search_info
13931
+
13545
13932
  # State of the message, indicating whether the message is visible to all members
13546
13933
  # in the group or is only visible to the sender only, or the
13547
13934
  # private_message_viewer if it is set.
@@ -13690,6 +14077,8 @@ module Google
13690
14077
  @local_id = args[:local_id] if args.key?(:local_id)
13691
14078
  @message_integration_payload = args[:message_integration_payload] if args.key?(:message_integration_payload)
13692
14079
  @message_origin = args[:message_origin] if args.key?(:message_origin)
14080
+ @message_reference = args[:message_reference] if args.key?(:message_reference)
14081
+ @message_search_info = args[:message_search_info] if args.key?(:message_search_info)
13693
14082
  @message_state = args[:message_state] if args.key?(:message_state)
13694
14083
  @origin_app_suggestions = args[:origin_app_suggestions] if args.key?(:origin_app_suggestions)
13695
14084
  @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
@@ -13931,6 +14320,33 @@ module Google
13931
14320
  end
13932
14321
  end
13933
14322
 
14323
+ # Contains reference to another message. It is used in shortcuts which are used
14324
+ # to collect messages from different spaces with a certain common property into
14325
+ # another space. For example, all @mentions of a user are collected into a
14326
+ # mention shortcut space (go/chat-shortcuts-backend-design for more details).
14327
+ # Clients can use this reference to enable navigation to the source message when
14328
+ # the shortcut message is clicked and also to identify a few other details about
14329
+ # the source message. Other fields (like text) from the source message are
14330
+ # copied on to the top-level fields in the Message proto by the server (More
14331
+ # details in go/chat-shortcuts-client-server-design).
14332
+ class MessageReference
14333
+ include Google::Apis::Core::Hashable
14334
+
14335
+ #
14336
+ # Corresponds to the JSON property `sourceInfo`
14337
+ # @return [Google::Apis::CloudsearchV1::SourceMessageInfo]
14338
+ attr_accessor :source_info
14339
+
14340
+ def initialize(**args)
14341
+ update!(**args)
14342
+ end
14343
+
14344
+ # Update properties of this object
14345
+ def update!(**args)
14346
+ @source_info = args[:source_info] if args.key?(:source_info)
14347
+ end
14348
+ end
14349
+
13934
14350
  # This is proto2's version of MessageSet.
13935
14351
  class MessageSet
13936
14352
  include Google::Apis::Core::Hashable
@@ -15209,6 +15625,11 @@ module Google
15209
15625
  class Presenter
15210
15626
  include Google::Apis::Core::Hashable
15211
15627
 
15628
+ # Information about the screen annotation session.
15629
+ # Corresponds to the JSON property `annotationInfo`
15630
+ # @return [Google::Apis::CloudsearchV1::AnnotationInfo]
15631
+ attr_accessor :annotation_info
15632
+
15212
15633
  # The device resource name of the device which requested the current presenter
15213
15634
  # to be set. This field can not be modified by clients.
15214
15635
  # Corresponds to the JSON property `byDeviceId`
@@ -15232,6 +15653,7 @@ module Google
15232
15653
 
15233
15654
  # Update properties of this object
15234
15655
  def update!(**args)
15656
+ @annotation_info = args[:annotation_info] if args.key?(:annotation_info)
15235
15657
  @by_device_id = args[:by_device_id] if args.key?(:by_device_id)
15236
15658
  @copresenter_device_ids = args[:copresenter_device_ids] if args.key?(:copresenter_device_ids)
15237
15659
  @presenter_device_id = args[:presenter_device_id] if args.key?(:presenter_device_id)
@@ -17603,6 +18025,38 @@ module Google
17603
18025
  end
17604
18026
  end
17605
18027
 
18028
+ # SearchLink metadata, for SEARCH_LINK segments. For a search link, the "text"
18029
+ # field should contain the display text. This is currently not indexed.
18030
+ class SearchLinkData
18031
+ include Google::Apis::Core::Hashable
18032
+
18033
+ # For lightweight scoring in serving time.
18034
+ # Corresponds to the JSON property `kgEntityConfidence`
18035
+ # @return [Float]
18036
+ attr_accessor :kg_entity_confidence
18037
+
18038
+ # MID of the KG entity being linked.
18039
+ # Corresponds to the JSON property `mid`
18040
+ # @return [String]
18041
+ attr_accessor :mid
18042
+
18043
+ #
18044
+ # Corresponds to the JSON property `queryBroadnessScore`
18045
+ # @return [Float]
18046
+ attr_accessor :query_broadness_score
18047
+
18048
+ def initialize(**args)
18049
+ update!(**args)
18050
+ end
18051
+
18052
+ # Update properties of this object
18053
+ def update!(**args)
18054
+ @kg_entity_confidence = args[:kg_entity_confidence] if args.key?(:kg_entity_confidence)
18055
+ @mid = args[:mid] if args.key?(:mid)
18056
+ @query_broadness_score = args[:query_broadness_score] if args.key?(:query_broadness_score)
18057
+ end
18058
+ end
18059
+
17606
18060
  # Additional search quality metadata of the item.
17607
18061
  class SearchQualityMetadata
17608
18062
  include Google::Apis::Core::Hashable
@@ -17902,6 +18356,12 @@ module Google
17902
18356
  # @return [Google::Apis::CloudsearchV1::LinkData]
17903
18357
  attr_accessor :link_data
17904
18358
 
18359
+ # SearchLink metadata, for SEARCH_LINK segments. For a search link, the "text"
18360
+ # field should contain the display text. This is currently not indexed.
18361
+ # Corresponds to the JSON property `searchLinkData`
18362
+ # @return [Google::Apis::CloudsearchV1::SearchLinkData]
18363
+ attr_accessor :search_link_data
18364
+
17905
18365
  # Text content of the Segment. As a general rule, this field should contain the
17906
18366
  # actual text that should be rendered in the UI. Thus, for a hashtag, it should
17907
18367
  # be "#Foo", and for a link, it should be the display text. Clients that do not
@@ -17946,6 +18406,7 @@ module Google
17946
18406
  @formatting = args[:formatting] if args.key?(:formatting)
17947
18407
  @hashtag_data = args[:hashtag_data] if args.key?(:hashtag_data)
17948
18408
  @link_data = args[:link_data] if args.key?(:link_data)
18409
+ @search_link_data = args[:search_link_data] if args.key?(:search_link_data)
17949
18410
  @text = args[:text] if args.key?(:text)
17950
18411
  @type = args[:type] if args.key?(:type)
17951
18412
  @user_mention_data = args[:user_mention_data] if args.key?(:user_mention_data)
@@ -18199,6 +18660,13 @@ module Google
18199
18660
  attr_accessor :chat_lock
18200
18661
  alias_method :chat_lock?, :chat_lock
18201
18662
 
18663
+ # The co-activity lock of the meeting space that lets owner control whether the
18664
+ # participants can start/stop or update the state of co-activity.
18665
+ # Corresponds to the JSON property `coActivityLock`
18666
+ # @return [Boolean]
18667
+ attr_accessor :co_activity_lock
18668
+ alias_method :co_activity_lock?, :co_activity_lock
18669
+
18202
18670
  # Whether meeting artifacts will be shared with cohosts.
18203
18671
  # Corresponds to the JSON property `cohostArtifactSharingEnabled`
18204
18672
  # @return [Boolean]
@@ -18248,6 +18716,7 @@ module Google
18248
18716
  @allow_joining_before_host = args[:allow_joining_before_host] if args.key?(:allow_joining_before_host)
18249
18717
  @attendance_report_enabled = args[:attendance_report_enabled] if args.key?(:attendance_report_enabled)
18250
18718
  @chat_lock = args[:chat_lock] if args.key?(:chat_lock)
18719
+ @co_activity_lock = args[:co_activity_lock] if args.key?(:co_activity_lock)
18251
18720
  @cohost_artifact_sharing_enabled = args[:cohost_artifact_sharing_enabled] if args.key?(:cohost_artifact_sharing_enabled)
18252
18721
  @cse_enabled = args[:cse_enabled] if args.key?(:cse_enabled)
18253
18722
  @default_as_viewer = args[:default_as_viewer] if args.key?(:default_as_viewer)
@@ -18701,6 +19170,31 @@ module Google
18701
19170
  end
18702
19171
  end
18703
19172
 
19173
+ #
19174
+ class SourceMessageInfo
19175
+ include Google::Apis::Core::Hashable
19176
+
19177
+ # Primary key for Message resource.
19178
+ # Corresponds to the JSON property `messageId`
19179
+ # @return [Google::Apis::CloudsearchV1::MessageId]
19180
+ attr_accessor :message_id
19181
+
19182
+ #
19183
+ # Corresponds to the JSON property `messageType`
19184
+ # @return [String]
19185
+ attr_accessor :message_type
19186
+
19187
+ def initialize(**args)
19188
+ update!(**args)
19189
+ end
19190
+
19191
+ # Update properties of this object
19192
+ def update!(**args)
19193
+ @message_id = args[:message_id] if args.key?(:message_id)
19194
+ @message_type = args[:message_type] if args.key?(:message_type)
19195
+ end
19196
+ end
19197
+
18704
19198
  # Per source result count information.
18705
19199
  class SourceResultCount
18706
19200
  include Google::Apis::Core::Hashable