google-apis-cloudsearch_v1 0.47.0 → 0.48.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: 55315fcb4de9636b71e89547ec824d0bd6c7fd13f5fbbf6e72dfa00a0dd16952
4
- data.tar.gz: 2e1419b646729c00283e79cae554371cfc68228e647e442610e8bb80d32b3025
3
+ metadata.gz: 13d81183bfc08575079401ba28731c53f75f18da72c48a067c978b0a6668e271
4
+ data.tar.gz: d26d09656bb7b53d16ff52bb5bf18c42fb58f16916ae118a37fefa9c906a50fe
5
5
  SHA512:
6
- metadata.gz: 18def3b5e930c2eb70649769e76b91aa2c289a558a787855f67c542daf611fc3c61d36d4b099eaa456abbe886e8c471f8111d466151e00d6993947f10cd5b9aa
7
- data.tar.gz: ca865c07875eaa6ae8e62ddb17addec1eec16072820528bec30bd7c5358c77bcad035696703d0c94ebcbc5218526358a70ff7aacb9be9e8861182d93ba4ad30f
6
+ metadata.gz: e2066317cf968301804cf49e47c0e81b514b72c2cc25d08bae063ffd372dba902f0180711048fb11eb4245fdc0c61c5d05b298ec8e1dc96d8a6dc6cc2525d2c0
7
+ data.tar.gz: b733b93948ef46b1269f3b560b369b46157e50e6a8e47c7c7cd511c38c46f4b0b7056d3b5e3bbee9b199b8df3432249eb5127b03ac5eed3bb8925cca3147c440
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.48.0 (2023-04-02)
4
+
5
+ * Regenerated from discovery document revision 20230321
6
+
3
7
  ### v0.47.0 (2023-03-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20230307
@@ -303,7 +303,7 @@ module Google
303
303
 
304
304
  # NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new
305
305
  # fields with potential PII, so they get scrubbed when logging protos for errors.
306
- # NEXT TAG: 31
306
+ # NEXT TAG: 32
307
307
  class Annotation
308
308
  include Google::Apis::Core::Hashable
309
309
 
@@ -325,6 +325,12 @@ module Google
325
325
  # @return [String]
326
326
  attr_accessor :chip_render_type
327
327
 
328
+ # Metadata used to describe search information in a specific component of a chat
329
+ # message, for example an annotation or an attachment.
330
+ # Corresponds to the JSON property `componentSearchInfo`
331
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo]
332
+ attr_accessor :component_search_info
333
+
328
334
  # Annotation metadata app unfurl consent.
329
335
  # Corresponds to the JSON property `consentedAppUnfurlMetadata`
330
336
  # @return [Google::Apis::CloudsearchV1::ConsentedAppUnfurlMetadata]
@@ -358,7 +364,7 @@ module Google
358
364
  # @return [Google::Apis::CloudsearchV1::GroupRetentionSettingsUpdatedMetaData]
359
365
  attr_accessor :group_retention_settings_updated
360
366
 
361
- # Annotation metadata for an GsuiteIntegration artifact.
367
+ # Annotation metadata for a GsuiteIntegration artifact.
362
368
  # Corresponds to the JSON property `gsuiteIntegrationMetadata`
363
369
  # @return [Google::Apis::CloudsearchV1::GsuiteIntegrationMetadata]
364
370
  attr_accessor :gsuite_integration_metadata
@@ -497,6 +503,7 @@ module Google
497
503
  @babel_placeholder_metadata = args[:babel_placeholder_metadata] if args.key?(:babel_placeholder_metadata)
498
504
  @card_capability_metadata = args[:card_capability_metadata] if args.key?(:card_capability_metadata)
499
505
  @chip_render_type = args[:chip_render_type] if args.key?(:chip_render_type)
506
+ @component_search_info = args[:component_search_info] if args.key?(:component_search_info)
500
507
  @consented_app_unfurl_metadata = args[:consented_app_unfurl_metadata] if args.key?(:consented_app_unfurl_metadata)
501
508
  @custom_emoji_metadata = args[:custom_emoji_metadata] if args.key?(:custom_emoji_metadata)
502
509
  @data_loss_prevention_metadata = args[:data_loss_prevention_metadata] if args.key?(:data_loss_prevention_metadata)
@@ -1770,6 +1777,33 @@ module Google
1770
1777
  end
1771
1778
  end
1772
1779
 
1780
+ # Metadata used to describe search information in a specific component of a chat
1781
+ # message, for example an annotation or an attachment.
1782
+ class AppsDynamiteSharedMessageComponentSearchInfo
1783
+ include Google::Apis::Core::Hashable
1784
+
1785
+ # Whether the whole component matched the search.
1786
+ # Corresponds to the JSON property `matchedSearch`
1787
+ # @return [Boolean]
1788
+ attr_accessor :matched_search
1789
+ alias_method :matched_search?, :matched_search
1790
+
1791
+ # Defines a text with descriptive text segments associated.
1792
+ # Corresponds to the JSON property `titleTextWithDescription`
1793
+ # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription]
1794
+ attr_accessor :title_text_with_description
1795
+
1796
+ def initialize(**args)
1797
+ update!(**args)
1798
+ end
1799
+
1800
+ # Update properties of this object
1801
+ def update!(**args)
1802
+ @matched_search = args[:matched_search] if args.key?(:matched_search)
1803
+ @title_text_with_description = args[:title_text_with_description] if args.key?(:title_text_with_description)
1804
+ end
1805
+ end
1806
+
1773
1807
  # Information that references a Dynamite chat message. This is only used for
1774
1808
  # Activity Feed messages.
1775
1809
  class AppsDynamiteSharedMessageInfo
@@ -2355,6 +2389,81 @@ module Google
2355
2389
  end
2356
2390
  end
2357
2391
 
2392
+ # Defines a segment in a text.
2393
+ class AppsDynamiteSharedTextSegment
2394
+ include Google::Apis::Core::Hashable
2395
+
2396
+ # Length of the segment in the text.
2397
+ # Corresponds to the JSON property `length`
2398
+ # @return [Fixnum]
2399
+ attr_accessor :length
2400
+
2401
+ # Start index (0-indexed and inclusive) of the segment in the text.
2402
+ # Corresponds to the JSON property `startIndex`
2403
+ # @return [Fixnum]
2404
+ attr_accessor :start_index
2405
+
2406
+ def initialize(**args)
2407
+ update!(**args)
2408
+ end
2409
+
2410
+ # Update properties of this object
2411
+ def update!(**args)
2412
+ @length = args[:length] if args.key?(:length)
2413
+ @start_index = args[:start_index] if args.key?(:start_index)
2414
+ end
2415
+ end
2416
+
2417
+ # Defines text segments with description type associated.
2418
+ class AppsDynamiteSharedTextSegmentsWithDescription
2419
+ include Google::Apis::Core::Hashable
2420
+
2421
+ #
2422
+ # Corresponds to the JSON property `descriptionType`
2423
+ # @return [String]
2424
+ attr_accessor :description_type
2425
+
2426
+ #
2427
+ # Corresponds to the JSON property `textSegment`
2428
+ # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegment>]
2429
+ attr_accessor :text_segment
2430
+
2431
+ def initialize(**args)
2432
+ update!(**args)
2433
+ end
2434
+
2435
+ # Update properties of this object
2436
+ def update!(**args)
2437
+ @description_type = args[:description_type] if args.key?(:description_type)
2438
+ @text_segment = args[:text_segment] if args.key?(:text_segment)
2439
+ end
2440
+ end
2441
+
2442
+ # Defines a text with descriptive text segments associated.
2443
+ class AppsDynamiteSharedTextWithDescription
2444
+ include Google::Apis::Core::Hashable
2445
+
2446
+ #
2447
+ # Corresponds to the JSON property `textBody`
2448
+ # @return [String]
2449
+ attr_accessor :text_body
2450
+
2451
+ #
2452
+ # Corresponds to the JSON property `textSegmentsWithDescription`
2453
+ # @return [Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription>]
2454
+ attr_accessor :text_segments_with_description
2455
+
2456
+ def initialize(**args)
2457
+ update!(**args)
2458
+ end
2459
+
2460
+ # Update properties of this object
2461
+ def update!(**args)
2462
+ @text_body = args[:text_body] if args.key?(:text_body)
2463
+ @text_segments_with_description = args[:text_segments_with_description] if args.key?(:text_segments_with_description)
2464
+ end
2465
+ end
2466
+
2358
2467
  # User-block relationship
2359
2468
  class AppsDynamiteSharedUserBlockRelationship
2360
2469
  include Google::Apis::Core::Hashable
@@ -7373,12 +7482,42 @@ module Google
7373
7482
  end
7374
7483
  end
7375
7484
 
7485
+ #
7486
+ class DlpAction
7487
+ include Google::Apis::Core::Hashable
7488
+
7489
+ #
7490
+ # Corresponds to the JSON property `actionType`
7491
+ # @return [String]
7492
+ attr_accessor :action_type
7493
+
7494
+ # The custom error message defined by the customer administrator.
7495
+ # Corresponds to the JSON property `unsafeHtmlMessageBody`
7496
+ # @return [String]
7497
+ attr_accessor :unsafe_html_message_body
7498
+
7499
+ def initialize(**args)
7500
+ update!(**args)
7501
+ end
7502
+
7503
+ # Update properties of this object
7504
+ def update!(**args)
7505
+ @action_type = args[:action_type] if args.key?(:action_type)
7506
+ @unsafe_html_message_body = args[:unsafe_html_message_body] if args.key?(:unsafe_html_message_body)
7507
+ end
7508
+ end
7509
+
7376
7510
  # A summary of a DLP scan event. This is a summary and should contain the
7377
7511
  # minimum amount of data required to identify and process DLP scans. It is
7378
7512
  # written to Starcast and encoded & returned to the client on attachment upload.
7379
7513
  class DlpScanSummary
7380
7514
  include Google::Apis::Core::Hashable
7381
7515
 
7516
+ #
7517
+ # Corresponds to the JSON property `dlpAction`
7518
+ # @return [Google::Apis::CloudsearchV1::DlpAction]
7519
+ attr_accessor :dlp_action
7520
+
7382
7521
  # The scan ID of the corresponding `@link DlpViolationScanRecord` in the `@link
7383
7522
  # EphemeralDlpScans` Spanner table. This can be used to fetch additional details
7384
7523
  # about the scan, e.g. for audit logging.
@@ -7410,6 +7549,7 @@ module Google
7410
7549
 
7411
7550
  # Update properties of this object
7412
7551
  def update!(**args)
7552
+ @dlp_action = args[:dlp_action] if args.key?(:dlp_action)
7413
7553
  @scan_id = args[:scan_id] if args.key?(:scan_id)
7414
7554
  @scan_not_applicable_for_context = args[:scan_not_applicable_for_context] if args.key?(:scan_not_applicable_for_context)
7415
7555
  @scan_outcome = args[:scan_outcome] if args.key?(:scan_outcome)
@@ -7974,6 +8114,11 @@ module Google
7974
8114
  # @return [Fixnum]
7975
8115
  attr_accessor :last_read_timestamp_secs
7976
8116
 
8117
+ #
8118
+ # Corresponds to the JSON property `memberCountScore`
8119
+ # @return [Float]
8120
+ attr_accessor :member_count_score
8121
+
7977
8122
  #
7978
8123
  # Corresponds to the JSON property `memberMetadataCount`
7979
8124
  # @return [Float]
@@ -8028,6 +8173,7 @@ module Google
8028
8173
  @joined_spaces_affinity_score = args[:joined_spaces_affinity_score] if args.key?(:joined_spaces_affinity_score)
8029
8174
  @last_message_posted_timestamp_secs = args[:last_message_posted_timestamp_secs] if args.key?(:last_message_posted_timestamp_secs)
8030
8175
  @last_read_timestamp_secs = args[:last_read_timestamp_secs] if args.key?(:last_read_timestamp_secs)
8176
+ @member_count_score = args[:member_count_score] if args.key?(:member_count_score)
8031
8177
  @member_metadata_count = args[:member_metadata_count] if args.key?(:member_metadata_count)
8032
8178
  @message_score = args[:message_score] if args.key?(:message_score)
8033
8179
  @num_auc_contacts = args[:num_auc_contacts] if args.key?(:num_auc_contacts)
@@ -10457,7 +10603,7 @@ module Google
10457
10603
  end
10458
10604
  end
10459
10605
 
10460
- # Annotation metadata for an GsuiteIntegration artifact.
10606
+ # Annotation metadata for a GsuiteIntegration artifact.
10461
10607
  class GsuiteIntegrationMetadata
10462
10608
  include Google::Apis::Core::Hashable
10463
10609
 
@@ -10905,7 +11051,12 @@ module Google
10905
11051
  include Google::Apis::Core::Hashable
10906
11052
 
10907
11053
  # 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.
11054
+ # GAIA, then it's the gaia_id of the user this id is referring to. This field
11055
+ # should really be called the "bucket ID", not the creator ID. In some
11056
+ # circumstances, such as copying a Google Docs file, a user can create an item
11057
+ # in a different user's bucket, so it should not be relied upon for anything
11058
+ # other than bucket location. To look up the requesting user who initially
11059
+ # created item, use the `creator_id` DirEntry field instead.
10909
11060
  # Corresponds to the JSON property `creatorUserId`
10910
11061
  # @return [Fixnum]
10911
11062
  attr_accessor :creator_user_id
@@ -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.47.0"
19
+ GEM_VERSION = "0.48.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 = "20230307"
25
+ REVISION = "20230321"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class AppsDynamiteSharedMessageComponentSearchInfo
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class AppsDynamiteSharedMessageInfo
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -436,6 +442,24 @@ module Google
436
442
  include Google::Apis::Core::JsonObjectSupport
437
443
  end
438
444
 
445
+ class AppsDynamiteSharedTextSegment
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class AppsDynamiteSharedTextSegmentsWithDescription
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class AppsDynamiteSharedTextWithDescription
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
439
463
  class AppsDynamiteSharedUserBlockRelationship
440
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
465
 
@@ -1234,6 +1258,12 @@ module Google
1234
1258
  include Google::Apis::Core::JsonObjectSupport
1235
1259
  end
1236
1260
 
1261
+ class DlpAction
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1237
1267
  class DlpScanSummary
1238
1268
  class Representation < Google::Apis::Core::JsonRepresentation; end
1239
1269
 
@@ -3591,6 +3621,8 @@ module Google
3591
3621
  property :card_capability_metadata, as: 'cardCapabilityMetadata', class: Google::Apis::CloudsearchV1::CardCapabilityMetadata, decorator: Google::Apis::CloudsearchV1::CardCapabilityMetadata::Representation
3592
3622
 
3593
3623
  property :chip_render_type, as: 'chipRenderType'
3624
+ property :component_search_info, as: 'componentSearchInfo', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo::Representation
3625
+
3594
3626
  property :consented_app_unfurl_metadata, as: 'consentedAppUnfurlMetadata', class: Google::Apis::CloudsearchV1::ConsentedAppUnfurlMetadata, decorator: Google::Apis::CloudsearchV1::ConsentedAppUnfurlMetadata::Representation
3595
3627
 
3596
3628
  property :custom_emoji_metadata, as: 'customEmojiMetadata', class: Google::Apis::CloudsearchV1::CustomEmojiMetadata, decorator: Google::Apis::CloudsearchV1::CustomEmojiMetadata::Representation
@@ -4023,6 +4055,15 @@ module Google
4023
4055
  end
4024
4056
  end
4025
4057
 
4058
+ class AppsDynamiteSharedMessageComponentSearchInfo
4059
+ # @private
4060
+ class Representation < Google::Apis::Core::JsonRepresentation
4061
+ property :matched_search, as: 'matchedSearch'
4062
+ property :title_text_with_description, as: 'titleTextWithDescription', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription::Representation
4063
+
4064
+ end
4065
+ end
4066
+
4026
4067
  class AppsDynamiteSharedMessageInfo
4027
4068
  # @private
4028
4069
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4212,6 +4253,32 @@ module Google
4212
4253
  end
4213
4254
  end
4214
4255
 
4256
+ class AppsDynamiteSharedTextSegment
4257
+ # @private
4258
+ class Representation < Google::Apis::Core::JsonRepresentation
4259
+ property :length, as: 'length'
4260
+ property :start_index, as: 'startIndex'
4261
+ end
4262
+ end
4263
+
4264
+ class AppsDynamiteSharedTextSegmentsWithDescription
4265
+ # @private
4266
+ class Representation < Google::Apis::Core::JsonRepresentation
4267
+ property :description_type, as: 'descriptionType'
4268
+ collection :text_segment, as: 'textSegment', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegment, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegment::Representation
4269
+
4270
+ end
4271
+ end
4272
+
4273
+ class AppsDynamiteSharedTextWithDescription
4274
+ # @private
4275
+ class Representation < Google::Apis::Core::JsonRepresentation
4276
+ property :text_body, as: 'textBody'
4277
+ collection :text_segments_with_description, as: 'textSegmentsWithDescription', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription::Representation
4278
+
4279
+ end
4280
+ end
4281
+
4215
4282
  class AppsDynamiteSharedUserBlockRelationship
4216
4283
  # @private
4217
4284
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5619,9 +5686,19 @@ module Google
5619
5686
  end
5620
5687
  end
5621
5688
 
5689
+ class DlpAction
5690
+ # @private
5691
+ class Representation < Google::Apis::Core::JsonRepresentation
5692
+ property :action_type, as: 'actionType'
5693
+ property :unsafe_html_message_body, as: 'unsafeHtmlMessageBody'
5694
+ end
5695
+ end
5696
+
5622
5697
  class DlpScanSummary
5623
5698
  # @private
5624
5699
  class Representation < Google::Apis::Core::JsonRepresentation
5700
+ property :dlp_action, as: 'dlpAction', class: Google::Apis::CloudsearchV1::DlpAction, decorator: Google::Apis::CloudsearchV1::DlpAction::Representation
5701
+
5625
5702
  property :scan_id, as: 'scanId'
5626
5703
  property :scan_not_applicable_for_context, as: 'scanNotApplicableForContext'
5627
5704
  property :scan_outcome, as: 'scanOutcome'
@@ -5772,6 +5849,7 @@ module Google
5772
5849
  property :joined_spaces_affinity_score, as: 'joinedSpacesAffinityScore'
5773
5850
  property :last_message_posted_timestamp_secs, :numeric_string => true, as: 'lastMessagePostedTimestampSecs'
5774
5851
  property :last_read_timestamp_secs, :numeric_string => true, as: 'lastReadTimestampSecs'
5852
+ property :member_count_score, as: 'memberCountScore'
5775
5853
  property :member_metadata_count, as: 'memberMetadataCount'
5776
5854
  property :message_score, as: 'messageScore'
5777
5855
  property :num_auc_contacts, :numeric_string => true, as: 'numAucContacts'
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.47.0
4
+ version: 0.48.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-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-02 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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.48.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: []