google-apis-cloudsearch_v1 0.19.0 → 0.22.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: 16b3d47ea6c18afb6ed35176cf9a924b7d32a9aa5f58c240dc10e5fbf890ed45
4
- data.tar.gz: 060566d790bcadee23fe39f0341eb7ba031be0b417ceb6c87b6f2dd6cf14ea7e
3
+ metadata.gz: c0ce151c9e44ec331b624cdc5aa2a294ae9aaa89738e9fc19b8f15bdd393ecbc
4
+ data.tar.gz: ce30316af1e83154cd80e81e8f81156e2f7e3d8d7059f05e42ca79306c3f52ef
5
5
  SHA512:
6
- metadata.gz: 5092793fefe0b67e06314a28fe786d8865c502d64e292e88b318b7a95d406f75cfd0a191ef9f837d8c59375bebde838ee05477c77d4db7138418e7d83916a832
7
- data.tar.gz: 6e47aaefb8b909e6d55b797d75521e2511b3b7689ba3099747673efdae2c2dc0b713d3c1360faf3a4bda390e80683223f1a4d164338cadd9e2d0943cf6ab3c8b
6
+ metadata.gz: 9f40f242bb5d42b74dba2218c1ebe8430ebc7abe9319175f6289968042bd1b558c8d2dc8bc9cf39c2b6da2bcc9eb512c3c981ccf752f9e296f0ace3e599b3452
7
+ data.tar.gz: db2dd4468960e63b36996ea92076271dae07465f5f89a56df8a6d20079dbfaa5af52c5868404243103c621f542cfcdb81b3cb3b82e33df0aa3569872dc826544
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.22.0 (2022-03-08)
4
+
5
+ * Regenerated from discovery document revision 20220301
6
+
7
+ ### v0.21.0 (2022-02-22)
8
+
9
+ * Regenerated from discovery document revision 20220215
10
+
11
+ ### v0.20.0 (2022-02-15)
12
+
13
+ * Regenerated from discovery document revision 20220207
14
+
3
15
  ### v0.19.0 (2022-02-07)
4
16
 
5
17
  * Regenerated from discovery document revision 20220201
@@ -53,6 +53,41 @@ module Google
53
53
  end
54
54
  end
55
55
 
56
+ # Identifier of an App.
57
+ class AppId
58
+ include Google::Apis::Core::Hashable
59
+
60
+ # Enum indicating the type of App this is.
61
+ # Corresponds to the JSON property `appType`
62
+ # @return [String]
63
+ attr_accessor :app_type
64
+
65
+ # Enum indicating which 1P App this is when app_type is GSUITE_APP. Determined &
66
+ # set by the 1P API as a convenience for all users of this identifier(Eg.
67
+ # clients, chime, backend etc.) to map to 1P properties.
68
+ # Corresponds to the JSON property `gsuiteAppType`
69
+ # @return [String]
70
+ attr_accessor :gsuite_app_type
71
+
72
+ # Numeric identifier of the App. Set to Project number for 1/3P Apps. For
73
+ # Webhook, this is WebhookId. Determined & set by the 1P API from App
74
+ # credentials on the side channel.
75
+ # Corresponds to the JSON property `id`
76
+ # @return [Fixnum]
77
+ attr_accessor :id
78
+
79
+ def initialize(**args)
80
+ update!(**args)
81
+ end
82
+
83
+ # Update properties of this object
84
+ def update!(**args)
85
+ @app_type = args[:app_type] if args.key?(:app_type)
86
+ @gsuite_app_type = args[:gsuite_app_type] if args.key?(:gsuite_app_type)
87
+ @id = args[:id] if args.key?(:id)
88
+ end
89
+ end
90
+
56
91
  # Represents the settings for Cloud audit logging
57
92
  class AuditLoggingSettings
58
93
  include Google::Apis::Core::Hashable
@@ -98,6 +133,25 @@ module Google
98
133
  end
99
134
  end
100
135
 
136
+ #
137
+ class AvatarInfo
138
+ include Google::Apis::Core::Hashable
139
+
140
+ #
141
+ # Corresponds to the JSON property `emoji`
142
+ # @return [Google::Apis::CloudsearchV1::Emoji]
143
+ attr_accessor :emoji
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @emoji = args[:emoji] if args.key?(:emoji)
152
+ end
153
+ end
154
+
101
155
  # Used to provide a search operator for boolean properties. This is optional.
102
156
  # Search operators let users restrict the query to specific fields relevant to
103
157
  # the type of item being searched.
@@ -223,6 +277,105 @@ module Google
223
277
  end
224
278
  end
225
279
 
280
+ # Proto representation of a custom emoji. May be used in both APIs and in
281
+ # Spanner, but certain fields should be restricted to one or the other. See the
282
+ # per-field documentation for details. NEXT_TAG: 11
283
+ class CustomEmoji
284
+ include Google::Apis::Core::Hashable
285
+
286
+ # ID for the underlying image data in Blobstore. This field should *only* be
287
+ # present in Spanner or within the server, but should not be exposed in public
288
+ # APIs.
289
+ # Corresponds to the JSON property `blobId`
290
+ # @return [String]
291
+ attr_accessor :blob_id
292
+
293
+ # Time when the Emoji was created, in microseconds. This field may be present in
294
+ # Spanner, within the server, or in public APIs.
295
+ # Corresponds to the JSON property `createTimeMicros`
296
+ # @return [Fixnum]
297
+ attr_accessor :create_time_micros
298
+
299
+ # Primary key for User resource.
300
+ # Corresponds to the JSON property `creatorUserId`
301
+ # @return [Google::Apis::CloudsearchV1::UserId]
302
+ attr_accessor :creator_user_id
303
+
304
+ # Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
305
+ # Corresponds to the JSON property `ownerCustomerId`
306
+ # @return [Google::Apis::CloudsearchV1::CustomerId]
307
+ attr_accessor :owner_customer_id
308
+
309
+ # Opaque token that clients use to construct the URL for accessing the custom
310
+ # emoji’s image data. This field is intended for API consumption, and should *
311
+ # never* be persisted to Spanner.
312
+ # Corresponds to the JSON property `readToken`
313
+ # @return [String]
314
+ attr_accessor :read_token
315
+
316
+ # User-provided, human-readable ID for the custom emoji. Users are expected to
317
+ # observe this field in the UI instead of the UUID. This shortcode should be
318
+ # unique within an organization, but has no global uniqueness guarantees, unlike
319
+ # the UUID. This field should *never* be persisted to Spanner.
320
+ # Corresponds to the JSON property `shortcode`
321
+ # @return [String]
322
+ attr_accessor :shortcode
323
+
324
+ # Snapshot of the current state of the emoji, which may differ from the source-
325
+ # of-truth in the CustomEmojis table. This field should *never* be persisted to
326
+ # Spanner.
327
+ # Corresponds to the JSON property `state`
328
+ # @return [String]
329
+ attr_accessor :state
330
+
331
+ #
332
+ # Corresponds to the JSON property `updateTimeMicros`
333
+ # @return [Fixnum]
334
+ attr_accessor :update_time_micros
335
+
336
+ # Unique key for a custom emoji resource. Required. This field is *always*
337
+ # populated.
338
+ # Corresponds to the JSON property `uuid`
339
+ # @return [String]
340
+ attr_accessor :uuid
341
+
342
+ def initialize(**args)
343
+ update!(**args)
344
+ end
345
+
346
+ # Update properties of this object
347
+ def update!(**args)
348
+ @blob_id = args[:blob_id] if args.key?(:blob_id)
349
+ @create_time_micros = args[:create_time_micros] if args.key?(:create_time_micros)
350
+ @creator_user_id = args[:creator_user_id] if args.key?(:creator_user_id)
351
+ @owner_customer_id = args[:owner_customer_id] if args.key?(:owner_customer_id)
352
+ @read_token = args[:read_token] if args.key?(:read_token)
353
+ @shortcode = args[:shortcode] if args.key?(:shortcode)
354
+ @state = args[:state] if args.key?(:state)
355
+ @update_time_micros = args[:update_time_micros] if args.key?(:update_time_micros)
356
+ @uuid = args[:uuid] if args.key?(:uuid)
357
+ end
358
+ end
359
+
360
+ # Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
361
+ class CustomerId
362
+ include Google::Apis::Core::Hashable
363
+
364
+ #
365
+ # Corresponds to the JSON property `customerId`
366
+ # @return [String]
367
+ attr_accessor :customer_id
368
+
369
+ def initialize(**args)
370
+ update!(**args)
371
+ end
372
+
373
+ # Update properties of this object
374
+ def update!(**args)
375
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
376
+ end
377
+ end
378
+
226
379
  # Aggregation of items by status code as of the specified date.
227
380
  class CustomerIndexStats
228
381
  include Google::Apis::Core::Hashable
@@ -755,6 +908,25 @@ module Google
755
908
  end
756
909
  end
757
910
 
911
+ #
912
+ class DmId
913
+ include Google::Apis::Core::Hashable
914
+
915
+ # Unique server assigned Id, per Direct Message Space.
916
+ # Corresponds to the JSON property `dmId`
917
+ # @return [String]
918
+ attr_accessor :dm_id
919
+
920
+ def initialize(**args)
921
+ update!(**args)
922
+ end
923
+
924
+ # Update properties of this object
925
+ def update!(**args)
926
+ @dm_id = args[:dm_id] if args.key?(:dm_id)
927
+ end
928
+ end
929
+
758
930
  # Used to provide a search operator for double properties. This is optional.
759
931
  # Search operators let users restrict the query to specific fields relevant to
760
932
  # the type of item being searched.
@@ -894,6 +1066,50 @@ module Google
894
1066
  end
895
1067
  end
896
1068
 
1069
+ # This is the proto for holding space level scoring information. This data is
1070
+ # used for logging in query-api server and for testing purposes.
1071
+ class DynamiteSpacesScoringInfo
1072
+ include Google::Apis::Core::Hashable
1073
+
1074
+ #
1075
+ # Corresponds to the JSON property `finalScore`
1076
+ # @return [Float]
1077
+ attr_accessor :final_score
1078
+
1079
+ #
1080
+ # Corresponds to the JSON property `freshnessScore`
1081
+ # @return [Float]
1082
+ attr_accessor :freshness_score
1083
+
1084
+ #
1085
+ # Corresponds to the JSON property `messageScore`
1086
+ # @return [Float]
1087
+ attr_accessor :message_score
1088
+
1089
+ #
1090
+ # Corresponds to the JSON property `spaceAgeInDays`
1091
+ # @return [Float]
1092
+ attr_accessor :space_age_in_days
1093
+
1094
+ #
1095
+ # Corresponds to the JSON property `topicalityScore`
1096
+ # @return [Float]
1097
+ attr_accessor :topicality_score
1098
+
1099
+ def initialize(**args)
1100
+ update!(**args)
1101
+ end
1102
+
1103
+ # Update properties of this object
1104
+ def update!(**args)
1105
+ @final_score = args[:final_score] if args.key?(:final_score)
1106
+ @freshness_score = args[:freshness_score] if args.key?(:freshness_score)
1107
+ @message_score = args[:message_score] if args.key?(:message_score)
1108
+ @space_age_in_days = args[:space_age_in_days] if args.key?(:space_age_in_days)
1109
+ @topicality_score = args[:topicality_score] if args.key?(:topicality_score)
1110
+ end
1111
+ end
1112
+
897
1113
  # A person's email address.
898
1114
  class EmailAddress
899
1115
  include Google::Apis::Core::Hashable
@@ -913,6 +1129,33 @@ module Google
913
1129
  end
914
1130
  end
915
1131
 
1132
+ #
1133
+ class Emoji
1134
+ include Google::Apis::Core::Hashable
1135
+
1136
+ # Proto representation of a custom emoji. May be used in both APIs and in
1137
+ # Spanner, but certain fields should be restricted to one or the other. See the
1138
+ # per-field documentation for details. NEXT_TAG: 11
1139
+ # Corresponds to the JSON property `customEmoji`
1140
+ # @return [Google::Apis::CloudsearchV1::CustomEmoji]
1141
+ attr_accessor :custom_emoji
1142
+
1143
+ # A basic emoji represented by a unicode string.
1144
+ # Corresponds to the JSON property `unicode`
1145
+ # @return [String]
1146
+ attr_accessor :unicode
1147
+
1148
+ def initialize(**args)
1149
+ update!(**args)
1150
+ end
1151
+
1152
+ # Update properties of this object
1153
+ def update!(**args)
1154
+ @custom_emoji = args[:custom_emoji] if args.key?(:custom_emoji)
1155
+ @unicode = args[:unicode] if args.key?(:unicode)
1156
+ end
1157
+ end
1158
+
916
1159
  # Used to provide a search operator for enum properties. This is optional.
917
1160
  # Search operators let users restrict the query to specific fields relevant to
918
1161
  # the type of item being searched. For example, if you provide no operator for a
@@ -1697,6 +1940,32 @@ module Google
1697
1940
  end
1698
1941
  end
1699
1942
 
1943
+ # Id representing a group that could be a space, a chat, or a direct message
1944
+ # space. Which ID is set here will determine which group
1945
+ class GroupId
1946
+ include Google::Apis::Core::Hashable
1947
+
1948
+ # Unique, immutable ID of the Direct Message Space
1949
+ # Corresponds to the JSON property `dmId`
1950
+ # @return [Google::Apis::CloudsearchV1::DmId]
1951
+ attr_accessor :dm_id
1952
+
1953
+ # Primary key for Space resource.
1954
+ # Corresponds to the JSON property `spaceId`
1955
+ # @return [Google::Apis::CloudsearchV1::SpaceId]
1956
+ attr_accessor :space_id
1957
+
1958
+ def initialize(**args)
1959
+ update!(**args)
1960
+ end
1961
+
1962
+ # Update properties of this object
1963
+ def update!(**args)
1964
+ @dm_id = args[:dm_id] if args.key?(:dm_id)
1965
+ @space_id = args[:space_id] if args.key?(:space_id)
1966
+ end
1967
+ end
1968
+
1700
1969
  # Used to provide a search operator for html properties. This is optional.
1701
1970
  # Search operators let users restrict the query to specific fields relevant to
1702
1971
  # the type of item being searched.
@@ -4500,8 +4769,8 @@ module Google
4500
4769
  # @return [Fixnum]
4501
4770
  attr_accessor :page_size
4502
4771
 
4503
- # The raw query string. See supported search operators in the [Cloud search
4504
- # Cheat Sheet](https://support.google.com/a/users/answer/9299929)
4772
+ # The raw query string. See supported search operators in the [Narrow your
4773
+ # search with operators](https://support.google.com/cloudsearch/answer/6172299)
4505
4774
  # Corresponds to the JSON property `query`
4506
4775
  # @return [String]
4507
4776
  attr_accessor :query
@@ -4910,6 +5179,88 @@ module Google
4910
5179
  end
4911
5180
  end
4912
5181
 
5182
+ # Primary key for Space resource.
5183
+ class SpaceId
5184
+ include Google::Apis::Core::Hashable
5185
+
5186
+ # Unique, immutable ID of the Space
5187
+ # Corresponds to the JSON property `spaceId`
5188
+ # @return [String]
5189
+ attr_accessor :space_id
5190
+
5191
+ def initialize(**args)
5192
+ update!(**args)
5193
+ end
5194
+
5195
+ # Update properties of this object
5196
+ def update!(**args)
5197
+ @space_id = args[:space_id] if args.key?(:space_id)
5198
+ end
5199
+ end
5200
+
5201
+ # Defines the representation of a single matching space.
5202
+ class SpaceInfo
5203
+ include Google::Apis::Core::Hashable
5204
+
5205
+ #
5206
+ # Corresponds to the JSON property `avatarInfo`
5207
+ # @return [Google::Apis::CloudsearchV1::AvatarInfo]
5208
+ attr_accessor :avatar_info
5209
+
5210
+ #
5211
+ # Corresponds to the JSON property `avatarUrl`
5212
+ # @return [String]
5213
+ attr_accessor :avatar_url
5214
+
5215
+ #
5216
+ # Corresponds to the JSON property `description`
5217
+ # @return [String]
5218
+ attr_accessor :description
5219
+
5220
+ # Id representing a group that could be a space, a chat, or a direct message
5221
+ # space. Which ID is set here will determine which group
5222
+ # Corresponds to the JSON property `groupId`
5223
+ # @return [Google::Apis::CloudsearchV1::GroupId]
5224
+ attr_accessor :group_id
5225
+
5226
+ # Whether this is an external space outside of user's organization
5227
+ # Corresponds to the JSON property `isExternal`
5228
+ # @return [Boolean]
5229
+ attr_accessor :is_external
5230
+ alias_method :is_external?, :is_external
5231
+
5232
+ #
5233
+ # Corresponds to the JSON property `name`
5234
+ # @return [String]
5235
+ attr_accessor :name
5236
+
5237
+ #
5238
+ # Corresponds to the JSON property `numMembers`
5239
+ # @return [Fixnum]
5240
+ attr_accessor :num_members
5241
+
5242
+ # searching user's membership state in this space
5243
+ # Corresponds to the JSON property `userMembershipState`
5244
+ # @return [String]
5245
+ attr_accessor :user_membership_state
5246
+
5247
+ def initialize(**args)
5248
+ update!(**args)
5249
+ end
5250
+
5251
+ # Update properties of this object
5252
+ def update!(**args)
5253
+ @avatar_info = args[:avatar_info] if args.key?(:avatar_info)
5254
+ @avatar_url = args[:avatar_url] if args.key?(:avatar_url)
5255
+ @description = args[:description] if args.key?(:description)
5256
+ @group_id = args[:group_id] if args.key?(:group_id)
5257
+ @is_external = args[:is_external] if args.key?(:is_external)
5258
+ @name = args[:name] if args.key?(:name)
5259
+ @num_members = args[:num_members] if args.key?(:num_members)
5260
+ @user_membership_state = args[:user_membership_state] if args.key?(:user_membership_state)
5261
+ end
5262
+ end
5263
+
4913
5264
  #
4914
5265
  class SpellResult
4915
5266
  include Google::Apis::Core::Hashable
@@ -5461,6 +5812,40 @@ module Google
5461
5812
  end
5462
5813
  end
5463
5814
 
5815
+ # Primary key for User resource.
5816
+ class UserId
5817
+ include Google::Apis::Core::Hashable
5818
+
5819
+ # Opaque, server-assigned ID of the User.
5820
+ # Corresponds to the JSON property `id`
5821
+ # @return [String]
5822
+ attr_accessor :id
5823
+
5824
+ # Identifier of an App.
5825
+ # Corresponds to the JSON property `originAppId`
5826
+ # @return [Google::Apis::CloudsearchV1::AppId]
5827
+ attr_accessor :origin_app_id
5828
+
5829
+ # Clients do not need to send UserType to Backend, but Backend will always send
5830
+ # this field to clients per the following rule: 1. For HUMAN Ids, the field is
5831
+ # empty but by default .getType() will return HUMAN. 2. For BOT Ids, the field
5832
+ # is ALWAYS set to BOT.
5833
+ # Corresponds to the JSON property `type`
5834
+ # @return [String]
5835
+ attr_accessor :type
5836
+
5837
+ def initialize(**args)
5838
+ update!(**args)
5839
+ end
5840
+
5841
+ # Update properties of this object
5842
+ def update!(**args)
5843
+ @id = args[:id] if args.key?(:id)
5844
+ @origin_app_id = args[:origin_app_id] if args.key?(:origin_app_id)
5845
+ @type = args[:type] if args.key?(:type)
5846
+ end
5847
+ end
5848
+
5464
5849
  #
5465
5850
  class VpcSettings
5466
5851
  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.19.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220201"
25
+ REVISION = "20220301"
26
26
  end
27
27
  end
28
28
  end
@@ -28,12 +28,24 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AppId
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AuditLoggingSettings
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
34
40
  include Google::Apis::Core::JsonObjectSupport
35
41
  end
36
42
 
43
+ class AvatarInfo
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class BooleanOperatorOptions
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -64,6 +76,18 @@ module Google
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
79
+ class CustomEmoji
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CustomerId
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
67
91
  class CustomerIndexStats
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
@@ -160,6 +184,12 @@ module Google
160
184
  include Google::Apis::Core::JsonObjectSupport
161
185
  end
162
186
 
187
+ class DmId
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
163
193
  class DoubleOperatorOptions
164
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
195
 
@@ -202,12 +232,24 @@ module Google
202
232
  include Google::Apis::Core::JsonObjectSupport
203
233
  end
204
234
 
235
+ class DynamiteSpacesScoringInfo
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
205
241
  class EmailAddress
206
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
243
 
208
244
  include Google::Apis::Core::JsonObjectSupport
209
245
  end
210
246
 
247
+ class Emoji
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
211
253
  class EnumOperatorOptions
212
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
255
 
@@ -358,6 +400,12 @@ module Google
358
400
  include Google::Apis::Core::JsonObjectSupport
359
401
  end
360
402
 
403
+ class GroupId
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
361
409
  class HtmlOperatorOptions
362
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
411
 
@@ -880,6 +928,18 @@ module Google
880
928
  include Google::Apis::Core::JsonObjectSupport
881
929
  end
882
930
 
931
+ class SpaceId
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class SpaceInfo
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
883
943
  class SpellResult
884
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
945
 
@@ -1000,6 +1060,12 @@ module Google
1000
1060
  include Google::Apis::Core::JsonObjectSupport
1001
1061
  end
1002
1062
 
1063
+ class UserId
1064
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1065
+
1066
+ include Google::Apis::Core::JsonObjectSupport
1067
+ end
1068
+
1003
1069
  class VpcSettings
1004
1070
  class Representation < Google::Apis::Core::JsonRepresentation; end
1005
1071
 
@@ -1033,6 +1099,15 @@ module Google
1033
1099
  end
1034
1100
  end
1035
1101
 
1102
+ class AppId
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ property :app_type, as: 'appType'
1106
+ property :gsuite_app_type, as: 'gsuiteAppType'
1107
+ property :id, :numeric_string => true, as: 'id'
1108
+ end
1109
+ end
1110
+
1036
1111
  class AuditLoggingSettings
1037
1112
  # @private
1038
1113
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1043,6 +1118,14 @@ module Google
1043
1118
  end
1044
1119
  end
1045
1120
 
1121
+ class AvatarInfo
1122
+ # @private
1123
+ class Representation < Google::Apis::Core::JsonRepresentation
1124
+ property :emoji, as: 'emoji', class: Google::Apis::CloudsearchV1::Emoji, decorator: Google::Apis::CloudsearchV1::Emoji::Representation
1125
+
1126
+ end
1127
+ end
1128
+
1046
1129
  class BooleanOperatorOptions
1047
1130
  # @private
1048
1131
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1082,6 +1165,30 @@ module Google
1082
1165
  end
1083
1166
  end
1084
1167
 
1168
+ class CustomEmoji
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ property :blob_id, as: 'blobId'
1172
+ property :create_time_micros, :numeric_string => true, as: 'createTimeMicros'
1173
+ property :creator_user_id, as: 'creatorUserId', class: Google::Apis::CloudsearchV1::UserId, decorator: Google::Apis::CloudsearchV1::UserId::Representation
1174
+
1175
+ property :owner_customer_id, as: 'ownerCustomerId', class: Google::Apis::CloudsearchV1::CustomerId, decorator: Google::Apis::CloudsearchV1::CustomerId::Representation
1176
+
1177
+ property :read_token, as: 'readToken'
1178
+ property :shortcode, as: 'shortcode'
1179
+ property :state, as: 'state'
1180
+ property :update_time_micros, :numeric_string => true, as: 'updateTimeMicros'
1181
+ property :uuid, as: 'uuid'
1182
+ end
1183
+ end
1184
+
1185
+ class CustomerId
1186
+ # @private
1187
+ class Representation < Google::Apis::Core::JsonRepresentation
1188
+ property :customer_id, as: 'customerId'
1189
+ end
1190
+ end
1191
+
1085
1192
  class CustomerIndexStats
1086
1193
  # @private
1087
1194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1235,6 +1342,13 @@ module Google
1235
1342
  end
1236
1343
  end
1237
1344
 
1345
+ class DmId
1346
+ # @private
1347
+ class Representation < Google::Apis::Core::JsonRepresentation
1348
+ property :dm_id, as: 'dmId'
1349
+ end
1350
+ end
1351
+
1238
1352
  class DoubleOperatorOptions
1239
1353
  # @private
1240
1354
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1285,6 +1399,17 @@ module Google
1285
1399
  end
1286
1400
  end
1287
1401
 
1402
+ class DynamiteSpacesScoringInfo
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :final_score, as: 'finalScore'
1406
+ property :freshness_score, as: 'freshnessScore'
1407
+ property :message_score, as: 'messageScore'
1408
+ property :space_age_in_days, as: 'spaceAgeInDays'
1409
+ property :topicality_score, as: 'topicalityScore'
1410
+ end
1411
+ end
1412
+
1288
1413
  class EmailAddress
1289
1414
  # @private
1290
1415
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1292,6 +1417,15 @@ module Google
1292
1417
  end
1293
1418
  end
1294
1419
 
1420
+ class Emoji
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ property :custom_emoji, as: 'customEmoji', class: Google::Apis::CloudsearchV1::CustomEmoji, decorator: Google::Apis::CloudsearchV1::CustomEmoji::Representation
1424
+
1425
+ property :unicode, as: 'unicode'
1426
+ end
1427
+ end
1428
+
1295
1429
  class EnumOperatorOptions
1296
1430
  # @private
1297
1431
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1523,6 +1657,16 @@ module Google
1523
1657
  end
1524
1658
  end
1525
1659
 
1660
+ class GroupId
1661
+ # @private
1662
+ class Representation < Google::Apis::Core::JsonRepresentation
1663
+ property :dm_id, as: 'dmId', class: Google::Apis::CloudsearchV1::DmId, decorator: Google::Apis::CloudsearchV1::DmId::Representation
1664
+
1665
+ property :space_id, as: 'spaceId', class: Google::Apis::CloudsearchV1::SpaceId, decorator: Google::Apis::CloudsearchV1::SpaceId::Representation
1666
+
1667
+ end
1668
+ end
1669
+
1526
1670
  class HtmlOperatorOptions
1527
1671
  # @private
1528
1672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2449,6 +2593,29 @@ module Google
2449
2593
  end
2450
2594
  end
2451
2595
 
2596
+ class SpaceId
2597
+ # @private
2598
+ class Representation < Google::Apis::Core::JsonRepresentation
2599
+ property :space_id, as: 'spaceId'
2600
+ end
2601
+ end
2602
+
2603
+ class SpaceInfo
2604
+ # @private
2605
+ class Representation < Google::Apis::Core::JsonRepresentation
2606
+ property :avatar_info, as: 'avatarInfo', class: Google::Apis::CloudsearchV1::AvatarInfo, decorator: Google::Apis::CloudsearchV1::AvatarInfo::Representation
2607
+
2608
+ property :avatar_url, as: 'avatarUrl'
2609
+ property :description, as: 'description'
2610
+ property :group_id, as: 'groupId', class: Google::Apis::CloudsearchV1::GroupId, decorator: Google::Apis::CloudsearchV1::GroupId::Representation
2611
+
2612
+ property :is_external, as: 'isExternal'
2613
+ property :name, as: 'name'
2614
+ property :num_members, as: 'numMembers'
2615
+ property :user_membership_state, as: 'userMembershipState'
2616
+ end
2617
+ end
2618
+
2452
2619
  class SpellResult
2453
2620
  # @private
2454
2621
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2626,6 +2793,16 @@ module Google
2626
2793
  end
2627
2794
  end
2628
2795
 
2796
+ class UserId
2797
+ # @private
2798
+ class Representation < Google::Apis::Core::JsonRepresentation
2799
+ property :id, as: 'id'
2800
+ property :origin_app_id, as: 'originAppId', class: Google::Apis::CloudsearchV1::AppId, decorator: Google::Apis::CloudsearchV1::AppId::Representation
2801
+
2802
+ property :type, as: 'type'
2803
+ end
2804
+ end
2805
+
2629
2806
  class VpcSettings
2630
2807
  # @private
2631
2808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1169,8 +1169,8 @@ module Google
1169
1169
  # If you are asked by Google to help with debugging, set this field. Otherwise,
1170
1170
  # ignore this field.
1171
1171
  # @param [Fixnum] page_size
1172
- # Maximum number of datasources to fetch in a request. The max value is 100. The
1173
- # default value is 10
1172
+ # Maximum number of datasources to fetch in a request. The max value is 1000.
1173
+ # The default value is 1000.
1174
1174
  # @param [String] page_token
1175
1175
  # Starting index of the results.
1176
1176
  # @param [String] fields
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.19.0
4
+ version: 0.22.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-14 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.22.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: []