google-apis-cloudsearch_v1 0.37.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -217,6 +217,25 @@ module Google
217
217
  end
218
218
  end
219
219
 
220
+ #
221
+ class AddonComposeUiActionMarkup
222
+ include Google::Apis::Core::Hashable
223
+
224
+ #
225
+ # Corresponds to the JSON property `type`
226
+ # @return [String]
227
+ attr_accessor :type
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @type = args[:type] if args.key?(:type)
236
+ end
237
+ end
238
+
220
239
  # Earlier we used to populate just the affected_members list and inferred the
221
240
  # new membership state (roles didn't exist back then) from the Type. go/dynamite-
222
241
  # finra required backend to know the previous membership state to reconstruct
@@ -370,7 +389,8 @@ module Google
370
389
  # @return [String]
371
390
  attr_accessor :local_id
372
391
 
373
- # Annotation metadata to display system messages for membership changes.
392
+ # Annotation metadata to display system messages for membership changes. Next
393
+ # Tag: 8
374
394
  # Corresponds to the JSON property `membershipChanged`
375
395
  # @return [Google::Apis::CloudsearchV1::MembershipChangedMetadata]
376
396
  attr_accessor :membership_changed
@@ -2777,6 +2797,11 @@ module Google
2777
2797
  # @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedAction]
2778
2798
  attr_accessor :action
2779
2799
 
2800
+ # Actions handled by individual host apps.
2801
+ # Corresponds to the JSON property `hostAppAction`
2802
+ # @return [Google::Apis::CloudsearchV1::HostAppActionMarkup]
2803
+ attr_accessor :host_app_action
2804
+
2780
2805
  # An action that describes the behavior when the form is submitted. For example,
2781
2806
  # an Apps Script can be invoked to handle the form.
2782
2807
  # Corresponds to the JSON property `openDynamicLinkAction`
@@ -2795,6 +2820,7 @@ module Google
2795
2820
  # Update properties of this object
2796
2821
  def update!(**args)
2797
2822
  @action = args[:action] if args.key?(:action)
2823
+ @host_app_action = args[:host_app_action] if args.key?(:host_app_action)
2798
2824
  @open_dynamic_link_action = args[:open_dynamic_link_action] if args.key?(:open_dynamic_link_action)
2799
2825
  @open_link = args[:open_link] if args.key?(:open_link)
2800
2826
  end
@@ -4023,6 +4049,281 @@ module Google
4023
4049
  end
4024
4050
  end
4025
4051
 
4052
+ #
4053
+ class AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup
4054
+ include Google::Apis::Core::Hashable
4055
+
4056
+ #
4057
+ # Corresponds to the JSON property `addonAttachments`
4058
+ # @return [Array<Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment>]
4059
+ attr_accessor :addon_attachments
4060
+
4061
+ def initialize(**args)
4062
+ update!(**args)
4063
+ end
4064
+
4065
+ # Update properties of this object
4066
+ def update!(**args)
4067
+ @addon_attachments = args[:addon_attachments] if args.key?(:addon_attachments)
4068
+ end
4069
+ end
4070
+
4071
+ #
4072
+ class AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment
4073
+ include Google::Apis::Core::Hashable
4074
+
4075
+ # Link to the resource's icon.
4076
+ # Corresponds to the JSON property `iconUrl`
4077
+ # @return [String]
4078
+ attr_accessor :icon_url
4079
+
4080
+ # MIME type of the content in resource_url.
4081
+ # Corresponds to the JSON property `mimeType`
4082
+ # @return [String]
4083
+ attr_accessor :mime_type
4084
+
4085
+ #
4086
+ # Corresponds to the JSON property `resourceUrl`
4087
+ # @return [String]
4088
+ attr_accessor :resource_url
4089
+
4090
+ # Title of the attachment.
4091
+ # Corresponds to the JSON property `title`
4092
+ # @return [String]
4093
+ attr_accessor :title
4094
+
4095
+ def initialize(**args)
4096
+ update!(**args)
4097
+ end
4098
+
4099
+ # Update properties of this object
4100
+ def update!(**args)
4101
+ @icon_url = args[:icon_url] if args.key?(:icon_url)
4102
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
4103
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
4104
+ @title = args[:title] if args.key?(:title)
4105
+ end
4106
+ end
4107
+
4108
+ # Markup that defines conference data associated to a Google Calendar event.
4109
+ class AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup
4110
+ include Google::Apis::Core::Hashable
4111
+
4112
+ # Unique identifier for this conference data. Maximum 512 characters long.
4113
+ # Corresponds to the JSON property `conferenceId`
4114
+ # @return [String]
4115
+ attr_accessor :conference_id
4116
+
4117
+ # An identifier of the conferencing solution. Must match a value from the
4118
+ # deployment's `calendar.conferenceSolution.id` field.
4119
+ # Corresponds to the JSON property `conferenceSolutionId`
4120
+ # @return [String]
4121
+ attr_accessor :conference_solution_id
4122
+
4123
+ # Entry points to the conference. Maximum 300 entry points are allowed.
4124
+ # Corresponds to the JSON property `entryPoints`
4125
+ # @return [Array<Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup>]
4126
+ attr_accessor :entry_points
4127
+
4128
+ # Represents an error that occurred during conference creation.
4129
+ # Corresponds to the JSON property `error`
4130
+ # @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError]
4131
+ attr_accessor :error
4132
+
4133
+ # Additional notes (such as instructions from the administrator, legal notices)
4134
+ # to display to the user. Can contain HTML. Max length 2048 characters.
4135
+ # Corresponds to the JSON property `note`
4136
+ # @return [String]
4137
+ attr_accessor :note
4138
+
4139
+ # Additional add-on parameters. Maximum 300 parameters are allowed.
4140
+ # Corresponds to the JSON property `parameters`
4141
+ # @return [Array<Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter>]
4142
+ attr_accessor :parameters
4143
+
4144
+ def initialize(**args)
4145
+ update!(**args)
4146
+ end
4147
+
4148
+ # Update properties of this object
4149
+ def update!(**args)
4150
+ @conference_id = args[:conference_id] if args.key?(:conference_id)
4151
+ @conference_solution_id = args[:conference_solution_id] if args.key?(:conference_solution_id)
4152
+ @entry_points = args[:entry_points] if args.key?(:entry_points)
4153
+ @error = args[:error] if args.key?(:error)
4154
+ @note = args[:note] if args.key?(:note)
4155
+ @parameters = args[:parameters] if args.key?(:parameters)
4156
+ end
4157
+ end
4158
+
4159
+ # A way to join the conference.
4160
+ class AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup
4161
+ include Google::Apis::Core::Hashable
4162
+
4163
+ # An access code for accessing the conference. Maximum 128 characters long.
4164
+ # Corresponds to the JSON property `accessCode`
4165
+ # @return [String]
4166
+ attr_accessor :access_code
4167
+
4168
+ # Features of the entry point, such as being toll or toll-free. One entry point
4169
+ # can have multiple features.
4170
+ # Corresponds to the JSON property `features`
4171
+ # @return [Array<String>]
4172
+ attr_accessor :features
4173
+
4174
+ # The label of the entry point to display to the user. Maximum 512 characters
4175
+ # long.
4176
+ # Corresponds to the JSON property `label`
4177
+ # @return [String]
4178
+ attr_accessor :label
4179
+
4180
+ # A meeting code for accessing the conference. Maximum 128 characters long.
4181
+ # Corresponds to the JSON property `meetingCode`
4182
+ # @return [String]
4183
+ attr_accessor :meeting_code
4184
+
4185
+ # A passcode for accessing the conference. Maximum 128 characters long.
4186
+ # Corresponds to the JSON property `passcode`
4187
+ # @return [String]
4188
+ attr_accessor :passcode
4189
+
4190
+ # A password for accessing the conference. Maximum 128 characters long.
4191
+ # Corresponds to the JSON property `password`
4192
+ # @return [String]
4193
+ attr_accessor :password
4194
+
4195
+ # A PIN for accessing the conference. Maximum 128 characters long.
4196
+ # Corresponds to the JSON property `pin`
4197
+ # @return [String]
4198
+ attr_accessor :pin
4199
+
4200
+ # The CLDR/ISO 3166 region code for the country associated with this entry point.
4201
+ # Applicable only to `Type.PHONE`.
4202
+ # Corresponds to the JSON property `regionCode`
4203
+ # @return [String]
4204
+ attr_accessor :region_code
4205
+
4206
+ # The type of the entry point. Required.
4207
+ # Corresponds to the JSON property `type`
4208
+ # @return [String]
4209
+ attr_accessor :type
4210
+
4211
+ # A URI for joining the conference. Supports tel: and http(s): and should be at
4212
+ # most 1300 characters long. Required.
4213
+ # Corresponds to the JSON property `uri`
4214
+ # @return [String]
4215
+ attr_accessor :uri
4216
+
4217
+ def initialize(**args)
4218
+ update!(**args)
4219
+ end
4220
+
4221
+ # Update properties of this object
4222
+ def update!(**args)
4223
+ @access_code = args[:access_code] if args.key?(:access_code)
4224
+ @features = args[:features] if args.key?(:features)
4225
+ @label = args[:label] if args.key?(:label)
4226
+ @meeting_code = args[:meeting_code] if args.key?(:meeting_code)
4227
+ @passcode = args[:passcode] if args.key?(:passcode)
4228
+ @password = args[:password] if args.key?(:password)
4229
+ @pin = args[:pin] if args.key?(:pin)
4230
+ @region_code = args[:region_code] if args.key?(:region_code)
4231
+ @type = args[:type] if args.key?(:type)
4232
+ @uri = args[:uri] if args.key?(:uri)
4233
+ end
4234
+ end
4235
+
4236
+ # Represents an error that occurred during conference creation.
4237
+ class AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError
4238
+ include Google::Apis::Core::Hashable
4239
+
4240
+ # If the error type is `AUTHENTICATION`, the add-on can provide a URL allowing
4241
+ # users to log in. Maximum 1300 characters long.
4242
+ # Corresponds to the JSON property `authenticationUrl`
4243
+ # @return [String]
4244
+ attr_accessor :authentication_url
4245
+
4246
+ # The type of error. Required.
4247
+ # Corresponds to the JSON property `type`
4248
+ # @return [String]
4249
+ attr_accessor :type
4250
+
4251
+ def initialize(**args)
4252
+ update!(**args)
4253
+ end
4254
+
4255
+ # Update properties of this object
4256
+ def update!(**args)
4257
+ @authentication_url = args[:authentication_url] if args.key?(:authentication_url)
4258
+ @type = args[:type] if args.key?(:type)
4259
+ end
4260
+ end
4261
+
4262
+ # Solution-specific parameters that are persisted with the event data and, if an
4263
+ # update or delete is needed, are passed to the add-on. For example: `[`key: '
4264
+ # sessionKey', value: '123'`, `key: 'meetingId', value: '456'`]`
4265
+ class AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter
4266
+ include Google::Apis::Core::Hashable
4267
+
4268
+ # The key of the parameter. Maximum 50 characters long. Required.
4269
+ # Corresponds to the JSON property `key`
4270
+ # @return [String]
4271
+ attr_accessor :key
4272
+
4273
+ # The value of the parameter. Maximum 1024 characters long. Required.
4274
+ # Corresponds to the JSON property `value`
4275
+ # @return [String]
4276
+ attr_accessor :value
4277
+
4278
+ def initialize(**args)
4279
+ update!(**args)
4280
+ end
4281
+
4282
+ # Update properties of this object
4283
+ def update!(**args)
4284
+ @key = args[:key] if args.key?(:key)
4285
+ @value = args[:value] if args.key?(:value)
4286
+ end
4287
+ end
4288
+
4289
+ #
4290
+ class AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup
4291
+ include Google::Apis::Core::Hashable
4292
+
4293
+ # A list of attendees to add to the Google Calendar event.
4294
+ # Corresponds to the JSON property `addAttendeeEmails`
4295
+ # @return [Array<String>]
4296
+ attr_accessor :add_attendee_emails
4297
+
4298
+ def initialize(**args)
4299
+ update!(**args)
4300
+ end
4301
+
4302
+ # Update properties of this object
4303
+ def update!(**args)
4304
+ @add_attendee_emails = args[:add_attendee_emails] if args.key?(:add_attendee_emails)
4305
+ end
4306
+ end
4307
+
4308
+ #
4309
+ class AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup
4310
+ include Google::Apis::Core::Hashable
4311
+
4312
+ # Markup that defines conference data associated to a Google Calendar event.
4313
+ # Corresponds to the JSON property `conferenceData`
4314
+ # @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup]
4315
+ attr_accessor :conference_data
4316
+
4317
+ def initialize(**args)
4318
+ update!(**args)
4319
+ end
4320
+
4321
+ # Update properties of this object
4322
+ def update!(**args)
4323
+ @conference_data = args[:conference_data] if args.key?(:conference_data)
4324
+ end
4325
+ end
4326
+
4026
4327
  # Attachments that follow the message text.
4027
4328
  class Attachment
4028
4329
  include Google::Apis::Core::Hashable
@@ -4623,6 +4924,37 @@ module Google
4623
4924
  end
4624
4925
  end
4625
4926
 
4927
+ #
4928
+ class CalendarClientActionMarkup
4929
+ include Google::Apis::Core::Hashable
4930
+
4931
+ # An action that adds attachments to the Google Calendar event.
4932
+ # Corresponds to the JSON property `addAttachmentsActionMarkup`
4933
+ # @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup]
4934
+ attr_accessor :add_attachments_action_markup
4935
+
4936
+ # An action that adds attendees to the Google Calendar event.
4937
+ # Corresponds to the JSON property `editAttendeesActionMarkup`
4938
+ # @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup]
4939
+ attr_accessor :edit_attendees_action_markup
4940
+
4941
+ # An action that adds conference data to the Google Calendar event.
4942
+ # Corresponds to the JSON property `editConferenceDataActionMarkup`
4943
+ # @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup]
4944
+ attr_accessor :edit_conference_data_action_markup
4945
+
4946
+ def initialize(**args)
4947
+ update!(**args)
4948
+ end
4949
+
4950
+ # Update properties of this object
4951
+ def update!(**args)
4952
+ @add_attachments_action_markup = args[:add_attachments_action_markup] if args.key?(:add_attachments_action_markup)
4953
+ @edit_attendees_action_markup = args[:edit_attendees_action_markup] if args.key?(:edit_attendees_action_markup)
4954
+ @edit_conference_data_action_markup = args[:edit_conference_data_action_markup] if args.key?(:edit_conference_data_action_markup)
4955
+ end
4956
+ end
4957
+
4626
4958
  # Contains information regarding an ongoing conference (aka call) for a meeting
4627
4959
  # space.
4628
4960
  class CallInfo
@@ -4808,6 +5140,17 @@ module Google
4808
5140
  attr_accessor :access_lock
4809
5141
  alias_method :access_lock?, :access_lock
4810
5142
 
5143
+ # The current access type of the conference.
5144
+ # Corresponds to the JSON property `accessType`
5145
+ # @return [String]
5146
+ attr_accessor :access_type
5147
+
5148
+ # Whether users can join this conference before a host (Host or Cohost).
5149
+ # Corresponds to the JSON property `allowJoiningBeforeHost`
5150
+ # @return [Boolean]
5151
+ attr_accessor :allow_joining_before_host
5152
+ alias_method :allow_joining_before_host?, :allow_joining_before_host
5153
+
4811
5154
  # Indicates whether the attendance report is currently enabled or disabled.
4812
5155
  # Corresponds to the JSON property `attendanceReportEnabled`
4813
5156
  # @return [Boolean]
@@ -4832,7 +5175,7 @@ module Google
4832
5175
  attr_accessor :cse_enabled
4833
5176
  alias_method :cse_enabled?, :cse_enabled
4834
5177
 
4835
- # Indicates whether the current call is moderated.
5178
+ # Indicates whether moderation is currently on or off.
4836
5179
  # Corresponds to the JSON property `moderationEnabled`
4837
5180
  # @return [Boolean]
4838
5181
  attr_accessor :moderation_enabled
@@ -4844,14 +5187,6 @@ module Google
4844
5187
  attr_accessor :present_lock
4845
5188
  alias_method :present_lock?, :present_lock
4846
5189
 
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
5190
  # Indicates whether the reactions lock is currently on or off.
4856
5191
  # Corresponds to the JSON property `reactionsLock`
4857
5192
  # @return [Boolean]
@@ -4871,13 +5206,14 @@ module Google
4871
5206
  # Update properties of this object
4872
5207
  def update!(**args)
4873
5208
  @access_lock = args[:access_lock] if args.key?(:access_lock)
5209
+ @access_type = args[:access_type] if args.key?(:access_type)
5210
+ @allow_joining_before_host = args[:allow_joining_before_host] if args.key?(:allow_joining_before_host)
4874
5211
  @attendance_report_enabled = args[:attendance_report_enabled] if args.key?(:attendance_report_enabled)
4875
5212
  @audio_lock = args[:audio_lock] if args.key?(:audio_lock)
4876
5213
  @chat_lock = args[:chat_lock] if args.key?(:chat_lock)
4877
5214
  @cse_enabled = args[:cse_enabled] if args.key?(:cse_enabled)
4878
5215
  @moderation_enabled = args[:moderation_enabled] if args.key?(:moderation_enabled)
4879
5216
  @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
5217
  @reactions_lock = args[:reactions_lock] if args.key?(:reactions_lock)
4882
5218
  @video_lock = args[:video_lock] if args.key?(:video_lock)
4883
5219
  end
@@ -5059,6 +5395,19 @@ module Google
5059
5395
  end
5060
5396
  end
5061
5397
 
5398
+ # Actions handled by Chat Clients.
5399
+ class ChatClientActionMarkup
5400
+ include Google::Apis::Core::Hashable
5401
+
5402
+ def initialize(**args)
5403
+ update!(**args)
5404
+ end
5405
+
5406
+ # Update properties of this object
5407
+ def update!(**args)
5408
+ end
5409
+ end
5410
+
5062
5411
  # Configuration of the in meeting chat.
5063
5412
  class ChatConfig
5064
5413
  include Google::Apis::Core::Hashable
@@ -5942,6 +6291,31 @@ module Google
5942
6291
  end
5943
6292
  end
5944
6293
 
6294
+ # The result of a user running a custom function.
6295
+ class CustomFunctionReturnValueMarkup
6296
+ include Google::Apis::Core::Hashable
6297
+
6298
+ # The error message to show to the user if something went wrong.
6299
+ # Corresponds to the JSON property `errorMessage`
6300
+ # @return [String]
6301
+ attr_accessor :error_message
6302
+
6303
+ # The value that resulted from running the custom function.
6304
+ # Corresponds to the JSON property `value`
6305
+ # @return [Object]
6306
+ attr_accessor :value
6307
+
6308
+ def initialize(**args)
6309
+ update!(**args)
6310
+ end
6311
+
6312
+ # Update properties of this object
6313
+ def update!(**args)
6314
+ @error_message = args[:error_message] if args.key?(:error_message)
6315
+ @value = args[:value] if args.key?(:value)
6316
+ end
6317
+ end
6318
+
5945
6319
  # Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
5946
6320
  class CustomerId
5947
6321
  include Google::Apis::Core::Hashable
@@ -6832,6 +7206,25 @@ module Google
6832
7206
  end
6833
7207
  end
6834
7208
 
7209
+ #
7210
+ class DriveClientActionMarkup
7211
+ include Google::Apis::Core::Hashable
7212
+
7213
+ #
7214
+ # Corresponds to the JSON property `requestFileScope`
7215
+ # @return [Google::Apis::CloudsearchV1::RequestFileScope]
7216
+ attr_accessor :request_file_scope
7217
+
7218
+ def initialize(**args)
7219
+ update!(**args)
7220
+ end
7221
+
7222
+ # Update properties of this object
7223
+ def update!(**args)
7224
+ @request_file_scope = args[:request_file_scope] if args.key?(:request_file_scope)
7225
+ end
7226
+ end
7227
+
6835
7228
  # Drive follow-up search restricts (e.g. "followup:suggestions").
6836
7229
  class DriveFollowUpRestrict
6837
7230
  include Google::Apis::Core::Hashable
@@ -7230,6 +7623,25 @@ module Google
7230
7623
  end
7231
7624
  end
7232
7625
 
7626
+ #
7627
+ class EditorClientActionMarkup
7628
+ include Google::Apis::Core::Hashable
7629
+
7630
+ #
7631
+ # Corresponds to the JSON property `requestFileScopeForActiveDocument`
7632
+ # @return [Google::Apis::CloudsearchV1::RequestFileScopeForActiveDocument]
7633
+ attr_accessor :request_file_scope_for_active_document
7634
+
7635
+ def initialize(**args)
7636
+ update!(**args)
7637
+ end
7638
+
7639
+ # Update properties of this object
7640
+ def update!(**args)
7641
+ @request_file_scope_for_active_document = args[:request_file_scope_for_active_document] if args.key?(:request_file_scope_for_active_document)
7642
+ end
7643
+ end
7644
+
7233
7645
  # A person's email address.
7234
7646
  class EmailAddress
7235
7647
  include Google::Apis::Core::Hashable
@@ -8364,6 +8776,43 @@ module Google
8364
8776
  end
8365
8777
  end
8366
8778
 
8779
+ #
8780
+ class GmailClientActionMarkup
8781
+ include Google::Apis::Core::Hashable
8782
+
8783
+ #
8784
+ # Corresponds to the JSON property `addonComposeUiActionMarkup`
8785
+ # @return [Google::Apis::CloudsearchV1::AddonComposeUiActionMarkup]
8786
+ attr_accessor :addon_compose_ui_action_markup
8787
+
8788
+ #
8789
+ # Corresponds to the JSON property `openCreatedDraftActionMarkup`
8790
+ # @return [Google::Apis::CloudsearchV1::OpenCreatedDraftActionMarkup]
8791
+ attr_accessor :open_created_draft_action_markup
8792
+
8793
+ #
8794
+ # Corresponds to the JSON property `taskAction`
8795
+ # @return [Google::Apis::CloudsearchV1::TaskActionMarkup]
8796
+ attr_accessor :task_action
8797
+
8798
+ #
8799
+ # Corresponds to the JSON property `updateDraftActionMarkup`
8800
+ # @return [Google::Apis::CloudsearchV1::UpdateDraftActionMarkup]
8801
+ attr_accessor :update_draft_action_markup
8802
+
8803
+ def initialize(**args)
8804
+ update!(**args)
8805
+ end
8806
+
8807
+ # Update properties of this object
8808
+ def update!(**args)
8809
+ @addon_compose_ui_action_markup = args[:addon_compose_ui_action_markup] if args.key?(:addon_compose_ui_action_markup)
8810
+ @open_created_draft_action_markup = args[:open_created_draft_action_markup] if args.key?(:open_created_draft_action_markup)
8811
+ @task_action = args[:task_action] if args.key?(:task_action)
8812
+ @update_draft_action_markup = args[:update_draft_action_markup] if args.key?(:update_draft_action_markup)
8813
+ end
8814
+ end
8815
+
8367
8816
  # Configuration of the Google Chat in Meet.
8368
8817
  class GoogleChatConfig
8369
8818
  include Google::Apis::Core::Hashable
@@ -8441,7 +8890,7 @@ module Google
8441
8890
 
8442
8891
  # A card action is the action associated with the card. For an invoice card, a
8443
8892
  # typical action would be: delete invoice, email invoice or open the invoice in
8444
- # browser.
8893
+ # browser. Not supported by Google Chat apps.
8445
8894
  class GoogleChatV1ContextualAddOnMarkupCardCardAction
8446
8895
  include Google::Apis::Core::Hashable
8447
8896
 
@@ -9327,10 +9776,54 @@ module Google
9327
9776
  class HashtagData
9328
9777
  include Google::Apis::Core::Hashable
9329
9778
 
9330
- #
9331
- # Corresponds to the JSON property `searchText`
9332
- # @return [String]
9333
- attr_accessor :search_text
9779
+ #
9780
+ # Corresponds to the JSON property `searchText`
9781
+ # @return [String]
9782
+ attr_accessor :search_text
9783
+
9784
+ def initialize(**args)
9785
+ update!(**args)
9786
+ end
9787
+
9788
+ # Update properties of this object
9789
+ def update!(**args)
9790
+ @search_text = args[:search_text] if args.key?(:search_text)
9791
+ end
9792
+ end
9793
+
9794
+ # Actions handled by individual host apps.
9795
+ class HostAppActionMarkup
9796
+ include Google::Apis::Core::Hashable
9797
+
9798
+ # Actions handled by Calendar.
9799
+ # Corresponds to the JSON property `calendarAction`
9800
+ # @return [Google::Apis::CloudsearchV1::CalendarClientActionMarkup]
9801
+ attr_accessor :calendar_action
9802
+
9803
+ # Actions handled by Chat Clients.
9804
+ # Corresponds to the JSON property `chatAction`
9805
+ # @return [Google::Apis::CloudsearchV1::ChatClientActionMarkup]
9806
+ attr_accessor :chat_action
9807
+
9808
+ # Actions handled by Drive.
9809
+ # Corresponds to the JSON property `driveAction`
9810
+ # @return [Google::Apis::CloudsearchV1::DriveClientActionMarkup]
9811
+ attr_accessor :drive_action
9812
+
9813
+ # Actions handled by Docs, Sheets, or Slides.
9814
+ # Corresponds to the JSON property `editorAction`
9815
+ # @return [Google::Apis::CloudsearchV1::EditorClientActionMarkup]
9816
+ attr_accessor :editor_action
9817
+
9818
+ # Actions handled by Gmail.
9819
+ # Corresponds to the JSON property `gmailAction`
9820
+ # @return [Google::Apis::CloudsearchV1::GmailClientActionMarkup]
9821
+ attr_accessor :gmail_action
9822
+
9823
+ # Actions handled by Sheets.
9824
+ # Corresponds to the JSON property `sheetsAction`
9825
+ # @return [Google::Apis::CloudsearchV1::SheetsClientActionMarkup]
9826
+ attr_accessor :sheets_action
9334
9827
 
9335
9828
  def initialize(**args)
9336
9829
  update!(**args)
@@ -9338,7 +9831,12 @@ module Google
9338
9831
 
9339
9832
  # Update properties of this object
9340
9833
  def update!(**args)
9341
- @search_text = args[:search_text] if args.key?(:search_text)
9834
+ @calendar_action = args[:calendar_action] if args.key?(:calendar_action)
9835
+ @chat_action = args[:chat_action] if args.key?(:chat_action)
9836
+ @drive_action = args[:drive_action] if args.key?(:drive_action)
9837
+ @editor_action = args[:editor_action] if args.key?(:editor_action)
9838
+ @gmail_action = args[:gmail_action] if args.key?(:gmail_action)
9839
+ @sheets_action = args[:sheets_action] if args.key?(:sheets_action)
9342
9840
  end
9343
9841
  end
9344
9842
 
@@ -9834,6 +10332,37 @@ module Google
9834
10332
  end
9835
10333
  end
9836
10334
 
10335
+ #
10336
+ class InsertContent
10337
+ include Google::Apis::Core::Hashable
10338
+
10339
+ # The content to be inserted.
10340
+ # Corresponds to the JSON property `content`
10341
+ # @return [String]
10342
+ attr_accessor :content
10343
+
10344
+ # The type of inserted content.
10345
+ # Corresponds to the JSON property `contentType`
10346
+ # @return [String]
10347
+ attr_accessor :content_type
10348
+
10349
+ #
10350
+ # Corresponds to the JSON property `mimeType`
10351
+ # @return [String]
10352
+ attr_accessor :mime_type
10353
+
10354
+ def initialize(**args)
10355
+ update!(**args)
10356
+ end
10357
+
10358
+ # Update properties of this object
10359
+ def update!(**args)
10360
+ @content = args[:content] if args.key?(:content)
10361
+ @content_type = args[:content_type] if args.key?(:content_type)
10362
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
10363
+ end
10364
+ end
10365
+
9837
10366
  # Used to provide a search operator for integer properties. This is optional.
9838
10367
  # Search operators let users restrict the query to specific fields relevant to
9839
10368
  # the type of item being searched.
@@ -11096,8 +11625,8 @@ module Google
11096
11625
  # @return [Array<Google::Apis::CloudsearchV1::PhoneAccess>]
11097
11626
  attr_accessor :phone_access
11098
11627
 
11099
- # Settings of a meeting space that can be viewed and edited by users with
11100
- # permissions. These settings are always populated for output.
11628
+ # Settings of a meeting space that can be edited by users with corresponding
11629
+ # manage privilege. These settings are always populated in responses.
11101
11630
  # Corresponds to the JSON property `settings`
11102
11631
  # @return [Google::Apis::CloudsearchV1::Settings]
11103
11632
  attr_accessor :settings
@@ -11213,7 +11742,8 @@ module Google
11213
11742
  end
11214
11743
  end
11215
11744
 
11216
- # Annotation metadata to display system messages for membership changes.
11745
+ # Annotation metadata to display system messages for membership changes. Next
11746
+ # Tag: 8
11217
11747
  class MembershipChangedMetadata
11218
11748
  include Google::Apis::Core::Hashable
11219
11749
 
@@ -11242,6 +11772,11 @@ module Google
11242
11772
  # @return [Google::Apis::CloudsearchV1::User]
11243
11773
  attr_accessor :initiator_profile
11244
11774
 
11775
+ # The type of the user who initiated this membership change.
11776
+ # Corresponds to the JSON property `initiatorType`
11777
+ # @return [String]
11778
+ attr_accessor :initiator_type
11779
+
11245
11780
  #
11246
11781
  # Corresponds to the JSON property `type`
11247
11782
  # @return [String]
@@ -11258,6 +11793,7 @@ module Google
11258
11793
  @affected_memberships = args[:affected_memberships] if args.key?(:affected_memberships)
11259
11794
  @initiator = args[:initiator] if args.key?(:initiator)
11260
11795
  @initiator_profile = args[:initiator_profile] if args.key?(:initiator_profile)
11796
+ @initiator_type = args[:initiator_type] if args.key?(:initiator_type)
11261
11797
  @type = args[:type] if args.key?(:type)
11262
11798
  end
11263
11799
  end
@@ -12175,6 +12711,46 @@ module Google
12175
12711
  end
12176
12712
  end
12177
12713
 
12714
+ #
12715
+ class OpenCreatedDraftActionMarkup
12716
+ include Google::Apis::Core::Hashable
12717
+
12718
+ # The ID of the newly created draft in the form "r123".
12719
+ # Corresponds to the JSON property `draftId`
12720
+ # @return [String]
12721
+ attr_accessor :draft_id
12722
+
12723
+ # The server storage ID in hex format, for example,"15e9fa622ce1029d".
12724
+ # Corresponds to the JSON property `draftStorageId`
12725
+ # @return [String]
12726
+ attr_accessor :draft_storage_id
12727
+
12728
+ # The ID of the thread containing the newly created draft, for example, "
12729
+ # 15e9fa622ce1029d".
12730
+ # Corresponds to the JSON property `draftThreadId`
12731
+ # @return [String]
12732
+ attr_accessor :draft_thread_id
12733
+
12734
+ # The server permanent ID for the draft's thread. This field isn't set anywhere,
12735
+ # and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use
12736
+ # draftThreadStorageId instead.
12737
+ # Corresponds to the JSON property `draftThreadServerPermId`
12738
+ # @return [String]
12739
+ attr_accessor :draft_thread_server_perm_id
12740
+
12741
+ def initialize(**args)
12742
+ update!(**args)
12743
+ end
12744
+
12745
+ # Update properties of this object
12746
+ def update!(**args)
12747
+ @draft_id = args[:draft_id] if args.key?(:draft_id)
12748
+ @draft_storage_id = args[:draft_storage_id] if args.key?(:draft_storage_id)
12749
+ @draft_thread_id = args[:draft_thread_id] if args.key?(:draft_thread_id)
12750
+ @draft_thread_server_perm_id = args[:draft_thread_server_perm_id] if args.key?(:draft_thread_server_perm_id)
12751
+ end
12752
+ end
12753
+
12178
12754
  #
12179
12755
  class OpenLink
12180
12756
  include Google::Apis::Core::Hashable
@@ -13778,11 +14354,22 @@ module Google
13778
14354
  # @return [String]
13779
14355
  attr_accessor :bot_attachment_state
13780
14356
 
14357
+ # Output only. Time when the quoted message was posted in microseconds.
14358
+ # Corresponds to the JSON property `createTimeMicros`
14359
+ # @return [Fixnum]
14360
+ attr_accessor :create_time_micros
14361
+
13781
14362
  # Primary key for User resource.
13782
14363
  # Corresponds to the JSON property `creatorId`
13783
14364
  # @return [Google::Apis::CloudsearchV1::UserId]
13784
14365
  attr_accessor :creator_id
13785
14366
 
14367
+ # Output only. Time when the quoted message was last edited by a user at the
14368
+ # time when quoting action happens. Time is in microseconds.
14369
+ # Corresponds to the JSON property `lastEditTimeMicros`
14370
+ # @return [Fixnum]
14371
+ attr_accessor :last_edit_time_micros
14372
+
13786
14373
  # The `last_update_time` of the original message when the client initiated the
13787
14374
  # quote creation. This is derived from the request payload passed from clients.
13788
14375
  # Used to fetch the quoted message contents at a specific time on the read path.
@@ -13812,7 +14399,12 @@ module Google
13812
14399
  # @return [String]
13813
14400
  attr_accessor :text_body
13814
14401
 
13815
- # Output only. Upload metadata of the quoted message. NEXT TAG: 11
14402
+ # Primary key for User resource.
14403
+ # Corresponds to the JSON property `updaterId`
14404
+ # @return [Google::Apis::CloudsearchV1::UserId]
14405
+ attr_accessor :updater_id
14406
+
14407
+ # Output only. Upload metadata of the quoted message.
13816
14408
  # Corresponds to the JSON property `uploadMetadata`
13817
14409
  # @return [Array<Google::Apis::CloudsearchV1::UploadMetadata>]
13818
14410
  attr_accessor :upload_metadata
@@ -13826,12 +14418,15 @@ module Google
13826
14418
  @annotations = args[:annotations] if args.key?(:annotations)
13827
14419
  @app_profile = args[:app_profile] if args.key?(:app_profile)
13828
14420
  @bot_attachment_state = args[:bot_attachment_state] if args.key?(:bot_attachment_state)
14421
+ @create_time_micros = args[:create_time_micros] if args.key?(:create_time_micros)
13829
14422
  @creator_id = args[:creator_id] if args.key?(:creator_id)
14423
+ @last_edit_time_micros = args[:last_edit_time_micros] if args.key?(:last_edit_time_micros)
13830
14424
  @last_update_time_when_quoted_micros = args[:last_update_time_when_quoted_micros] if args.key?(:last_update_time_when_quoted_micros)
13831
14425
  @message_id = args[:message_id] if args.key?(:message_id)
13832
14426
  @message_state = args[:message_state] if args.key?(:message_state)
13833
14427
  @retention_settings = args[:retention_settings] if args.key?(:retention_settings)
13834
14428
  @text_body = args[:text_body] if args.key?(:text_body)
14429
+ @updater_id = args[:updater_id] if args.key?(:updater_id)
13835
14430
  @upload_metadata = args[:upload_metadata] if args.key?(:upload_metadata)
13836
14431
  end
13837
14432
  end
@@ -13936,6 +14531,25 @@ module Google
13936
14531
  end
13937
14532
  end
13938
14533
 
14534
+ #
14535
+ class Recipient
14536
+ include Google::Apis::Core::Hashable
14537
+
14538
+ #
14539
+ # Corresponds to the JSON property `email`
14540
+ # @return [String]
14541
+ attr_accessor :email
14542
+
14543
+ def initialize(**args)
14544
+ update!(**args)
14545
+ end
14546
+
14547
+ # Update properties of this object
14548
+ def update!(**args)
14549
+ @email = args[:email] if args.key?(:email)
14550
+ end
14551
+ end
14552
+
13939
14553
  # A recording event is something that happens to the recording in a conference.
13940
14554
  class RecordingEvent
13941
14555
  include Google::Apis::Core::Hashable
@@ -14109,6 +14723,38 @@ module Google
14109
14723
  end
14110
14724
  end
14111
14725
 
14726
+ #
14727
+ class RequestFileScope
14728
+ include Google::Apis::Core::Hashable
14729
+
14730
+ #
14731
+ # Corresponds to the JSON property `itemId`
14732
+ # @return [String]
14733
+ attr_accessor :item_id
14734
+
14735
+ def initialize(**args)
14736
+ update!(**args)
14737
+ end
14738
+
14739
+ # Update properties of this object
14740
+ def update!(**args)
14741
+ @item_id = args[:item_id] if args.key?(:item_id)
14742
+ end
14743
+ end
14744
+
14745
+ #
14746
+ class RequestFileScopeForActiveDocument
14747
+ include Google::Apis::Core::Hashable
14748
+
14749
+ def initialize(**args)
14750
+ update!(**args)
14751
+ end
14752
+
14753
+ # Update properties of this object
14754
+ def update!(**args)
14755
+ end
14756
+ end
14757
+
14112
14758
  # Shared request options for all RPC methods.
14113
14759
  class RequestOptions
14114
14760
  include Google::Apis::Core::Hashable
@@ -14243,11 +14889,6 @@ module Google
14243
14889
  class ResponseDebugInfo
14244
14890
  include Google::Apis::Core::Hashable
14245
14891
 
14246
- # Experiments enabled in QAPI.
14247
- # Corresponds to the JSON property `enabledExperiments`
14248
- # @return [Array<Fixnum>]
14249
- attr_accessor :enabled_experiments
14250
-
14251
14892
  # General debug info formatted for display.
14252
14893
  # Corresponds to the JSON property `formattedDebugInfo`
14253
14894
  # @return [String]
@@ -14259,7 +14900,6 @@ module Google
14259
14900
 
14260
14901
  # Update properties of this object
14261
14902
  def update!(**args)
14262
- @enabled_experiments = args[:enabled_experiments] if args.key?(:enabled_experiments)
14263
14903
  @formatted_debug_info = args[:formatted_debug_info] if args.key?(:formatted_debug_info)
14264
14904
  end
14265
14905
  end
@@ -14537,6 +15177,12 @@ module Google
14537
15177
  # @return [Google::Apis::CloudsearchV1::RosterId]
14538
15178
  attr_accessor :id
14539
15179
 
15180
+ # Whether caller has visibility into members of the roster.
15181
+ # Corresponds to the JSON property `isMembershipVisibleToCaller`
15182
+ # @return [Boolean]
15183
+ attr_accessor :is_membership_visible_to_caller
15184
+ alias_method :is_membership_visible_to_caller?, :is_membership_visible_to_caller
15185
+
14540
15186
  #
14541
15187
  # Corresponds to the JSON property `membershipCount`
14542
15188
  # @return [Fixnum]
@@ -14571,6 +15217,7 @@ module Google
14571
15217
  def update!(**args)
14572
15218
  @avatar_url = args[:avatar_url] if args.key?(:avatar_url)
14573
15219
  @id = args[:id] if args.key?(:id)
15220
+ @is_membership_visible_to_caller = args[:is_membership_visible_to_caller] if args.key?(:is_membership_visible_to_caller)
14574
15221
  @membership_count = args[:membership_count] if args.key?(:membership_count)
14575
15222
  @name = args[:name] if args.key?(:name)
14576
15223
  @roster_gaia_key = args[:roster_gaia_key] if args.key?(:roster_gaia_key)
@@ -15431,18 +16078,29 @@ module Google
15431
16078
  end
15432
16079
  end
15433
16080
 
15434
- # Settings of a meeting space that can be viewed and edited by users with
15435
- # permissions. These settings are always populated for output.
16081
+ # Settings of a meeting space that can be edited by users with corresponding
16082
+ # manage privilege. These settings are always populated in responses.
15436
16083
  class Settings
15437
16084
  include Google::Apis::Core::Hashable
15438
16085
 
15439
- # The access lock of the meeting space that lets owner control who can join the
15440
- # meeting. True if the access lock feature is enabled for the meeting space.
16086
+ # The access lock of the meeting space that lets hosts control who can join the
16087
+ # meeting.
15441
16088
  # Corresponds to the JSON property `accessLock`
15442
16089
  # @return [Boolean]
15443
16090
  attr_accessor :access_lock
15444
16091
  alias_method :access_lock?, :access_lock
15445
16092
 
16093
+ # The access type of the meeting space.
16094
+ # Corresponds to the JSON property `accessType`
16095
+ # @return [String]
16096
+ attr_accessor :access_type
16097
+
16098
+ # Whether users can join before host in the conferences of this meeting space.
16099
+ # Corresponds to the JSON property `allowJoiningBeforeHost`
16100
+ # @return [Boolean]
16101
+ attr_accessor :allow_joining_before_host
16102
+ alias_method :allow_joining_before_host?, :allow_joining_before_host
16103
+
15446
16104
  # Whether attendance report is enabled for the meeting space.
15447
16105
  # Corresponds to the JSON property `attendanceReportEnabled`
15448
16106
  # @return [Boolean]
@@ -15450,8 +16108,7 @@ module Google
15450
16108
  alias_method :attendance_report_enabled?, :attendance_report_enabled
15451
16109
 
15452
16110
  # The chat lock of the meeting space that lets owner control whether the
15453
- # participants can send chat messages. True if the chat lock feature is enabled
15454
- # for the meeting space.
16111
+ # participants can send chat messages.
15455
16112
  # Corresponds to the JSON property `chatLock`
15456
16113
  # @return [Boolean]
15457
16114
  attr_accessor :chat_lock
@@ -15482,16 +16139,14 @@ module Google
15482
16139
  alias_method :moderation_enabled?, :moderation_enabled
15483
16140
 
15484
16141
  # The present lock of the meeting space that lets owner control whether the
15485
- # participants can present their screen. True if the present lock feature is
15486
- # enabled for the meeting space.
16142
+ # participants can present their screen.
15487
16143
  # Corresponds to the JSON property `presentLock`
15488
16144
  # @return [Boolean]
15489
16145
  attr_accessor :present_lock
15490
16146
  alias_method :present_lock?, :present_lock
15491
16147
 
15492
16148
  # The reactions lock of the meeting space that lets owner control whether the
15493
- # participants can send reactions. True if the reactions lock feature is enabled
15494
- # for the meeting space.
16149
+ # participants can send reactions.
15495
16150
  # Corresponds to the JSON property `reactionsLock`
15496
16151
  # @return [Boolean]
15497
16152
  attr_accessor :reactions_lock
@@ -15504,6 +16159,8 @@ module Google
15504
16159
  # Update properties of this object
15505
16160
  def update!(**args)
15506
16161
  @access_lock = args[:access_lock] if args.key?(:access_lock)
16162
+ @access_type = args[:access_type] if args.key?(:access_type)
16163
+ @allow_joining_before_host = args[:allow_joining_before_host] if args.key?(:allow_joining_before_host)
15507
16164
  @attendance_report_enabled = args[:attendance_report_enabled] if args.key?(:attendance_report_enabled)
15508
16165
  @chat_lock = args[:chat_lock] if args.key?(:chat_lock)
15509
16166
  @cohost_artifact_sharing_enabled = args[:cohost_artifact_sharing_enabled] if args.key?(:cohost_artifact_sharing_enabled)
@@ -15541,6 +16198,25 @@ module Google
15541
16198
  end
15542
16199
  end
15543
16200
 
16201
+ #
16202
+ class SheetsClientActionMarkup
16203
+ include Google::Apis::Core::Hashable
16204
+
16205
+ # The result of a user running a custom function.
16206
+ # Corresponds to the JSON property `customFunctionReturnValueMarkup`
16207
+ # @return [Google::Apis::CloudsearchV1::CustomFunctionReturnValueMarkup]
16208
+ attr_accessor :custom_function_return_value_markup
16209
+
16210
+ def initialize(**args)
16211
+ update!(**args)
16212
+ end
16213
+
16214
+ # Update properties of this object
16215
+ def update!(**args)
16216
+ @custom_function_return_value_markup = args[:custom_function_return_value_markup] if args.key?(:custom_function_return_value_markup)
16217
+ end
16218
+ end
16219
+
15544
16220
  # Represents a principal who possesses a signing key corresponding to the
15545
16221
  # verification key or keyset described here.
15546
16222
  class SigningKeyPossessorProto
@@ -16469,6 +17145,26 @@ module Google
16469
17145
  end
16470
17146
  end
16471
17147
 
17148
+ #
17149
+ class TaskActionMarkup
17150
+ include Google::Apis::Core::Hashable
17151
+
17152
+ #
17153
+ # Corresponds to the JSON property `reloadTasks`
17154
+ # @return [Boolean]
17155
+ attr_accessor :reload_tasks
17156
+ alias_method :reload_tasks?, :reload_tasks
17157
+
17158
+ def initialize(**args)
17159
+ update!(**args)
17160
+ end
17161
+
17162
+ # Update properties of this object
17163
+ def update!(**args)
17164
+ @reload_tasks = args[:reload_tasks] if args.key?(:reload_tasks)
17165
+ end
17166
+ end
17167
+
16472
17168
  #
16473
17169
  class TextButton
16474
17170
  include Google::Apis::Core::Hashable
@@ -17075,6 +17771,71 @@ module Google
17075
17771
  end
17076
17772
  end
17077
17773
 
17774
+ #
17775
+ class UpdateBccRecipients
17776
+ include Google::Apis::Core::Hashable
17777
+
17778
+ #
17779
+ # Corresponds to the JSON property `bccRecipients`
17780
+ # @return [Array<Google::Apis::CloudsearchV1::Recipient>]
17781
+ attr_accessor :bcc_recipients
17782
+
17783
+ def initialize(**args)
17784
+ update!(**args)
17785
+ end
17786
+
17787
+ # Update properties of this object
17788
+ def update!(**args)
17789
+ @bcc_recipients = args[:bcc_recipients] if args.key?(:bcc_recipients)
17790
+ end
17791
+ end
17792
+
17793
+ #
17794
+ class UpdateBody
17795
+ include Google::Apis::Core::Hashable
17796
+
17797
+ # A repeated field that contains a series of content to insert into the draft
17798
+ # that the user is currently editing. The content can contain HTML content or
17799
+ # plain text content.
17800
+ # Corresponds to the JSON property `insertContents`
17801
+ # @return [Array<Google::Apis::CloudsearchV1::InsertContent>]
17802
+ attr_accessor :insert_contents
17803
+
17804
+ #
17805
+ # Corresponds to the JSON property `type`
17806
+ # @return [String]
17807
+ attr_accessor :type
17808
+
17809
+ def initialize(**args)
17810
+ update!(**args)
17811
+ end
17812
+
17813
+ # Update properties of this object
17814
+ def update!(**args)
17815
+ @insert_contents = args[:insert_contents] if args.key?(:insert_contents)
17816
+ @type = args[:type] if args.key?(:type)
17817
+ end
17818
+ end
17819
+
17820
+ #
17821
+ class UpdateCcRecipients
17822
+ include Google::Apis::Core::Hashable
17823
+
17824
+ #
17825
+ # Corresponds to the JSON property `ccRecipients`
17826
+ # @return [Array<Google::Apis::CloudsearchV1::Recipient>]
17827
+ attr_accessor :cc_recipients
17828
+
17829
+ def initialize(**args)
17830
+ update!(**args)
17831
+ end
17832
+
17833
+ # Update properties of this object
17834
+ def update!(**args)
17835
+ @cc_recipients = args[:cc_recipients] if args.key?(:cc_recipients)
17836
+ end
17837
+ end
17838
+
17078
17839
  #
17079
17840
  class UpdateDataSourceRequest
17080
17841
  include Google::Apis::Core::Hashable
@@ -17091,6 +17852,18 @@ module Google
17091
17852
  # @return [Google::Apis::CloudsearchV1::DataSource]
17092
17853
  attr_accessor :source
17093
17854
 
17855
+ # Only applies to [`settings.datasources.patch`](https://developers.google.com/
17856
+ # cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask
17857
+ # to control which fields to update. Example field paths: `name`, `displayName`.
17858
+ # * If `update_mask` is non-empty, then only the fields specified in the `
17859
+ # update_mask` are updated. * If you specify a field in the `update_mask`, but
17860
+ # don't specify its value in the source, that field is cleared. * If the `
17861
+ # update_mask` is not present or empty or has the value `*`, then all fields are
17862
+ # updated.
17863
+ # Corresponds to the JSON property `updateMask`
17864
+ # @return [String]
17865
+ attr_accessor :update_mask
17866
+
17094
17867
  def initialize(**args)
17095
17868
  update!(**args)
17096
17869
  end
@@ -17099,6 +17872,55 @@ module Google
17099
17872
  def update!(**args)
17100
17873
  @debug_options = args[:debug_options] if args.key?(:debug_options)
17101
17874
  @source = args[:source] if args.key?(:source)
17875
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
17876
+ end
17877
+ end
17878
+
17879
+ #
17880
+ class UpdateDraftActionMarkup
17881
+ include Google::Apis::Core::Hashable
17882
+
17883
+ # If set, replaces the existing Bcc recipients of the draft the user is
17884
+ # currently editing.
17885
+ # Corresponds to the JSON property `updateBccRecipients`
17886
+ # @return [Google::Apis::CloudsearchV1::UpdateBccRecipients]
17887
+ attr_accessor :update_bcc_recipients
17888
+
17889
+ # A field that contains a series of update actions to perform on the draft body
17890
+ # that the user is currently editing.
17891
+ # Corresponds to the JSON property `updateBody`
17892
+ # @return [Google::Apis::CloudsearchV1::UpdateBody]
17893
+ attr_accessor :update_body
17894
+
17895
+ # If set, replaces the existing Cc recipients of the draft the user is currently
17896
+ # editing.
17897
+ # Corresponds to the JSON property `updateCcRecipients`
17898
+ # @return [Google::Apis::CloudsearchV1::UpdateCcRecipients]
17899
+ attr_accessor :update_cc_recipients
17900
+
17901
+ # If set, replaces the existing subject of the draft the user is currently
17902
+ # editing.
17903
+ # Corresponds to the JSON property `updateSubject`
17904
+ # @return [Google::Apis::CloudsearchV1::UpdateSubject]
17905
+ attr_accessor :update_subject
17906
+
17907
+ # If set, replaces the existing To recipients of the draft the user is currently
17908
+ # editing.
17909
+ # Corresponds to the JSON property `updateToRecipients`
17910
+ # @return [Google::Apis::CloudsearchV1::UpdateToRecipients]
17911
+ attr_accessor :update_to_recipients
17912
+
17913
+ def initialize(**args)
17914
+ update!(**args)
17915
+ end
17916
+
17917
+ # Update properties of this object
17918
+ def update!(**args)
17919
+ @update_bcc_recipients = args[:update_bcc_recipients] if args.key?(:update_bcc_recipients)
17920
+ @update_body = args[:update_body] if args.key?(:update_body)
17921
+ @update_cc_recipients = args[:update_cc_recipients] if args.key?(:update_cc_recipients)
17922
+ @update_subject = args[:update_subject] if args.key?(:update_subject)
17923
+ @update_to_recipients = args[:update_to_recipients] if args.key?(:update_to_recipients)
17102
17924
  end
17103
17925
  end
17104
17926
 
@@ -17135,6 +17957,44 @@ module Google
17135
17957
  end
17136
17958
  end
17137
17959
 
17960
+ #
17961
+ class UpdateSubject
17962
+ include Google::Apis::Core::Hashable
17963
+
17964
+ #
17965
+ # Corresponds to the JSON property `subject`
17966
+ # @return [String]
17967
+ attr_accessor :subject
17968
+
17969
+ def initialize(**args)
17970
+ update!(**args)
17971
+ end
17972
+
17973
+ # Update properties of this object
17974
+ def update!(**args)
17975
+ @subject = args[:subject] if args.key?(:subject)
17976
+ end
17977
+ end
17978
+
17979
+ #
17980
+ class UpdateToRecipients
17981
+ include Google::Apis::Core::Hashable
17982
+
17983
+ #
17984
+ # Corresponds to the JSON property `toRecipients`
17985
+ # @return [Array<Google::Apis::CloudsearchV1::Recipient>]
17986
+ attr_accessor :to_recipients
17987
+
17988
+ def initialize(**args)
17989
+ update!(**args)
17990
+ end
17991
+
17992
+ # Update properties of this object
17993
+ def update!(**args)
17994
+ @to_recipients = args[:to_recipients] if args.key?(:to_recipients)
17995
+ end
17996
+ end
17997
+
17138
17998
  # Represents an upload session reference. This reference is created via upload
17139
17999
  # method. This reference is valid for 30 days after its creation. Updating of
17140
18000
  # item content may refer to this uploaded content via contentDataRef.
@@ -17305,6 +18165,11 @@ module Google
17305
18165
  # @return [Fixnum]
17306
18166
  attr_accessor :int_image_width
17307
18167
 
18168
+ # NEXT TAG : 18
18169
+ # Corresponds to the JSON property `linkType`
18170
+ # @return [String]
18171
+ attr_accessor :link_type
18172
+
17308
18173
  # Mime type of the content (Currently mapped from Page Render Service ItemType)
17309
18174
  # Note that this is not necessarily the mime type of the http resource. For
17310
18175
  # example a text/html from youtube or vimeo may actually be classified as a
@@ -17345,7 +18210,7 @@ module Google
17345
18210
  # @return [Google::Apis::CloudsearchV1::SafeUrlProto]
17346
18211
  attr_accessor :url
17347
18212
 
17348
- # NEXT TAG : 17
18213
+ #
17349
18214
  # Corresponds to the JSON property `urlSource`
17350
18215
  # @return [String]
17351
18216
  attr_accessor :url_source
@@ -17364,6 +18229,7 @@ module Google
17364
18229
  @image_width = args[:image_width] if args.key?(:image_width)
17365
18230
  @int_image_height = args[:int_image_height] if args.key?(:int_image_height)
17366
18231
  @int_image_width = args[:int_image_width] if args.key?(:int_image_width)
18232
+ @link_type = args[:link_type] if args.key?(:link_type)
17367
18233
  @mime_type = args[:mime_type] if args.key?(:mime_type)
17368
18234
  @redirect_url = args[:redirect_url] if args.key?(:redirect_url)
17369
18235
  @should_not_render = args[:should_not_render] if args.key?(:should_not_render)
@@ -17556,8 +18422,7 @@ module Google
17556
18422
  # will be populated if we can extract such information from the Drive
17557
18423
  # Notification email. This should only be used to fetch user avatars when
17558
18424
  # 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.
18425
+ # Notification items.
17561
18426
  # Corresponds to the JSON property `driveNotificationAvatarUrl`
17562
18427
  # @return [String]
17563
18428
  attr_accessor :drive_notification_avatar_url
@@ -17591,11 +18456,12 @@ module Google
17591
18456
  # The display name of the updater for clients to show used for Gmail items. For
17592
18457
  # non-Drive Notification items, this field will always be populated. If the
17593
18458
  # 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
18459
+ # email address. For Drive Notification items, this is the name of the user who
17595
18460
  # 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.
18461
+ # extract such information from the Drive Notification email. If the name cannot
18462
+ # be extracted, then the email will be the fallback string, which is used as the
18463
+ # display name text in the UI when needed. This is not the actual sender of the
18464
+ # email, as the sender is always comments-noreply@docs.google.com.
17599
18465
  # Corresponds to the JSON property `updaterToShowName`
17600
18466
  # @return [String]
17601
18467
  attr_accessor :updater_to_show_name