google-apis-cloudsearch_v1 0.37.0 → 0.38.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: 6ea9d3eb1bb8235c45fedff21a43ff54bc310932457f17525359837759d129e7
4
- data.tar.gz: 744d7734481e6021fc52b38c6a38f55c31abadeb6bb1fa3234bf4df3440a249b
3
+ metadata.gz: '094e732212cb92f0cd16b1932c469bb1d239d2513b866845e258c70638a6fa20'
4
+ data.tar.gz: 3de85591aec4d6d9527b43c4ab92bd4e7bca922e45805bf740afc7a214aca128
5
5
  SHA512:
6
- metadata.gz: 22858ac3e2deadf2477bef4a10df30efc024759f2af1740c05dacd4f6326e8f53761b1c33fe3612cd9a4b87c571e170372fdbb83e37167ff95586dc19a70a340
7
- data.tar.gz: ca8059e2f6cdda99209e26eb946613acdb84a772eb5146ed17e2ec75ff47d3bdaf15b0f290894a504749bb15c3cab35f17b9041ef01346b4e49044d4daa6d76c
6
+ metadata.gz: 7f7abbc1ca8bed42bd4386b475da8d3e07442e9d8ebe0cf09e98b06e8cfb1d9dc1efdd7aaf7ffbb031cd8291ccc78cc707f81aa5724d5514b8f58f2450849338
7
+ data.tar.gz: e2f67b3167081697610a359192fa9a9e5fc385db831018cf86da48e381b62e83159aefe83d9f21f23df9b5a129eb9981793842f06aa633d88a5ab6a31415c890
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.38.0 (2022-10-03)
4
+
5
+ * Regenerated from discovery document revision 20220927
6
+
3
7
  ### v0.37.0 (2022-10-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20220920
@@ -4844,14 +4844,6 @@ module Google
4844
4844
  attr_accessor :present_lock
4845
4845
  alias_method :present_lock?, :present_lock
4846
4846
 
4847
- # Indicates whether project Dino is currently on or off. WARNING: This is
4848
- # currently an experimental field. It should not be used without getting an
4849
- # explicit review and approval from the Meet team.
4850
- # Corresponds to the JSON property `projectDinoEnabled`
4851
- # @return [Boolean]
4852
- attr_accessor :project_dino_enabled
4853
- alias_method :project_dino_enabled?, :project_dino_enabled
4854
-
4855
4847
  # Indicates whether the reactions lock is currently on or off.
4856
4848
  # Corresponds to the JSON property `reactionsLock`
4857
4849
  # @return [Boolean]
@@ -4877,7 +4869,6 @@ module Google
4877
4869
  @cse_enabled = args[:cse_enabled] if args.key?(:cse_enabled)
4878
4870
  @moderation_enabled = args[:moderation_enabled] if args.key?(:moderation_enabled)
4879
4871
  @present_lock = args[:present_lock] if args.key?(:present_lock)
4880
- @project_dino_enabled = args[:project_dino_enabled] if args.key?(:project_dino_enabled)
4881
4872
  @reactions_lock = args[:reactions_lock] if args.key?(:reactions_lock)
4882
4873
  @video_lock = args[:video_lock] if args.key?(:video_lock)
4883
4874
  end
@@ -13778,11 +13769,22 @@ module Google
13778
13769
  # @return [String]
13779
13770
  attr_accessor :bot_attachment_state
13780
13771
 
13772
+ # Output only. Time when the quoted message was posted in microseconds.
13773
+ # Corresponds to the JSON property `createTimeMicros`
13774
+ # @return [Fixnum]
13775
+ attr_accessor :create_time_micros
13776
+
13781
13777
  # Primary key for User resource.
13782
13778
  # Corresponds to the JSON property `creatorId`
13783
13779
  # @return [Google::Apis::CloudsearchV1::UserId]
13784
13780
  attr_accessor :creator_id
13785
13781
 
13782
+ # Output only. Time when the quoted message was last edited by a user at the
13783
+ # time when quoting action happens. Time is in microseconds.
13784
+ # Corresponds to the JSON property `lastEditTimeMicros`
13785
+ # @return [Fixnum]
13786
+ attr_accessor :last_edit_time_micros
13787
+
13786
13788
  # The `last_update_time` of the original message when the client initiated the
13787
13789
  # quote creation. This is derived from the request payload passed from clients.
13788
13790
  # Used to fetch the quoted message contents at a specific time on the read path.
@@ -13812,7 +13814,12 @@ module Google
13812
13814
  # @return [String]
13813
13815
  attr_accessor :text_body
13814
13816
 
13815
- # Output only. Upload metadata of the quoted message. NEXT TAG: 11
13817
+ # Primary key for User resource.
13818
+ # Corresponds to the JSON property `updaterId`
13819
+ # @return [Google::Apis::CloudsearchV1::UserId]
13820
+ attr_accessor :updater_id
13821
+
13822
+ # Output only. Upload metadata of the quoted message.
13816
13823
  # Corresponds to the JSON property `uploadMetadata`
13817
13824
  # @return [Array<Google::Apis::CloudsearchV1::UploadMetadata>]
13818
13825
  attr_accessor :upload_metadata
@@ -13826,12 +13833,15 @@ module Google
13826
13833
  @annotations = args[:annotations] if args.key?(:annotations)
13827
13834
  @app_profile = args[:app_profile] if args.key?(:app_profile)
13828
13835
  @bot_attachment_state = args[:bot_attachment_state] if args.key?(:bot_attachment_state)
13836
+ @create_time_micros = args[:create_time_micros] if args.key?(:create_time_micros)
13829
13837
  @creator_id = args[:creator_id] if args.key?(:creator_id)
13838
+ @last_edit_time_micros = args[:last_edit_time_micros] if args.key?(:last_edit_time_micros)
13830
13839
  @last_update_time_when_quoted_micros = args[:last_update_time_when_quoted_micros] if args.key?(:last_update_time_when_quoted_micros)
13831
13840
  @message_id = args[:message_id] if args.key?(:message_id)
13832
13841
  @message_state = args[:message_state] if args.key?(:message_state)
13833
13842
  @retention_settings = args[:retention_settings] if args.key?(:retention_settings)
13834
13843
  @text_body = args[:text_body] if args.key?(:text_body)
13844
+ @updater_id = args[:updater_id] if args.key?(:updater_id)
13835
13845
  @upload_metadata = args[:upload_metadata] if args.key?(:upload_metadata)
13836
13846
  end
13837
13847
  end
@@ -17091,6 +17101,16 @@ module Google
17091
17101
  # @return [Google::Apis::CloudsearchV1::DataSource]
17092
17102
  attr_accessor :source
17093
17103
 
17104
+ # Update mask to control which fields to update. If update_mask is non-empty
17105
+ # then only the fields specified in the update_mask are updated. If you specify
17106
+ # a field in the update_mask, but don't specify its value in the source that
17107
+ # field will be cleared. If the update_mask is not present or empty or has the
17108
+ # value * then all fields will be updated. Some example field paths: name,
17109
+ # display_name
17110
+ # Corresponds to the JSON property `updateMask`
17111
+ # @return [String]
17112
+ attr_accessor :update_mask
17113
+
17094
17114
  def initialize(**args)
17095
17115
  update!(**args)
17096
17116
  end
@@ -17099,6 +17119,7 @@ module Google
17099
17119
  def update!(**args)
17100
17120
  @debug_options = args[:debug_options] if args.key?(:debug_options)
17101
17121
  @source = args[:source] if args.key?(:source)
17122
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
17102
17123
  end
17103
17124
  end
17104
17125
 
@@ -17556,8 +17577,7 @@ module Google
17556
17577
  # will be populated if we can extract such information from the Drive
17557
17578
  # Notification email. This should only be used to fetch user avatars when
17558
17579
  # updater_to_show_email is not populated. This field is not set for non-Drive
17559
- # Notification items. This is not the actual sender of the email, as the sender
17560
- # is always comments-noreply@docs.google.com.
17580
+ # Notification items.
17561
17581
  # Corresponds to the JSON property `driveNotificationAvatarUrl`
17562
17582
  # @return [String]
17563
17583
  attr_accessor :drive_notification_avatar_url
@@ -17591,11 +17611,12 @@ module Google
17591
17611
  # The display name of the updater for clients to show used for Gmail items. For
17592
17612
  # non-Drive Notification items, this field will always be populated. If the
17593
17613
  # display name cannot be found for the user, the fallback string will be the
17594
- # email address. For Drive Notification items, this is the email of the user who
17614
+ # email address. For Drive Notification items, this is the name of the user who
17595
17615
  # triggered the Drive notification email. This field will be populated if we can
17596
- # extract such information from the Drive Notification email. This is not the
17597
- # actual sender of the email, as the sender is always comments-noreply@docs.
17598
- # google.com.
17616
+ # extract such information from the Drive Notification email. If the name cannot
17617
+ # be extracted, then the email will be the fallback string, which is used as the
17618
+ # display name text in the UI when needed. This is not the actual sender of the
17619
+ # email, as the sender is always comments-noreply@docs.google.com.
17599
17620
  # Corresponds to the JSON property `updaterToShowName`
17600
17621
  # @return [String]
17601
17622
  attr_accessor :updater_to_show_name
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220920"
25
+ REVISION = "20220927"
26
26
  end
27
27
  end
28
28
  end
@@ -4334,7 +4334,6 @@ module Google
4334
4334
  property :cse_enabled, as: 'cseEnabled'
4335
4335
  property :moderation_enabled, as: 'moderationEnabled'
4336
4336
  property :present_lock, as: 'presentLock'
4337
- property :project_dino_enabled, as: 'projectDinoEnabled'
4338
4337
  property :reactions_lock, as: 'reactionsLock'
4339
4338
  property :video_lock, as: 'videoLock'
4340
4339
  end
@@ -6868,8 +6867,10 @@ module Google
6868
6867
  property :app_profile, as: 'appProfile', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAppProfile, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedAppProfile::Representation
6869
6868
 
6870
6869
  property :bot_attachment_state, as: 'botAttachmentState'
6870
+ property :create_time_micros, :numeric_string => true, as: 'createTimeMicros'
6871
6871
  property :creator_id, as: 'creatorId', class: Google::Apis::CloudsearchV1::UserId, decorator: Google::Apis::CloudsearchV1::UserId::Representation
6872
6872
 
6873
+ property :last_edit_time_micros, :numeric_string => true, as: 'lastEditTimeMicros'
6873
6874
  property :last_update_time_when_quoted_micros, :numeric_string => true, as: 'lastUpdateTimeWhenQuotedMicros'
6874
6875
  property :message_id, as: 'messageId', class: Google::Apis::CloudsearchV1::MessageId, decorator: Google::Apis::CloudsearchV1::MessageId::Representation
6875
6876
 
@@ -6877,6 +6878,8 @@ module Google
6877
6878
  property :retention_settings, as: 'retentionSettings', class: Google::Apis::CloudsearchV1::AppsDynamiteSharedRetentionSettings, decorator: Google::Apis::CloudsearchV1::AppsDynamiteSharedRetentionSettings::Representation
6878
6879
 
6879
6880
  property :text_body, as: 'textBody'
6881
+ property :updater_id, as: 'updaterId', class: Google::Apis::CloudsearchV1::UserId, decorator: Google::Apis::CloudsearchV1::UserId::Representation
6882
+
6880
6883
  collection :upload_metadata, as: 'uploadMetadata', class: Google::Apis::CloudsearchV1::UploadMetadata, decorator: Google::Apis::CloudsearchV1::UploadMetadata::Representation
6881
6884
 
6882
6885
  end
@@ -7824,6 +7827,7 @@ module Google
7824
7827
 
7825
7828
  property :source, as: 'source', class: Google::Apis::CloudsearchV1::DataSource, decorator: Google::Apis::CloudsearchV1::DataSource::Representation
7826
7829
 
7830
+ property :update_mask, as: 'updateMask'
7827
7831
  end
7828
7832
  end
7829
7833
 
@@ -1213,6 +1213,13 @@ module Google
1213
1213
  # @param [Boolean] debug_options_enable_debugging
1214
1214
  # If you are asked by Google to help with debugging, set this field. Otherwise,
1215
1215
  # ignore this field.
1216
+ # @param [String] update_mask
1217
+ # Update mask to control which fields to update. If update_mask is non-empty
1218
+ # then only the fields specified in the update_mask are updated. If you specify
1219
+ # a field in the update_mask, but don't specify its value in the source that
1220
+ # field will be cleared. If the update_mask is not present or empty or has the
1221
+ # value * then all fields will be updated. Some example field paths: name,
1222
+ # display_name
1216
1223
  # @param [String] fields
1217
1224
  # Selector specifying which fields to include in a partial response.
1218
1225
  # @param [String] quota_user
@@ -1230,7 +1237,7 @@ module Google
1230
1237
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
1238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
1239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
- def patch_setting_datasource(name, data_source_object = nil, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
1240
+ def patch_setting_datasource(name, data_source_object = nil, debug_options_enable_debugging: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1234
1241
  command = make_simple_command(:patch, 'v1/settings/{+name}', options)
1235
1242
  command.request_representation = Google::Apis::CloudsearchV1::DataSource::Representation
1236
1243
  command.request_object = data_source_object
@@ -1238,6 +1245,7 @@ module Google
1238
1245
  command.response_class = Google::Apis::CloudsearchV1::Operation
1239
1246
  command.params['name'] = name unless name.nil?
1240
1247
  command.query['debugOptions.enableDebugging'] = debug_options_enable_debugging unless debug_options_enable_debugging.nil?
1248
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1241
1249
  command.query['fields'] = fields unless fields.nil?
1242
1250
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1243
1251
  execute_or_queue_command(command, &block)
@@ -1425,6 +1433,13 @@ module Google
1425
1433
  # The name of the Search Application. Format: searchapplications/`application_id`
1426
1434
  # .
1427
1435
  # @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
1436
+ # @param [String] update_mask
1437
+ # Update mask to control which fields to update. If update_mask is non-empty
1438
+ # then only the fields specified in the update_mask are updated. If you specify
1439
+ # a field in the update_mask, but don't specify its value in the
1440
+ # search_application then that field will be cleared. If the update_mask is not
1441
+ # present or empty or has the value * then all fields will be updated. Some
1442
+ # example field paths: search_application.name, search_application.display_name
1428
1443
  # @param [String] fields
1429
1444
  # Selector specifying which fields to include in a partial response.
1430
1445
  # @param [String] quota_user
@@ -1442,13 +1457,14 @@ module Google
1442
1457
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1443
1458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1444
1459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1445
- def patch_setting_searchapplication(name, search_application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1460
+ def patch_setting_searchapplication(name, search_application_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1446
1461
  command = make_simple_command(:patch, 'v1/settings/{+name}', options)
1447
1462
  command.request_representation = Google::Apis::CloudsearchV1::SearchApplication::Representation
1448
1463
  command.request_object = search_application_object
1449
1464
  command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
1450
1465
  command.response_class = Google::Apis::CloudsearchV1::Operation
1451
1466
  command.params['name'] = name unless name.nil?
1467
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1452
1468
  command.query['fields'] = fields unless fields.nil?
1453
1469
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1454
1470
  execute_or_queue_command(command, &block)
@@ -1495,6 +1511,13 @@ module Google
1495
1511
  # The name of the Search Application. Format: searchapplications/`application_id`
1496
1512
  # .
1497
1513
  # @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
1514
+ # @param [String] update_mask
1515
+ # Update mask to control which fields to update. If update_mask is non-empty
1516
+ # then only the fields specified in the update_mask are updated. If you specify
1517
+ # a field in the update_mask, but don't specify its value in the
1518
+ # search_application then that field will be cleared. If the update_mask is not
1519
+ # present or empty or has the value * then all fields will be updated. Some
1520
+ # example field paths: search_application.name, search_application.display_name
1498
1521
  # @param [String] fields
1499
1522
  # Selector specifying which fields to include in a partial response.
1500
1523
  # @param [String] quota_user
@@ -1512,13 +1535,14 @@ module Google
1512
1535
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1513
1536
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1514
1537
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1515
- def update_setting_searchapplication(name, search_application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1538
+ def update_setting_searchapplication(name, search_application_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1516
1539
  command = make_simple_command(:put, 'v1/settings/{+name}', options)
1517
1540
  command.request_representation = Google::Apis::CloudsearchV1::SearchApplication::Representation
1518
1541
  command.request_object = search_application_object
1519
1542
  command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
1520
1543
  command.response_class = Google::Apis::CloudsearchV1::Operation
1521
1544
  command.params['name'] = name unless name.nil?
1545
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1522
1546
  command.query['fields'] = fields unless fields.nil?
1523
1547
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1524
1548
  execute_or_queue_command(command, &block)
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.37.0
4
+ version: 0.38.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-17 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.38.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: []