google-apis-cloudsearch_v1 0.49.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c4a3cf52b852067d29395e39684a9eb45fbcf7f13c3a861239b830bc77cd694
4
- data.tar.gz: 710b343a57dee2daacb538c0ec8a277a369af9b939343a233279cae318c5ee76
3
+ metadata.gz: 1f38ca74e8a9f2bc177fd76791e2df20a7d4b52c2c110019519a8836038bb1a0
4
+ data.tar.gz: 62567ff944525f5359699adf5574369cf5acfefd878a2400b541c07f90f4996f
5
5
  SHA512:
6
- metadata.gz: dd9a031154b46cad776c951c080dba1493a4d9d606685cb444e0aff00775209bf023975d24e25d7d154b0eb78d7b84a606882a5d07b0f1895fb444bf7436a3d5
7
- data.tar.gz: 56e365e0d39acf0cf62ca4ffe9f20465fa9e74d33c9f66a11bf2335a1917ff092a683350291359d0d37a97c6ebd384fdc6bc1b71d1ac56db5c90136e2d6f0ae7
6
+ metadata.gz: eeea6f7cbbeee571223b16bf9d865c02fe6ff6cf6ad7cf0b90e515ab57e07f36ef8b03e05f9f78a04cac0104e70d195aed8459c90acd90076966f153bff51709
7
+ data.tar.gz: 0f04968cb88d197c72de4b4d467b95b4ad43cb590c5f9ff5559c8686a4e8664544e69a9fc1bf867fa384ddaad0072fd56cce0385556b1220e7d056245eae396a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.51.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230524
6
+
7
+ ### v0.50.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230510
10
+
3
11
  ### v0.49.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230503
@@ -455,7 +455,7 @@ module Google
455
455
  attr_accessor :local_id
456
456
 
457
457
  # Annotation metadata to display system messages for membership changes. Next
458
- # Tag: 8
458
+ # Tag: 13
459
459
  # Corresponds to the JSON property `membershipChanged`
460
460
  # @return [Google::Apis::CloudsearchV1::MembershipChangedMetadata]
461
461
  attr_accessor :membership_changed
@@ -943,7 +943,7 @@ module Google
943
943
  end
944
944
  end
945
945
 
946
- # Metadata used only in Dynamite backend for uploaded attachments.
946
+ # Metadata used only in Dynamite backend for uploaded attachments. NEXT ID: 20
947
947
  class AppsDynamiteSharedBackendUploadMetadata
948
948
  include Google::Apis::Core::Hashable
949
949
 
@@ -982,7 +982,7 @@ module Google
982
982
  # @return [Google::Apis::CloudsearchV1::DlpScanSummary]
983
983
  attr_accessor :dlp_scan_summary
984
984
 
985
- # The list of experiments this video is enabled for Next tag: 19
985
+ # The list of experiments this video is enabled for
986
986
  # Corresponds to the JSON property `experiment`
987
987
  # @return [Array<String>]
988
988
  attr_accessor :experiment
@@ -999,6 +999,11 @@ module Google
999
999
  attr_accessor :is_client_side_transcoded_video
1000
1000
  alias_method :is_client_side_transcoded_video?, :is_client_side_transcoded_video
1001
1001
 
1002
+ # Metadata for attachments migrated from Hangouts
1003
+ # Corresponds to the JSON property `migratedFromHangoutsMetadata`
1004
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata]
1005
+ attr_accessor :migrated_from_hangouts_metadata
1006
+
1002
1007
  # Dimension for the uploaded attachments.
1003
1008
  # Corresponds to the JSON property `originalDimension`
1004
1009
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension]
@@ -1056,6 +1061,7 @@ module Google
1056
1061
  @experiment = args[:experiment] if args.key?(:experiment)
1057
1062
  @group_id = args[:group_id] if args.key?(:group_id)
1058
1063
  @is_client_side_transcoded_video = args[:is_client_side_transcoded_video] if args.key?(:is_client_side_transcoded_video)
1064
+ @migrated_from_hangouts_metadata = args[:migrated_from_hangouts_metadata] if args.key?(:migrated_from_hangouts_metadata)
1059
1065
  @original_dimension = args[:original_dimension] if args.key?(:original_dimension)
1060
1066
  @quote_reply_message_id = args[:quote_reply_message_id] if args.key?(:quote_reply_message_id)
1061
1067
  @sha256 = args[:sha256] if args.key?(:sha256)
@@ -1067,6 +1073,56 @@ module Google
1067
1073
  end
1068
1074
  end
1069
1075
 
1076
+ # Metadata for attachments migrated from Hangouts
1077
+ class AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ #
1081
+ # Corresponds to the JSON property `photoId`
1082
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId]
1083
+ attr_accessor :photo_id
1084
+
1085
+ #
1086
+ # Corresponds to the JSON property `updateTimestampUsec`
1087
+ # @return [Fixnum]
1088
+ attr_accessor :update_timestamp_usec
1089
+
1090
+ def initialize(**args)
1091
+ update!(**args)
1092
+ end
1093
+
1094
+ # Update properties of this object
1095
+ def update!(**args)
1096
+ @photo_id = args[:photo_id] if args.key?(:photo_id)
1097
+ @update_timestamp_usec = args[:update_timestamp_usec] if args.key?(:update_timestamp_usec)
1098
+ end
1099
+ end
1100
+
1101
+ #
1102
+ class AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId
1103
+ include Google::Apis::Core::Hashable
1104
+
1105
+ #
1106
+ # Corresponds to the JSON property `photoId`
1107
+ # @return [Fixnum]
1108
+ attr_accessor :photo_id
1109
+
1110
+ #
1111
+ # Corresponds to the JSON property `userId`
1112
+ # @return [Fixnum]
1113
+ attr_accessor :user_id
1114
+
1115
+ def initialize(**args)
1116
+ update!(**args)
1117
+ end
1118
+
1119
+ # Update properties of this object
1120
+ def update!(**args)
1121
+ @photo_id = args[:photo_id] if args.key?(:photo_id)
1122
+ @user_id = args[:user_id] if args.key?(:user_id)
1123
+ end
1124
+ end
1125
+
1070
1126
  #
1071
1127
  class AppsDynamiteSharedCalendarEventAnnotationData
1072
1128
  include Google::Apis::Core::Hashable
@@ -1836,6 +1892,11 @@ module Google
1836
1892
  # @return [String]
1837
1893
  attr_accessor :meeting_code
1838
1894
 
1895
+ # Required. Type of the meeting. This controls the chat client UX.
1896
+ # Corresponds to the JSON property `meetingType`
1897
+ # @return [String]
1898
+ attr_accessor :meeting_type
1899
+
1839
1900
  # Required. A URL, in the format "https://meet.google.com/*" (e.g. https://meet.
1840
1901
  # google.com/cxv-zbgj-wzw), to identify and access the meeting space.
1841
1902
  # Corresponds to the JSON property `meetingUrl`
@@ -1849,6 +1910,7 @@ module Google
1849
1910
  # Update properties of this object
1850
1911
  def update!(**args)
1851
1912
  @meeting_code = args[:meeting_code] if args.key?(:meeting_code)
1913
+ @meeting_type = args[:meeting_type] if args.key?(:meeting_type)
1852
1914
  @meeting_url = args[:meeting_url] if args.key?(:meeting_url)
1853
1915
  end
1854
1916
  end
@@ -1954,9 +2016,11 @@ module Google
1954
2016
  class AppsDynamiteSharedMessageSearchInfo
1955
2017
  include Google::Apis::Core::Hashable
1956
2018
 
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.
2019
+ # Current usage: - DescriptionType=KEYWORD_MATCH is populated in this field to
2020
+ # return metadata for keyword matches, which clients can use to highlight
2021
+ # matched segments in a message's text_body. - DescriptionType=SNIPPET can be
2022
+ # used to return metadata describing how a message's text_body can be broken up
2023
+ # to provide a snippet.
1960
2024
  # Corresponds to the JSON property `matchedSegmentsInTextBody`
1961
2025
  # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription>]
1962
2026
  attr_accessor :matched_segments_in_text_body
@@ -2711,18 +2775,18 @@ module Google
2711
2775
  attr_accessor :corner_radius
2712
2776
 
2713
2777
  # Represents a color in the RGBA color space. This representation is designed
2714
- # for simplicity of conversion to/from color representations in various
2778
+ # for simplicity of conversion to and from color representations in various
2715
2779
  # languages over compactness. For example, the fields of this representation can
2716
2780
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
2717
2781
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
2718
2782
  # method in iOS; and, with just a little work, it can be easily formatted into a
2719
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
2783
+ # CSS `rgba()` string in JavaScript. This reference page does not have
2720
2784
  # information about the absolute color space that should be used to interpret
2721
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
2785
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
2722
2786
  # applications should assume the sRGB color space. When color equality needs to
2723
2787
  # be decided, implementations, unless documented otherwise, treat two colors as
2724
- # equal if all their red, green, blue, and alpha values each differ by at most
2725
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
2788
+ # equal if all their red, green, blue, and alpha values each differ by at most `
2789
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
2726
2790
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
2727
2791
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
2728
2792
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -2787,18 +2851,18 @@ module Google
2787
2851
  attr_accessor :alt_text
2788
2852
 
2789
2853
  # Represents a color in the RGBA color space. This representation is designed
2790
- # for simplicity of conversion to/from color representations in various
2854
+ # for simplicity of conversion to and from color representations in various
2791
2855
  # languages over compactness. For example, the fields of this representation can
2792
2856
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
2793
2857
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
2794
2858
  # method in iOS; and, with just a little work, it can be easily formatted into a
2795
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
2859
+ # CSS `rgba()` string in JavaScript. This reference page does not have
2796
2860
  # information about the absolute color space that should be used to interpret
2797
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
2861
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
2798
2862
  # applications should assume the sRGB color space. When color equality needs to
2799
2863
  # be decided, implementations, unless documented otherwise, treat two colors as
2800
- # equal if all their red, green, blue, and alpha values each differ by at most
2801
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
2864
+ # equal if all their red, green, blue, and alpha values each differ by at most `
2865
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
2802
2866
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
2803
2867
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
2804
2868
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5191,6 +5255,11 @@ module Google
5191
5255
  # @return [Array<String>]
5192
5256
  attr_accessor :supported_uses
5193
5257
 
5258
+ # Determine how uninstall is permitted for this app.
5259
+ # Corresponds to the JSON property `uninstallCapability`
5260
+ # @return [String]
5261
+ attr_accessor :uninstall_capability
5262
+
5194
5263
  def initialize(**args)
5195
5264
  update!(**args)
5196
5265
  end
@@ -5208,6 +5277,7 @@ module Google
5208
5277
  @support_home_screen = args[:support_home_screen] if args.key?(:support_home_screen)
5209
5278
  @support_urls = args[:support_urls] if args.key?(:support_urls)
5210
5279
  @supported_uses = args[:supported_uses] if args.key?(:supported_uses)
5280
+ @uninstall_capability = args[:uninstall_capability] if args.key?(:uninstall_capability)
5211
5281
  end
5212
5282
  end
5213
5283
 
@@ -6446,18 +6516,18 @@ module Google
6446
6516
  end
6447
6517
 
6448
6518
  # Represents a color in the RGBA color space. This representation is designed
6449
- # for simplicity of conversion to/from color representations in various
6519
+ # for simplicity of conversion to and from color representations in various
6450
6520
  # languages over compactness. For example, the fields of this representation can
6451
6521
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6452
6522
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6453
6523
  # method in iOS; and, with just a little work, it can be easily formatted into a
6454
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
6524
+ # CSS `rgba()` string in JavaScript. This reference page does not have
6455
6525
  # information about the absolute color space that should be used to interpret
6456
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
6526
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6457
6527
  # applications should assume the sRGB color space. When color equality needs to
6458
6528
  # be decided, implementations, unless documented otherwise, treat two colors as
6459
- # equal if all their red, green, blue, and alpha values each differ by at most
6460
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
6529
+ # equal if all their red, green, blue, and alpha values each differ by at most `
6530
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
6461
6531
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
6462
6532
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
6463
6533
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -10012,7 +10082,7 @@ module Google
10012
10082
  end
10013
10083
  end
10014
10084
 
10015
- # A card is a UI element that can contain UI widgets such as texts, images.
10085
+ # A card is a UI element that can contain UI widgets such as text and images.
10016
10086
  class GoogleChatV1ContextualAddOnMarkupCard
10017
10087
  include Google::Apis::Core::Hashable
10018
10088
 
@@ -10060,7 +10130,7 @@ module Google
10060
10130
  # @return [String]
10061
10131
  attr_accessor :action_label
10062
10132
 
10063
- # An onclick action (e.g. open a link).
10133
+ # An `onclick` action (for example, open a link).
10064
10134
  # Corresponds to the JSON property `onClick`
10065
10135
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupOnClick]
10066
10136
  attr_accessor :on_click
@@ -10080,7 +10150,7 @@ module Google
10080
10150
  class GoogleChatV1ContextualAddOnMarkupCardCardHeader
10081
10151
  include Google::Apis::Core::Hashable
10082
10152
 
10083
- # The image's type (e.g. square border or circular border).
10153
+ # The image's type (for example, square border or circular border).
10084
10154
  # Corresponds to the JSON property `imageStyle`
10085
10155
  # @return [String]
10086
10156
  attr_accessor :image_style
@@ -10096,8 +10166,8 @@ module Google
10096
10166
  attr_accessor :subtitle
10097
10167
 
10098
10168
  # The title must be specified. The header has a fixed height: if both a title
10099
- # and subtitle is specified, each will take up 1 line. If only the title is
10100
- # specified, it will take up both lines.
10169
+ # and subtitle is specified, each takes up one line. If only the title is
10170
+ # specified, it takes up both lines.
10101
10171
  # Corresponds to the JSON property `title`
10102
10172
  # @return [String]
10103
10173
  attr_accessor :title
@@ -10117,18 +10187,21 @@ module Google
10117
10187
 
10118
10188
  # A section contains a collection of widgets that are rendered (vertically) in
10119
10189
  # the order that they are specified. Across all platforms, cards have a narrow
10120
- # fixed width, so there is currently no need for layout properties (e.g. float).
10190
+ # fixed width, so there's currently no need for layout properties (for example,
10191
+ # float).
10121
10192
  class GoogleChatV1ContextualAddOnMarkupCardSection
10122
10193
  include Google::Apis::Core::Hashable
10123
10194
 
10124
10195
  # 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.
10196
+ # about formatting text, see [Formatting text in Google Chat apps](https://
10197
+ # developers.google.com/chat/api/guides/message-formats/cards#
10198
+ # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
10199
+ # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
10127
10200
  # Corresponds to the JSON property `header`
10128
10201
  # @return [String]
10129
10202
  attr_accessor :header
10130
10203
 
10131
- # A section must contain at least 1 widget.
10204
+ # A section must contain at least one widget.
10132
10205
  # Corresponds to the JSON property `widgets`
10133
10206
  # @return [Array<Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkup>]
10134
10207
  attr_accessor :widgets
@@ -10144,7 +10217,7 @@ module Google
10144
10217
  end
10145
10218
  end
10146
10219
 
10147
- # A widget is a UI element that presents texts, images, etc.
10220
+ # A widget is a UI element that presents text and images.
10148
10221
  class GoogleChatV1WidgetMarkup
10149
10222
  include Google::Apis::Core::Hashable
10150
10223
 
@@ -10154,20 +10227,22 @@ module Google
10154
10227
  # @return [Array<Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupButton>]
10155
10228
  attr_accessor :buttons
10156
10229
 
10157
- # An image that is specified by a URL and can have an onclick action.
10230
+ # An image that's specified by a URL and can have an `onclick` action.
10158
10231
  # Corresponds to the JSON property `image`
10159
10232
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupImage]
10160
10233
  attr_accessor :image
10161
10234
 
10162
- # A UI element contains a key (label) and a value (content). And this element
10163
- # may also contain some actions such as onclick button.
10235
+ # A UI element contains a key (label) and a value (content). This element can
10236
+ # also contain some actions such as `onclick` button.
10164
10237
  # Corresponds to the JSON property `keyValue`
10165
10238
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupKeyValue]
10166
10239
  attr_accessor :key_value
10167
10240
 
10168
10241
  # 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.
10242
+ # formatting text, see [Formatting text in Google Chat apps](https://developers.
10243
+ # google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [
10244
+ # Formatting text in Google Workspace Add-ons](https://developers.google.com/
10245
+ # apps-script/add-ons/concepts/widgets#text_formatting).
10171
10246
  # Corresponds to the JSON property `textParagraph`
10172
10247
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupTextParagraph]
10173
10248
  attr_accessor :text_paragraph
@@ -10189,12 +10264,12 @@ module Google
10189
10264
  class GoogleChatV1WidgetMarkupButton
10190
10265
  include Google::Apis::Core::Hashable
10191
10266
 
10192
- # An image button with an onclick action.
10267
+ # An image button with an `onclick` action.
10193
10268
  # Corresponds to the JSON property `imageButton`
10194
10269
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupImageButton]
10195
10270
  attr_accessor :image_button
10196
10271
 
10197
- # A button with text and onclick action.
10272
+ # A button with text and `onclick` action.
10198
10273
  # Corresponds to the JSON property `textButton`
10199
10274
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupTextButton]
10200
10275
  attr_accessor :text_button
@@ -10211,14 +10286,14 @@ module Google
10211
10286
  end
10212
10287
 
10213
10288
  # A form action describes the behavior when the form is submitted. For example,
10214
- # an Apps Script can be invoked to handle the form.
10289
+ # you can invoke Apps Script to handle the form.
10215
10290
  class GoogleChatV1WidgetMarkupFormAction
10216
10291
  include Google::Apis::Core::Hashable
10217
10292
 
10218
10293
  # The method name is used to identify which part of the form triggered the form
10219
10294
  # submission. This information is echoed back to the Chat app as part of the
10220
- # card click event. The same method name can be used for several elements that
10221
- # trigger a common behavior if desired.
10295
+ # card click event. You can use the same method name for several elements that
10296
+ # trigger a common behavior.
10222
10297
  # Corresponds to the JSON property `actionMethodName`
10223
10298
  # @return [String]
10224
10299
  attr_accessor :action_method_name
@@ -10240,9 +10315,9 @@ module Google
10240
10315
  end
10241
10316
 
10242
10317
  # List of string parameters to supply when the action method is invoked. For
10243
- # example, consider three snooze buttons: snooze now, snooze 1 day, snooze next
10244
- # week. You might use action method = snooze(), passing the snooze type and
10245
- # snooze time in the list of string parameters.
10318
+ # example, consider three snooze buttons: snooze now, snooze one day, snooze
10319
+ # next week. You might use `action method = snooze()`, passing the snooze type
10320
+ # and snooze time in the list of string parameters.
10246
10321
  class GoogleChatV1WidgetMarkupFormActionActionParameter
10247
10322
  include Google::Apis::Core::Hashable
10248
10323
 
@@ -10267,14 +10342,14 @@ module Google
10267
10342
  end
10268
10343
  end
10269
10344
 
10270
- # An image that is specified by a URL and can have an onclick action.
10345
+ # An image that's specified by a URL and can have an `onclick` action.
10271
10346
  class GoogleChatV1WidgetMarkupImage
10272
10347
  include Google::Apis::Core::Hashable
10273
10348
 
10274
- # The aspect ratio of this image (width/height). This field allows clients to
10275
- # reserve the right height for the image while waiting for it to load. It's not
10276
- # meant to override the native aspect ratio of the image. If unset, the server
10277
- # fills it by prefetching the image.
10349
+ # The aspect ratio of this image (width and height). This field lets you reserve
10350
+ # the right height for the image while waiting for it to load. It's not meant to
10351
+ # override the built-in aspect ratio of the image. If unset, the server fills it
10352
+ # by prefetching the image.
10278
10353
  # Corresponds to the JSON property `aspectRatio`
10279
10354
  # @return [Float]
10280
10355
  attr_accessor :aspect_ratio
@@ -10284,7 +10359,7 @@ module Google
10284
10359
  # @return [String]
10285
10360
  attr_accessor :image_url
10286
10361
 
10287
- # An onclick action (e.g. open a link).
10362
+ # An `onclick` action (for example, open a link).
10288
10363
  # Corresponds to the JSON property `onClick`
10289
10364
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupOnClick]
10290
10365
  attr_accessor :on_click
@@ -10301,11 +10376,11 @@ module Google
10301
10376
  end
10302
10377
  end
10303
10378
 
10304
- # An image button with an onclick action.
10379
+ # An image button with an `onclick` action.
10305
10380
  class GoogleChatV1WidgetMarkupImageButton
10306
10381
  include Google::Apis::Core::Hashable
10307
10382
 
10308
- # The icon specified by an enum that indices to an icon provided by Chat API.
10383
+ # The icon specified by an `enum` that indices to an icon provided by Chat API.
10309
10384
  # Corresponds to the JSON property `icon`
10310
10385
  # @return [String]
10311
10386
  attr_accessor :icon
@@ -10315,13 +10390,13 @@ module Google
10315
10390
  # @return [String]
10316
10391
  attr_accessor :icon_url
10317
10392
 
10318
- # The name of this image_button which will be used for accessibility. Default
10319
- # value will be provided if developers don't specify.
10393
+ # The name of this `image_button` that's used for accessibility. Default value
10394
+ # is provided if this name isn't specified.
10320
10395
  # Corresponds to the JSON property `name`
10321
10396
  # @return [String]
10322
10397
  attr_accessor :name
10323
10398
 
10324
- # An onclick action (e.g. open a link).
10399
+ # An `onclick` action (for example, open a link).
10325
10400
  # Corresponds to the JSON property `onClick`
10326
10401
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupOnClick]
10327
10402
  attr_accessor :on_click
@@ -10339,14 +10414,16 @@ module Google
10339
10414
  end
10340
10415
  end
10341
10416
 
10342
- # A UI element contains a key (label) and a value (content). And this element
10343
- # may also contain some actions such as onclick button.
10417
+ # A UI element contains a key (label) and a value (content). This element can
10418
+ # also contain some actions such as `onclick` button.
10344
10419
  class GoogleChatV1WidgetMarkupKeyValue
10345
10420
  include Google::Apis::Core::Hashable
10346
10421
 
10347
10422
  # 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.
10423
+ # about formatting text, see [Formatting text in Google Chat apps](https://
10424
+ # developers.google.com/chat/api/guides/message-formats/cards#
10425
+ # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
10426
+ # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
10350
10427
  # Corresponds to the JSON property `bottomLabel`
10351
10428
  # @return [String]
10352
10429
  attr_accessor :bottom_label
@@ -10357,8 +10434,10 @@ module Google
10357
10434
  attr_accessor :button
10358
10435
 
10359
10436
  # 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.
10437
+ # more information about formatting text, see [Formatting text in Google Chat
10438
+ # apps](https://developers.google.com/chat/api/guides/message-formats/cards#
10439
+ # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
10440
+ # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
10362
10441
  # Corresponds to the JSON property `content`
10363
10442
  # @return [String]
10364
10443
  attr_accessor :content
@@ -10369,8 +10448,8 @@ module Google
10369
10448
  attr_accessor :content_multiline
10370
10449
  alias_method :content_multiline?, :content_multiline
10371
10450
 
10372
- # An enum value that will be replaced by the Chat API with the corresponding
10373
- # icon image.
10451
+ # An enum value that's replaced by the Chat API with the corresponding icon
10452
+ # image.
10374
10453
  # Corresponds to the JSON property `icon`
10375
10454
  # @return [String]
10376
10455
  attr_accessor :icon
@@ -10380,14 +10459,16 @@ module Google
10380
10459
  # @return [String]
10381
10460
  attr_accessor :icon_url
10382
10461
 
10383
- # An onclick action (e.g. open a link).
10462
+ # An `onclick` action (for example, open a link).
10384
10463
  # Corresponds to the JSON property `onClick`
10385
10464
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupOnClick]
10386
10465
  attr_accessor :on_click
10387
10466
 
10388
10467
  # 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.
10468
+ # about formatting text, see [Formatting text in Google Chat apps](https://
10469
+ # developers.google.com/chat/api/guides/message-formats/cards#
10470
+ # card_text_formatting) and [Formatting text in Google Workspace Add-ons](https:/
10471
+ # /developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
10391
10472
  # Corresponds to the JSON property `topLabel`
10392
10473
  # @return [String]
10393
10474
  attr_accessor :top_label
@@ -10409,12 +10490,12 @@ module Google
10409
10490
  end
10410
10491
  end
10411
10492
 
10412
- # An onclick action (e.g. open a link).
10493
+ # An `onclick` action (for example, open a link).
10413
10494
  class GoogleChatV1WidgetMarkupOnClick
10414
10495
  include Google::Apis::Core::Hashable
10415
10496
 
10416
10497
  # A form action describes the behavior when the form is submitted. For example,
10417
- # an Apps Script can be invoked to handle the form.
10498
+ # you can invoke Apps Script to handle the form.
10418
10499
  # Corresponds to the JSON property `action`
10419
10500
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupFormAction]
10420
10501
  attr_accessor :action
@@ -10454,11 +10535,11 @@ module Google
10454
10535
  end
10455
10536
  end
10456
10537
 
10457
- # A button with text and onclick action.
10538
+ # A button with text and `onclick` action.
10458
10539
  class GoogleChatV1WidgetMarkupTextButton
10459
10540
  include Google::Apis::Core::Hashable
10460
10541
 
10461
- # An onclick action (e.g. open a link).
10542
+ # An `onclick` action (for example, open a link).
10462
10543
  # Corresponds to the JSON property `onClick`
10463
10544
  # @return [Google::Apis::CloudsearchV1::GoogleChatV1WidgetMarkupOnClick]
10464
10545
  attr_accessor :on_click
@@ -10480,8 +10561,10 @@ module Google
10480
10561
  end
10481
10562
 
10482
10563
  # 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.
10564
+ # formatting text, see [Formatting text in Google Chat apps](https://developers.
10565
+ # google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [
10566
+ # Formatting text in Google Workspace Add-ons](https://developers.google.com/
10567
+ # apps-script/add-ons/concepts/widgets#text_formatting).
10485
10568
  class GoogleChatV1WidgetMarkupTextParagraph
10486
10569
  include Google::Apis::Core::Hashable
10487
10570
 
@@ -13634,7 +13717,7 @@ module Google
13634
13717
  end
13635
13718
 
13636
13719
  # Annotation metadata to display system messages for membership changes. Next
13637
- # Tag: 8
13720
+ # Tag: 13
13638
13721
  class MembershipChangedMetadata
13639
13722
  include Google::Apis::Core::Hashable
13640
13723
 
@@ -13936,6 +14019,11 @@ module Google
13936
14019
  # @return [String]
13937
14020
  attr_accessor :message_state
13938
14021
 
14022
+ # Indicates the number of unicode emojis in the message.
14023
+ # Corresponds to the JSON property `numberOfUnicodeEmojis`
14024
+ # @return [Fixnum]
14025
+ attr_accessor :number_of_unicode_emojis
14026
+
13939
14027
  # Indicates if this message contains any suggestions that were provided by any
13940
14028
  # Apps.
13941
14029
  # Corresponds to the JSON property `originAppSuggestions`
@@ -14080,6 +14168,7 @@ module Google
14080
14168
  @message_reference = args[:message_reference] if args.key?(:message_reference)
14081
14169
  @message_search_info = args[:message_search_info] if args.key?(:message_search_info)
14082
14170
  @message_state = args[:message_state] if args.key?(:message_state)
14171
+ @number_of_unicode_emojis = args[:number_of_unicode_emojis] if args.key?(:number_of_unicode_emojis)
14083
14172
  @origin_app_suggestions = args[:origin_app_suggestions] if args.key?(:origin_app_suggestions)
14084
14173
  @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
14085
14174
  @private_message_infos = args[:private_message_infos] if args.key?(:private_message_infos)
@@ -16354,6 +16443,25 @@ module Google
16354
16443
  end
16355
16444
  end
16356
16445
 
16446
+ # Details about a user's query activity.
16447
+ class QueryActivity
16448
+ include Google::Apis::Core::Hashable
16449
+
16450
+ # User input query to be logged/removed.
16451
+ # Corresponds to the JSON property `query`
16452
+ # @return [String]
16453
+ attr_accessor :query
16454
+
16455
+ def initialize(**args)
16456
+ update!(**args)
16457
+ end
16458
+
16459
+ # Update properties of this object
16460
+ def update!(**args)
16461
+ @query = args[:query] if args.key?(:query)
16462
+ end
16463
+ end
16464
+
16357
16465
  #
16358
16466
  class QueryCountByStatus
16359
16467
  include Google::Apis::Core::Hashable
@@ -17102,6 +17210,46 @@ module Google
17102
17210
  end
17103
17211
  end
17104
17212
 
17213
+ # Remove Logged Activity Request.
17214
+ class RemoveActivityRequest
17215
+ include Google::Apis::Core::Hashable
17216
+
17217
+ # Shared request options for all RPC methods.
17218
+ # Corresponds to the JSON property `requestOptions`
17219
+ # @return [Google::Apis::CloudsearchV1::RequestOptions]
17220
+ attr_accessor :request_options
17221
+
17222
+ # User's single or bulk query activity. This can be a logging query or deletion
17223
+ # query.
17224
+ # Corresponds to the JSON property `userActivity`
17225
+ # @return [Google::Apis::CloudsearchV1::UserActivity]
17226
+ attr_accessor :user_activity
17227
+
17228
+ def initialize(**args)
17229
+ update!(**args)
17230
+ end
17231
+
17232
+ # Update properties of this object
17233
+ def update!(**args)
17234
+ @request_options = args[:request_options] if args.key?(:request_options)
17235
+ @user_activity = args[:user_activity] if args.key?(:user_activity)
17236
+ end
17237
+ end
17238
+
17239
+ # Remove Logged Activity Response. will return an empty response for now. Will
17240
+ # be revisited in later phases.
17241
+ class RemoveActivityResponse
17242
+ include Google::Apis::Core::Hashable
17243
+
17244
+ def initialize(**args)
17245
+ update!(**args)
17246
+ end
17247
+
17248
+ # Update properties of this object
17249
+ def update!(**args)
17250
+ end
17251
+ end
17252
+
17105
17253
  #
17106
17254
  class RenameEvent
17107
17255
  include Google::Apis::Core::Hashable
@@ -19281,6 +19429,11 @@ module Google
19281
19429
  # @return [String]
19282
19430
  attr_accessor :suggested_query
19283
19431
 
19432
+ # Suggestion triggered for the current query.
19433
+ # Corresponds to the JSON property `suggestionType`
19434
+ # @return [String]
19435
+ attr_accessor :suggestion_type
19436
+
19284
19437
  def initialize(**args)
19285
19438
  update!(**args)
19286
19439
  end
@@ -19288,6 +19441,7 @@ module Google
19288
19441
  # Update properties of this object
19289
19442
  def update!(**args)
19290
19443
  @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
19444
+ @suggestion_type = args[:suggestion_type] if args.key?(:suggestion_type)
19291
19445
  end
19292
19446
  end
19293
19447
 
@@ -21084,7 +21238,7 @@ module Google
21084
21238
  # @return [String]
21085
21239
  attr_accessor :attachment_token
21086
21240
 
21087
- # Metadata used only in Dynamite backend for uploaded attachments.
21241
+ # Metadata used only in Dynamite backend for uploaded attachments. NEXT ID: 20
21088
21242
  # Corresponds to the JSON property `backendUploadMetadata`
21089
21243
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadata]
21090
21244
  attr_accessor :backend_upload_metadata
@@ -21128,6 +21282,12 @@ module Google
21128
21282
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedDlpMetricsMetadata]
21129
21283
  attr_accessor :dlp_metrics_metadata
21130
21284
 
21285
+ # Metadata used to describe search information in a specific component of a chat
21286
+ # message, for example an annotation or an attachment.
21287
+ # Corresponds to the JSON property `internalOnlyComponentSearchInfo`
21288
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo]
21289
+ attr_accessor :internal_only_component_search_info
21290
+
21131
21291
  # The timestamp of the most recent virus scan completed (in microseconds).
21132
21292
  # Corresponds to the JSON property `latestVirusScanTimestamp`
21133
21293
  # @return [Fixnum]
@@ -21169,6 +21329,7 @@ module Google
21169
21329
  @content_name = args[:content_name] if args.key?(:content_name)
21170
21330
  @content_type = args[:content_type] if args.key?(:content_type)
21171
21331
  @dlp_metrics_metadata = args[:dlp_metrics_metadata] if args.key?(:dlp_metrics_metadata)
21332
+ @internal_only_component_search_info = args[:internal_only_component_search_info] if args.key?(:internal_only_component_search_info)
21172
21333
  @latest_virus_scan_timestamp = args[:latest_virus_scan_timestamp] if args.key?(:latest_virus_scan_timestamp)
21173
21334
  @local_id = args[:local_id] if args.key?(:local_id)
21174
21335
  @original_dimension = args[:original_dimension] if args.key?(:original_dimension)
@@ -21405,6 +21566,26 @@ module Google
21405
21566
  end
21406
21567
  end
21407
21568
 
21569
+ # User's single or bulk query activity. This can be a logging query or deletion
21570
+ # query.
21571
+ class UserActivity
21572
+ include Google::Apis::Core::Hashable
21573
+
21574
+ # Details about a user's query activity.
21575
+ # Corresponds to the JSON property `queryActivity`
21576
+ # @return [Google::Apis::CloudsearchV1::QueryActivity]
21577
+ attr_accessor :query_activity
21578
+
21579
+ def initialize(**args)
21580
+ update!(**args)
21581
+ end
21582
+
21583
+ # Update properties of this object
21584
+ def update!(**args)
21585
+ @query_activity = args[:query_activity] if args.key?(:query_activity)
21586
+ end
21587
+ end
21588
+
21408
21589
  # Resource for displaying user info
21409
21590
  class UserDisplayInfo
21410
21591
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsearchV1
18
18
  # Version of the google-apis-cloudsearch_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230503"
25
+ REVISION = "20230524"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,18 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class AppsDynamiteSharedCalendarEventAnnotationData
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -2626,6 +2638,12 @@ module Google
2626
2638
  include Google::Apis::Core::JsonObjectSupport
2627
2639
  end
2628
2640
 
2641
+ class QueryActivity
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2629
2647
  class QueryCountByStatus
2630
2648
  class Representation < Google::Apis::Core::JsonRepresentation; end
2631
2649
 
@@ -2746,6 +2764,18 @@ module Google
2746
2764
  include Google::Apis::Core::JsonObjectSupport
2747
2765
  end
2748
2766
 
2767
+ class RemoveActivityRequest
2768
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2769
+
2770
+ include Google::Apis::Core::JsonObjectSupport
2771
+ end
2772
+
2773
+ class RemoveActivityResponse
2774
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2775
+
2776
+ include Google::Apis::Core::JsonObjectSupport
2777
+ end
2778
+
2749
2779
  class RenameEvent
2750
2780
  class Representation < Google::Apis::Core::JsonRepresentation; end
2751
2781
 
@@ -3448,6 +3478,12 @@ module Google
3448
3478
  include Google::Apis::Core::JsonObjectSupport
3449
3479
  end
3450
3480
 
3481
+ class UserActivity
3482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3483
+
3484
+ include Google::Apis::Core::JsonObjectSupport
3485
+ end
3486
+
3451
3487
  class UserDisplayInfo
3452
3488
  class Representation < Google::Apis::Core::JsonRepresentation; end
3453
3489
 
@@ -3872,6 +3908,8 @@ module Google
3872
3908
  property :group_id, as: 'groupId', class: Google::Apis::CloudsearchV1::GroupId, decorator: Google::Apis::CloudsearchV1::GroupId::Representation
3873
3909
 
3874
3910
  property :is_client_side_transcoded_video, as: 'isClientSideTranscodedVideo'
3911
+ property :migrated_from_hangouts_metadata, as: 'migratedFromHangoutsMetadata', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata::Representation
3912
+
3875
3913
  property :original_dimension, as: 'originalDimension', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension::Representation
3876
3914
 
3877
3915
  property :quote_reply_message_id, as: 'quoteReplyMessageId', class: Google::Apis::CloudsearchV1::MessageId, decorator: Google::Apis::CloudsearchV1::MessageId::Representation
@@ -3885,6 +3923,23 @@ module Google
3885
3923
  end
3886
3924
  end
3887
3925
 
3926
+ class AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata
3927
+ # @private
3928
+ class Representation < Google::Apis::Core::JsonRepresentation
3929
+ property :photo_id, as: 'photoId', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId::Representation
3930
+
3931
+ property :update_timestamp_usec, :numeric_string => true, as: 'updateTimestampUsec'
3932
+ end
3933
+ end
3934
+
3935
+ class AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId
3936
+ # @private
3937
+ class Representation < Google::Apis::Core::JsonRepresentation
3938
+ property :photo_id, :numeric_string => true, as: 'photoId'
3939
+ property :user_id, :numeric_string => true, as: 'userId'
3940
+ end
3941
+ end
3942
+
3888
3943
  class AppsDynamiteSharedCalendarEventAnnotationData
3889
3944
  # @private
3890
3945
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4124,6 +4179,7 @@ module Google
4124
4179
  # @private
4125
4180
  class Representation < Google::Apis::Core::JsonRepresentation
4126
4181
  property :meeting_code, as: 'meetingCode'
4182
+ property :meeting_type, as: 'meetingType'
4127
4183
  property :meeting_url, as: 'meetingUrl'
4128
4184
  end
4129
4185
  end
@@ -5079,6 +5135,7 @@ module Google
5079
5135
  property :support_urls, as: 'supportUrls', class: Google::Apis::CloudsearchV1::SupportUrls, decorator: Google::Apis::CloudsearchV1::SupportUrls::Representation
5080
5136
 
5081
5137
  collection :supported_uses, as: 'supportedUses'
5138
+ property :uninstall_capability, as: 'uninstallCapability'
5082
5139
  end
5083
5140
  end
5084
5141
 
@@ -7577,6 +7634,7 @@ module Google
7577
7634
  property :message_search_info, as: 'messageSearchInfo', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageSearchInfo, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageSearchInfo::Representation
7578
7635
 
7579
7636
  property :message_state, as: 'messageState'
7637
+ property :number_of_unicode_emojis, as: 'numberOfUnicodeEmojis'
7580
7638
  collection :origin_app_suggestions, as: 'originAppSuggestions', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOriginAppSuggestion, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedOriginAppSuggestion::Representation
7581
7639
 
7582
7640
  collection :personal_labels, as: 'personalLabels', class: Google::Apis::CloudsearchV1::PersonalLabelTag, decorator: Google::Apis::CloudsearchV1::PersonalLabelTag::Representation
@@ -8221,6 +8279,13 @@ module Google
8221
8279
  end
8222
8280
  end
8223
8281
 
8282
+ class QueryActivity
8283
+ # @private
8284
+ class Representation < Google::Apis::Core::JsonRepresentation
8285
+ property :query, as: 'query'
8286
+ end
8287
+ end
8288
+
8224
8289
  class QueryCountByStatus
8225
8290
  # @private
8226
8291
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8421,6 +8486,22 @@ module Google
8421
8486
  end
8422
8487
  end
8423
8488
 
8489
+ class RemoveActivityRequest
8490
+ # @private
8491
+ class Representation < Google::Apis::Core::JsonRepresentation
8492
+ property :request_options, as: 'requestOptions', class: Google::Apis::CloudsearchV1::RequestOptions, decorator: Google::Apis::CloudsearchV1::RequestOptions::Representation
8493
+
8494
+ property :user_activity, as: 'userActivity', class: Google::Apis::CloudsearchV1::UserActivity, decorator: Google::Apis::CloudsearchV1::UserActivity::Representation
8495
+
8496
+ end
8497
+ end
8498
+
8499
+ class RemoveActivityResponse
8500
+ # @private
8501
+ class Representation < Google::Apis::Core::JsonRepresentation
8502
+ end
8503
+ end
8504
+
8424
8505
  class RenameEvent
8425
8506
  # @private
8426
8507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9048,6 +9129,7 @@ module Google
9048
9129
  # @private
9049
9130
  class Representation < Google::Apis::Core::JsonRepresentation
9050
9131
  property :suggested_query, as: 'suggestedQuery'
9132
+ property :suggestion_type, as: 'suggestionType'
9051
9133
  end
9052
9134
  end
9053
9135
 
@@ -9583,6 +9665,8 @@ module Google
9583
9665
  property :content_type, as: 'contentType'
9584
9666
  property :dlp_metrics_metadata, as: 'dlpMetricsMetadata', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDlpMetricsMetadata, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedDlpMetricsMetadata::Representation
9585
9667
 
9668
+ property :internal_only_component_search_info, as: 'internalOnlyComponentSearchInfo', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo::Representation
9669
+
9586
9670
  property :latest_virus_scan_timestamp, :numeric_string => true, as: 'latestVirusScanTimestamp'
9587
9671
  property :local_id, as: 'localId'
9588
9672
  property :original_dimension, as: 'originalDimension', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension::Representation
@@ -9643,6 +9727,14 @@ module Google
9643
9727
  end
9644
9728
  end
9645
9729
 
9730
+ class UserActivity
9731
+ # @private
9732
+ class Representation < Google::Apis::Core::JsonRepresentation
9733
+ property :query_activity, as: 'queryActivity', class: Google::Apis::CloudsearchV1::QueryActivity, decorator: Google::Apis::CloudsearchV1::QueryActivity::Representation
9734
+
9735
+ end
9736
+ end
9737
+
9646
9738
  class UserDisplayInfo
9647
9739
  # @private
9648
9740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -868,6 +868,41 @@ module Google
868
868
  execute_or_queue_command(command, &block)
869
869
  end
870
870
 
871
+ # Provides functionality to remove logged activity for a user. Currently to be
872
+ # used only for dynamite 1p clients **Note:** This API requires a standard end
873
+ # user account to execute. A service account can't perform Remove Activity
874
+ # requests directly; to use a service account to perform queries, set up [Google
875
+ # Workspace domain-wide delegation of authority](https://developers.google.com/
876
+ # cloud-search/docs/guides/delegation/).
877
+ # @param [Google::Apis::CloudsearchV1::RemoveActivityRequest] remove_activity_request_object
878
+ # @param [String] fields
879
+ # Selector specifying which fields to include in a partial response.
880
+ # @param [String] quota_user
881
+ # Available to use for quota purposes for server-side applications. Can be any
882
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
883
+ # @param [Google::Apis::RequestOptions] options
884
+ # Request-specific options
885
+ #
886
+ # @yield [result, err] Result & error if block supplied
887
+ # @yieldparam result [Google::Apis::CloudsearchV1::RemoveActivityResponse] parsed result object
888
+ # @yieldparam err [StandardError] error object if request failed
889
+ #
890
+ # @return [Google::Apis::CloudsearchV1::RemoveActivityResponse]
891
+ #
892
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
893
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
894
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
895
+ def remove_query_activity(remove_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
896
+ command = make_simple_command(:post, 'v1/query:removeActivity', options)
897
+ command.request_representation = Google::Apis::CloudsearchV1::RemoveActivityRequest::Representation
898
+ command.request_object = remove_activity_request_object
899
+ command.response_representation = Google::Apis::CloudsearchV1::RemoveActivityResponse::Representation
900
+ command.response_class = Google::Apis::CloudsearchV1::RemoveActivityResponse
901
+ command.query['fields'] = fields unless fields.nil?
902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
903
+ execute_or_queue_command(command, &block)
904
+ end
905
+
871
906
  # The Cloud Search Query API provides the search method, which returns the most
872
907
  # relevant results from a user query. The results can come from Google Workspace
873
908
  # apps, such as Gmail or Google Drive, or they can come from data that you have
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsearch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.0
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-05-14 00:00:00.000000000 Z
11
+ date: 2023-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
63
63
  post_install_message:
64
64
  rdoc_options: []