google-apis-cloudsearch_v1 0.38.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/cloudsearch_v1/classes.rb +3401 -215
- data/lib/google/apis/cloudsearch_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudsearch_v1/representations.rb +1509 -73
- data/lib/google/apis/cloudsearch_v1/service.rb +24 -18
- metadata +5 -5
@@ -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
|
@@ -4111,37 +4412,22 @@ module Google
|
|
4111
4412
|
end
|
4112
4413
|
end
|
4113
4414
|
|
4114
|
-
#
|
4115
|
-
|
4415
|
+
# An Attribute is a piece of data attached an Item. Attributes are opaque to the
|
4416
|
+
# Starbox and have no effect on, nor are they effected by, message storage,
|
4417
|
+
# indexing, or search.
|
4418
|
+
class Attribute
|
4116
4419
|
include Google::Apis::Core::Hashable
|
4117
4420
|
|
4118
|
-
#
|
4119
|
-
#
|
4120
|
-
# Corresponds to the JSON property `
|
4121
|
-
# @return [Boolean]
|
4122
|
-
attr_accessor :log_admin_read_actions
|
4123
|
-
alias_method :log_admin_read_actions?, :log_admin_read_actions
|
4124
|
-
|
4125
|
-
# Indicates whether audit logging is on/off for data access read APIs i.e.
|
4126
|
-
# ListItems, GetItem etc.
|
4127
|
-
# Corresponds to the JSON property `logDataReadActions`
|
4128
|
-
# @return [Boolean]
|
4129
|
-
attr_accessor :log_data_read_actions
|
4130
|
-
alias_method :log_data_read_actions?, :log_data_read_actions
|
4131
|
-
|
4132
|
-
# Indicates whether audit logging is on/off for data access write APIs i.e.
|
4133
|
-
# IndexItem etc.
|
4134
|
-
# Corresponds to the JSON property `logDataWriteActions`
|
4135
|
-
# @return [Boolean]
|
4136
|
-
attr_accessor :log_data_write_actions
|
4137
|
-
alias_method :log_data_write_actions?, :log_data_write_actions
|
4138
|
-
|
4139
|
-
# The resource name of the GCP Project to store audit logs. Cloud audit logging
|
4140
|
-
# will be enabled after project_name has been updated through CustomerService.
|
4141
|
-
# Format: projects/`project_id`
|
4142
|
-
# Corresponds to the JSON property `project`
|
4421
|
+
# The name of the attribute. Required - If a write is attempted with an empty
|
4422
|
+
# string, the server will return an error.
|
4423
|
+
# Corresponds to the JSON property `name`
|
4143
4424
|
# @return [String]
|
4144
|
-
attr_accessor :
|
4425
|
+
attr_accessor :name
|
4426
|
+
|
4427
|
+
#
|
4428
|
+
# Corresponds to the JSON property `value`
|
4429
|
+
# @return [Google::Apis::CloudsearchV1::CaribouAttributeValue]
|
4430
|
+
attr_accessor :value
|
4145
4431
|
|
4146
4432
|
def initialize(**args)
|
4147
4433
|
update!(**args)
|
@@ -4149,28 +4435,149 @@ module Google
|
|
4149
4435
|
|
4150
4436
|
# Update properties of this object
|
4151
4437
|
def update!(**args)
|
4152
|
-
@
|
4153
|
-
@
|
4154
|
-
@log_data_write_actions = args[:log_data_write_actions] if args.key?(:log_data_write_actions)
|
4155
|
-
@project = args[:project] if args.key?(:project)
|
4438
|
+
@name = args[:name] if args.key?(:name)
|
4439
|
+
@value = args[:value] if args.key?(:value)
|
4156
4440
|
end
|
4157
4441
|
end
|
4158
4442
|
|
4159
|
-
#
|
4160
|
-
|
4161
|
-
# and this proto annotates those secret fields to ensure that they are not.
|
4162
|
-
# Clients are encouraged to use this proto rather than defining their own, to
|
4163
|
-
# ensure that secrets are correctly annotated.
|
4164
|
-
class AuthorizedItemId
|
4443
|
+
# An attribute was deleted from some (subset of the) messages in this thread.
|
4444
|
+
class AttributeRemoved
|
4165
4445
|
include Google::Apis::Core::Hashable
|
4166
4446
|
|
4167
|
-
#
|
4168
|
-
# Corresponds to the JSON property `
|
4447
|
+
#
|
4448
|
+
# Corresponds to the JSON property `attributeId`
|
4169
4449
|
# @return [String]
|
4170
|
-
attr_accessor :
|
4450
|
+
attr_accessor :attribute_id
|
4171
4451
|
|
4172
|
-
#
|
4173
|
-
#
|
4452
|
+
#
|
4453
|
+
# Corresponds to the JSON property `messageKeys`
|
4454
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
4455
|
+
attr_accessor :message_keys
|
4456
|
+
|
4457
|
+
def initialize(**args)
|
4458
|
+
update!(**args)
|
4459
|
+
end
|
4460
|
+
|
4461
|
+
# Update properties of this object
|
4462
|
+
def update!(**args)
|
4463
|
+
@attribute_id = args[:attribute_id] if args.key?(:attribute_id)
|
4464
|
+
@message_keys = args[:message_keys] if args.key?(:message_keys)
|
4465
|
+
end
|
4466
|
+
end
|
4467
|
+
|
4468
|
+
# An attribute was added to some (subset of the) messages in this thread.
|
4469
|
+
class AttributeSet
|
4470
|
+
include Google::Apis::Core::Hashable
|
4471
|
+
|
4472
|
+
#
|
4473
|
+
# Corresponds to the JSON property `attributeId`
|
4474
|
+
# @return [String]
|
4475
|
+
attr_accessor :attribute_id
|
4476
|
+
|
4477
|
+
# The serialized attribute_value as persisted in the storage layer. The
|
4478
|
+
# application is responsible for deserializing it to an Attribute.Value if
|
4479
|
+
# appropriate.
|
4480
|
+
# Corresponds to the JSON property `attributeValue`
|
4481
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4482
|
+
# @return [String]
|
4483
|
+
attr_accessor :attribute_value
|
4484
|
+
|
4485
|
+
#
|
4486
|
+
# Corresponds to the JSON property `messageKeys`
|
4487
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
4488
|
+
attr_accessor :message_keys
|
4489
|
+
|
4490
|
+
def initialize(**args)
|
4491
|
+
update!(**args)
|
4492
|
+
end
|
4493
|
+
|
4494
|
+
# Update properties of this object
|
4495
|
+
def update!(**args)
|
4496
|
+
@attribute_id = args[:attribute_id] if args.key?(:attribute_id)
|
4497
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
4498
|
+
@message_keys = args[:message_keys] if args.key?(:message_keys)
|
4499
|
+
end
|
4500
|
+
end
|
4501
|
+
|
4502
|
+
#
|
4503
|
+
class Attributes
|
4504
|
+
include Google::Apis::Core::Hashable
|
4505
|
+
|
4506
|
+
#
|
4507
|
+
# Corresponds to the JSON property `attribute`
|
4508
|
+
# @return [Array<Google::Apis::CloudsearchV1::Attribute>]
|
4509
|
+
attr_accessor :attribute
|
4510
|
+
|
4511
|
+
def initialize(**args)
|
4512
|
+
update!(**args)
|
4513
|
+
end
|
4514
|
+
|
4515
|
+
# Update properties of this object
|
4516
|
+
def update!(**args)
|
4517
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
4518
|
+
end
|
4519
|
+
end
|
4520
|
+
|
4521
|
+
# Represents the settings for Cloud audit logging
|
4522
|
+
class AuditLoggingSettings
|
4523
|
+
include Google::Apis::Core::Hashable
|
4524
|
+
|
4525
|
+
# Indicates whether audit logging is on/off for admin activity read APIs i.e.
|
4526
|
+
# Get/List DataSources, Get/List SearchApplications etc.
|
4527
|
+
# Corresponds to the JSON property `logAdminReadActions`
|
4528
|
+
# @return [Boolean]
|
4529
|
+
attr_accessor :log_admin_read_actions
|
4530
|
+
alias_method :log_admin_read_actions?, :log_admin_read_actions
|
4531
|
+
|
4532
|
+
# Indicates whether audit logging is on/off for data access read APIs i.e.
|
4533
|
+
# ListItems, GetItem etc.
|
4534
|
+
# Corresponds to the JSON property `logDataReadActions`
|
4535
|
+
# @return [Boolean]
|
4536
|
+
attr_accessor :log_data_read_actions
|
4537
|
+
alias_method :log_data_read_actions?, :log_data_read_actions
|
4538
|
+
|
4539
|
+
# Indicates whether audit logging is on/off for data access write APIs i.e.
|
4540
|
+
# IndexItem etc.
|
4541
|
+
# Corresponds to the JSON property `logDataWriteActions`
|
4542
|
+
# @return [Boolean]
|
4543
|
+
attr_accessor :log_data_write_actions
|
4544
|
+
alias_method :log_data_write_actions?, :log_data_write_actions
|
4545
|
+
|
4546
|
+
# The resource name of the GCP Project to store audit logs. Cloud audit logging
|
4547
|
+
# will be enabled after project_name has been updated through CustomerService.
|
4548
|
+
# Format: projects/`project_id`
|
4549
|
+
# Corresponds to the JSON property `project`
|
4550
|
+
# @return [String]
|
4551
|
+
attr_accessor :project
|
4552
|
+
|
4553
|
+
def initialize(**args)
|
4554
|
+
update!(**args)
|
4555
|
+
end
|
4556
|
+
|
4557
|
+
# Update properties of this object
|
4558
|
+
def update!(**args)
|
4559
|
+
@log_admin_read_actions = args[:log_admin_read_actions] if args.key?(:log_admin_read_actions)
|
4560
|
+
@log_data_read_actions = args[:log_data_read_actions] if args.key?(:log_data_read_actions)
|
4561
|
+
@log_data_write_actions = args[:log_data_write_actions] if args.key?(:log_data_write_actions)
|
4562
|
+
@project = args[:project] if args.key?(:project)
|
4563
|
+
end
|
4564
|
+
end
|
4565
|
+
|
4566
|
+
# A combination of an identifier for a Drive resource (e.g. file, folder, or
|
4567
|
+
# drive) and any secrets needed to access it. The secrets should never be logged,
|
4568
|
+
# and this proto annotates those secret fields to ensure that they are not.
|
4569
|
+
# Clients are encouraged to use this proto rather than defining their own, to
|
4570
|
+
# ensure that secrets are correctly annotated.
|
4571
|
+
class AuthorizedItemId
|
4572
|
+
include Google::Apis::Core::Hashable
|
4573
|
+
|
4574
|
+
# Serialized ID of the Drive resource
|
4575
|
+
# Corresponds to the JSON property `id`
|
4576
|
+
# @return [String]
|
4577
|
+
attr_accessor :id
|
4578
|
+
|
4579
|
+
# Resource key of the Drive item. This field should be unset if, depending on
|
4580
|
+
# the context, the item does not have a resource key, or if none was specified.
|
4174
4581
|
# This must never be logged.
|
4175
4582
|
# Corresponds to the JSON property `resourceKey`
|
4176
4583
|
# @return [String]
|
@@ -4623,6 +5030,37 @@ module Google
|
|
4623
5030
|
end
|
4624
5031
|
end
|
4625
5032
|
|
5033
|
+
#
|
5034
|
+
class CalendarClientActionMarkup
|
5035
|
+
include Google::Apis::Core::Hashable
|
5036
|
+
|
5037
|
+
# An action that adds attachments to the Google Calendar event.
|
5038
|
+
# Corresponds to the JSON property `addAttachmentsActionMarkup`
|
5039
|
+
# @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup]
|
5040
|
+
attr_accessor :add_attachments_action_markup
|
5041
|
+
|
5042
|
+
# An action that adds attendees to the Google Calendar event.
|
5043
|
+
# Corresponds to the JSON property `editAttendeesActionMarkup`
|
5044
|
+
# @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup]
|
5045
|
+
attr_accessor :edit_attendees_action_markup
|
5046
|
+
|
5047
|
+
# An action that adds conference data to the Google Calendar event.
|
5048
|
+
# Corresponds to the JSON property `editConferenceDataActionMarkup`
|
5049
|
+
# @return [Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup]
|
5050
|
+
attr_accessor :edit_conference_data_action_markup
|
5051
|
+
|
5052
|
+
def initialize(**args)
|
5053
|
+
update!(**args)
|
5054
|
+
end
|
5055
|
+
|
5056
|
+
# Update properties of this object
|
5057
|
+
def update!(**args)
|
5058
|
+
@add_attachments_action_markup = args[:add_attachments_action_markup] if args.key?(:add_attachments_action_markup)
|
5059
|
+
@edit_attendees_action_markup = args[:edit_attendees_action_markup] if args.key?(:edit_attendees_action_markup)
|
5060
|
+
@edit_conference_data_action_markup = args[:edit_conference_data_action_markup] if args.key?(:edit_conference_data_action_markup)
|
5061
|
+
end
|
5062
|
+
end
|
5063
|
+
|
4626
5064
|
# Contains information regarding an ongoing conference (aka call) for a meeting
|
4627
5065
|
# space.
|
4628
5066
|
class CallInfo
|
@@ -4664,11 +5102,6 @@ module Google
|
|
4664
5102
|
# @return [String]
|
4665
5103
|
attr_accessor :calendar_event_id
|
4666
5104
|
|
4667
|
-
# Configuration of the in meeting chat.
|
4668
|
-
# Corresponds to the JSON property `chatConfig`
|
4669
|
-
# @return [Google::Apis::CloudsearchV1::ChatConfig]
|
4670
|
-
attr_accessor :chat_config
|
4671
|
-
|
4672
5105
|
# Metadata about a co-activity session.
|
4673
5106
|
# Corresponds to the JSON property `coActivity`
|
4674
5107
|
# @return [Google::Apis::CloudsearchV1::CoActivity]
|
@@ -4695,16 +5128,6 @@ module Google
|
|
4695
5128
|
# @return [Fixnum]
|
4696
5129
|
attr_accessor :max_joined_devices
|
4697
5130
|
|
4698
|
-
# Output only. Information about the media backend for the currently ongoing
|
4699
|
-
# conference in the meeting space. The media backend information will only be
|
4700
|
-
# filled in for clients that are supposed to present the information. The
|
4701
|
-
# information should be displayed in a debug panel and is only intended for
|
4702
|
-
# internal debugging purposes. If the string is empty nothing should be
|
4703
|
-
# displayed about the media backend.
|
4704
|
-
# Corresponds to the JSON property `mediaBackendInfo`
|
4705
|
-
# @return [String]
|
4706
|
-
attr_accessor :media_backend_info
|
4707
|
-
|
4708
5131
|
# Output only. The name or description of the organization or domain that the
|
4709
5132
|
# organizer belongs to. The expected use of this in clients is to present
|
4710
5133
|
# messages like "John Doe (outside of Google.com) is trying to join this call",
|
@@ -4779,12 +5202,10 @@ module Google
|
|
4779
5202
|
@available_reactions = args[:available_reactions] if args.key?(:available_reactions)
|
4780
5203
|
@broadcast_session_info = args[:broadcast_session_info] if args.key?(:broadcast_session_info)
|
4781
5204
|
@calendar_event_id = args[:calendar_event_id] if args.key?(:calendar_event_id)
|
4782
|
-
@chat_config = args[:chat_config] if args.key?(:chat_config)
|
4783
5205
|
@co_activity = args[:co_activity] if args.key?(:co_activity)
|
4784
5206
|
@collaboration = args[:collaboration] if args.key?(:collaboration)
|
4785
5207
|
@cse_info = args[:cse_info] if args.key?(:cse_info)
|
4786
5208
|
@max_joined_devices = args[:max_joined_devices] if args.key?(:max_joined_devices)
|
4787
|
-
@media_backend_info = args[:media_backend_info] if args.key?(:media_backend_info)
|
4788
5209
|
@organization_name = args[:organization_name] if args.key?(:organization_name)
|
4789
5210
|
@paygate_info = args[:paygate_info] if args.key?(:paygate_info)
|
4790
5211
|
@presenter = args[:presenter] if args.key?(:presenter)
|
@@ -4808,6 +5229,17 @@ module Google
|
|
4808
5229
|
attr_accessor :access_lock
|
4809
5230
|
alias_method :access_lock?, :access_lock
|
4810
5231
|
|
5232
|
+
# The current access type of the conference.
|
5233
|
+
# Corresponds to the JSON property `accessType`
|
5234
|
+
# @return [String]
|
5235
|
+
attr_accessor :access_type
|
5236
|
+
|
5237
|
+
# Whether users can join this conference before a host (Host or Cohost).
|
5238
|
+
# Corresponds to the JSON property `allowJoiningBeforeHost`
|
5239
|
+
# @return [Boolean]
|
5240
|
+
attr_accessor :allow_joining_before_host
|
5241
|
+
alias_method :allow_joining_before_host?, :allow_joining_before_host
|
5242
|
+
|
4811
5243
|
# Indicates whether the attendance report is currently enabled or disabled.
|
4812
5244
|
# Corresponds to the JSON property `attendanceReportEnabled`
|
4813
5245
|
# @return [Boolean]
|
@@ -4832,7 +5264,7 @@ module Google
|
|
4832
5264
|
attr_accessor :cse_enabled
|
4833
5265
|
alias_method :cse_enabled?, :cse_enabled
|
4834
5266
|
|
4835
|
-
# Indicates whether
|
5267
|
+
# Indicates whether moderation is currently on or off.
|
4836
5268
|
# Corresponds to the JSON property `moderationEnabled`
|
4837
5269
|
# @return [Boolean]
|
4838
5270
|
attr_accessor :moderation_enabled
|
@@ -4863,6 +5295,8 @@ module Google
|
|
4863
5295
|
# Update properties of this object
|
4864
5296
|
def update!(**args)
|
4865
5297
|
@access_lock = args[:access_lock] if args.key?(:access_lock)
|
5298
|
+
@access_type = args[:access_type] if args.key?(:access_type)
|
5299
|
+
@allow_joining_before_host = args[:allow_joining_before_host] if args.key?(:allow_joining_before_host)
|
4866
5300
|
@attendance_report_enabled = args[:attendance_report_enabled] if args.key?(:attendance_report_enabled)
|
4867
5301
|
@audio_lock = args[:audio_lock] if args.key?(:audio_lock)
|
4868
5302
|
@chat_lock = args[:chat_lock] if args.key?(:chat_lock)
|
@@ -5050,19 +5484,59 @@ module Google
|
|
5050
5484
|
end
|
5051
5485
|
end
|
5052
5486
|
|
5053
|
-
#
|
5054
|
-
class
|
5487
|
+
#
|
5488
|
+
class CaribouAttributeValue
|
5055
5489
|
include Google::Apis::Core::Hashable
|
5056
5490
|
|
5057
|
-
#
|
5058
|
-
# Corresponds to the JSON property `
|
5491
|
+
# Tags 1 through 15 are reserved for the most commonly used fields.
|
5492
|
+
# Corresponds to the JSON property `booleanValue`
|
5493
|
+
# @return [Boolean]
|
5494
|
+
attr_accessor :boolean_value
|
5495
|
+
alias_method :boolean_value?, :boolean_value
|
5496
|
+
|
5497
|
+
#
|
5498
|
+
# Corresponds to the JSON property `intValue`
|
5499
|
+
# @return [Fixnum]
|
5500
|
+
attr_accessor :int_value
|
5501
|
+
|
5502
|
+
#
|
5503
|
+
# Corresponds to the JSON property `longValue`
|
5504
|
+
# @return [Fixnum]
|
5505
|
+
attr_accessor :long_value
|
5506
|
+
|
5507
|
+
# Generally, applications should avoid storing raw bytes and instead store
|
5508
|
+
# structured data as protocol buffer extensions. This both reduces the amount of
|
5509
|
+
# ad-hoc attribute parsing code as well as eliminates an intermediate copy of
|
5510
|
+
# the data when deserializing the value. The rawByteValue field is mainly
|
5511
|
+
# provided for compatibility with attributes stored before the introduction of
|
5512
|
+
# the Attribute.Value.
|
5513
|
+
# Corresponds to the JSON property `rawByteValue`
|
5514
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5515
|
+
# @return [String]
|
5516
|
+
attr_accessor :raw_byte_value
|
5517
|
+
|
5518
|
+
#
|
5519
|
+
# Corresponds to the JSON property `stringValue`
|
5059
5520
|
# @return [String]
|
5060
|
-
attr_accessor :
|
5521
|
+
attr_accessor :string_value
|
5522
|
+
|
5523
|
+
def initialize(**args)
|
5524
|
+
update!(**args)
|
5525
|
+
end
|
5526
|
+
|
5527
|
+
# Update properties of this object
|
5528
|
+
def update!(**args)
|
5529
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
5530
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
5531
|
+
@long_value = args[:long_value] if args.key?(:long_value)
|
5532
|
+
@raw_byte_value = args[:raw_byte_value] if args.key?(:raw_byte_value)
|
5533
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
5534
|
+
end
|
5535
|
+
end
|
5061
5536
|
|
5062
|
-
|
5063
|
-
|
5064
|
-
|
5065
|
-
attr_accessor :google_chat_config
|
5537
|
+
# Actions handled by Chat Clients.
|
5538
|
+
class ChatClientActionMarkup
|
5539
|
+
include Google::Apis::Core::Hashable
|
5066
5540
|
|
5067
5541
|
def initialize(**args)
|
5068
5542
|
update!(**args)
|
@@ -5070,8 +5544,6 @@ module Google
|
|
5070
5544
|
|
5071
5545
|
# Update properties of this object
|
5072
5546
|
def update!(**args)
|
5073
|
-
@chat_type = args[:chat_type] if args.key?(:chat_type)
|
5074
|
-
@google_chat_config = args[:google_chat_config] if args.key?(:google_chat_config)
|
5075
5547
|
end
|
5076
5548
|
end
|
5077
5549
|
|
@@ -5443,6 +5915,49 @@ module Google
|
|
5443
5915
|
end
|
5444
5916
|
end
|
5445
5917
|
|
5918
|
+
# Represents the context of the client on behalf of which a HistoryRecord is
|
5919
|
+
# produced. The ClientContext message can be used to hold context about the
|
5920
|
+
# service client (e.g. the internal server making fusebox requests) or the user
|
5921
|
+
# client (e.g. the IP address of the end user).
|
5922
|
+
class ClientContext
|
5923
|
+
include Google::Apis::Core::Hashable
|
5924
|
+
|
5925
|
+
# The client operation to which this history record belongs. The notion of a
|
5926
|
+
# client operation is provided to keep track of client operations which might
|
5927
|
+
# span multiple transactions in the lower level.
|
5928
|
+
# Corresponds to the JSON property `clientOperationId`
|
5929
|
+
# @return [String]
|
5930
|
+
attr_accessor :client_operation_id
|
5931
|
+
|
5932
|
+
# E.g. "pinto", "imap", "bigtop", "upload"
|
5933
|
+
# Corresponds to the JSON property `clientType`
|
5934
|
+
# @return [String]
|
5935
|
+
attr_accessor :client_type
|
5936
|
+
|
5937
|
+
# Contains information about the session which created this history record. This
|
5938
|
+
# will be empty if the history record was generated by an internal request.
|
5939
|
+
# Corresponds to the JSON property `sessionContext`
|
5940
|
+
# @return [Google::Apis::CloudsearchV1::SessionContext]
|
5941
|
+
attr_accessor :session_context
|
5942
|
+
|
5943
|
+
# Textual representation of the user's IP address, if available.
|
5944
|
+
# Corresponds to the JSON property `userIp`
|
5945
|
+
# @return [String]
|
5946
|
+
attr_accessor :user_ip
|
5947
|
+
|
5948
|
+
def initialize(**args)
|
5949
|
+
update!(**args)
|
5950
|
+
end
|
5951
|
+
|
5952
|
+
# Update properties of this object
|
5953
|
+
def update!(**args)
|
5954
|
+
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
5955
|
+
@client_type = args[:client_type] if args.key?(:client_type)
|
5956
|
+
@session_context = args[:session_context] if args.key?(:session_context)
|
5957
|
+
@user_ip = args[:user_ip] if args.key?(:user_ip)
|
5958
|
+
end
|
5959
|
+
end
|
5960
|
+
|
5446
5961
|
# Principal associated with a Cloud Principal representing third party user.
|
5447
5962
|
class CloudPrincipalProto
|
5448
5963
|
include Google::Apis::Core::Hashable
|
@@ -5462,6 +5977,39 @@ module Google
|
|
5462
5977
|
end
|
5463
5978
|
end
|
5464
5979
|
|
5980
|
+
# ClusterInfo contains clustering related information for a particular thread
|
5981
|
+
# that would be sent as part of the conversation view. Today, this information
|
5982
|
+
# would be used by iOS notification server to identify whether the thread
|
5983
|
+
# belongs to a cluster. If the thread belongs to a grouped cluster, it would
|
5984
|
+
# identify whether the cluster is throttled.
|
5985
|
+
class ClusterInfo
|
5986
|
+
include Google::Apis::Core::Hashable
|
5987
|
+
|
5988
|
+
# IDs of the highest priority clusters to which the thread belongs to. If this
|
5989
|
+
# field is not present, the thread does not belong to any cluster and would be
|
5990
|
+
# shown in the inbox, unclustered.
|
5991
|
+
# Corresponds to the JSON property `clusterId`
|
5992
|
+
# @return [Array<String>]
|
5993
|
+
attr_accessor :cluster_id
|
5994
|
+
|
5995
|
+
# If the thread belongs to a grouped cluster and all of those clusters are
|
5996
|
+
# throttled, then this field is set to true.
|
5997
|
+
# Corresponds to the JSON property `throttled`
|
5998
|
+
# @return [Boolean]
|
5999
|
+
attr_accessor :throttled
|
6000
|
+
alias_method :throttled?, :throttled
|
6001
|
+
|
6002
|
+
def initialize(**args)
|
6003
|
+
update!(**args)
|
6004
|
+
end
|
6005
|
+
|
6006
|
+
# Update properties of this object
|
6007
|
+
def update!(**args)
|
6008
|
+
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
6009
|
+
@throttled = args[:throttled] if args.key?(:throttled)
|
6010
|
+
end
|
6011
|
+
end
|
6012
|
+
|
5465
6013
|
# Metadata about a co-activity session.
|
5466
6014
|
class CoActivity
|
5467
6015
|
include Google::Apis::Core::Hashable
|
@@ -5933,6 +6481,31 @@ module Google
|
|
5933
6481
|
end
|
5934
6482
|
end
|
5935
6483
|
|
6484
|
+
# The result of a user running a custom function.
|
6485
|
+
class CustomFunctionReturnValueMarkup
|
6486
|
+
include Google::Apis::Core::Hashable
|
6487
|
+
|
6488
|
+
# The error message to show to the user if something went wrong.
|
6489
|
+
# Corresponds to the JSON property `errorMessage`
|
6490
|
+
# @return [String]
|
6491
|
+
attr_accessor :error_message
|
6492
|
+
|
6493
|
+
# The value that resulted from running the custom function.
|
6494
|
+
# Corresponds to the JSON property `value`
|
6495
|
+
# @return [Object]
|
6496
|
+
attr_accessor :value
|
6497
|
+
|
6498
|
+
def initialize(**args)
|
6499
|
+
update!(**args)
|
6500
|
+
end
|
6501
|
+
|
6502
|
+
# Update properties of this object
|
6503
|
+
def update!(**args)
|
6504
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
6505
|
+
@value = args[:value] if args.key?(:value)
|
6506
|
+
end
|
6507
|
+
end
|
6508
|
+
|
5936
6509
|
# Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.
|
5937
6510
|
class CustomerId
|
5938
6511
|
include Google::Apis::Core::Hashable
|
@@ -6823,6 +7396,25 @@ module Google
|
|
6823
7396
|
end
|
6824
7397
|
end
|
6825
7398
|
|
7399
|
+
#
|
7400
|
+
class DriveClientActionMarkup
|
7401
|
+
include Google::Apis::Core::Hashable
|
7402
|
+
|
7403
|
+
#
|
7404
|
+
# Corresponds to the JSON property `requestFileScope`
|
7405
|
+
# @return [Google::Apis::CloudsearchV1::RequestFileScope]
|
7406
|
+
attr_accessor :request_file_scope
|
7407
|
+
|
7408
|
+
def initialize(**args)
|
7409
|
+
update!(**args)
|
7410
|
+
end
|
7411
|
+
|
7412
|
+
# Update properties of this object
|
7413
|
+
def update!(**args)
|
7414
|
+
@request_file_scope = args[:request_file_scope] if args.key?(:request_file_scope)
|
7415
|
+
end
|
7416
|
+
end
|
7417
|
+
|
6826
7418
|
# Drive follow-up search restricts (e.g. "followup:suggestions").
|
6827
7419
|
class DriveFollowUpRestrict
|
6828
7420
|
include Google::Apis::Core::Hashable
|
@@ -7098,26 +7690,11 @@ module Google
|
|
7098
7690
|
end
|
7099
7691
|
end
|
7100
7692
|
|
7101
|
-
# This is the proto for holding
|
7693
|
+
# This is the proto for holding message level scoring information. This data is
|
7102
7694
|
# used for logging in query-api server and for testing purposes.
|
7103
|
-
class
|
7695
|
+
class DynamiteMessagesScoringInfo
|
7104
7696
|
include Google::Apis::Core::Hashable
|
7105
7697
|
|
7106
|
-
#
|
7107
|
-
# Corresponds to the JSON property `affinityScore`
|
7108
|
-
# @return [Float]
|
7109
|
-
attr_accessor :affinity_score
|
7110
|
-
|
7111
|
-
#
|
7112
|
-
# Corresponds to the JSON property `commonContactCountAffinityScore`
|
7113
|
-
# @return [Float]
|
7114
|
-
attr_accessor :common_contact_count_affinity_score
|
7115
|
-
|
7116
|
-
#
|
7117
|
-
# Corresponds to the JSON property `contactsIntersectionCount`
|
7118
|
-
# @return [Float]
|
7119
|
-
attr_accessor :contacts_intersection_count
|
7120
|
-
|
7121
7698
|
#
|
7122
7699
|
# Corresponds to the JSON property `finalScore`
|
7123
7700
|
# @return [Float]
|
@@ -7129,19 +7706,78 @@ module Google
|
|
7129
7706
|
attr_accessor :freshness_score
|
7130
7707
|
|
7131
7708
|
#
|
7132
|
-
# Corresponds to the JSON property `
|
7709
|
+
# Corresponds to the JSON property `joinedSpaceAffinityScore`
|
7133
7710
|
# @return [Float]
|
7134
|
-
attr_accessor :
|
7135
|
-
|
7136
|
-
#
|
7137
|
-
# Corresponds to the JSON property `lastMessagePostedTimestampSecs`
|
7138
|
-
# @return [Fixnum]
|
7139
|
-
attr_accessor :last_message_posted_timestamp_secs
|
7711
|
+
attr_accessor :joined_space_affinity_score
|
7140
7712
|
|
7141
7713
|
#
|
7142
|
-
# Corresponds to the JSON property `
|
7143
|
-
# @return [
|
7144
|
-
attr_accessor :
|
7714
|
+
# Corresponds to the JSON property `messageAgeInDays`
|
7715
|
+
# @return [Float]
|
7716
|
+
attr_accessor :message_age_in_days
|
7717
|
+
|
7718
|
+
#
|
7719
|
+
# Corresponds to the JSON property `topicalityScore`
|
7720
|
+
# @return [Float]
|
7721
|
+
attr_accessor :topicality_score
|
7722
|
+
|
7723
|
+
def initialize(**args)
|
7724
|
+
update!(**args)
|
7725
|
+
end
|
7726
|
+
|
7727
|
+
# Update properties of this object
|
7728
|
+
def update!(**args)
|
7729
|
+
@final_score = args[:final_score] if args.key?(:final_score)
|
7730
|
+
@freshness_score = args[:freshness_score] if args.key?(:freshness_score)
|
7731
|
+
@joined_space_affinity_score = args[:joined_space_affinity_score] if args.key?(:joined_space_affinity_score)
|
7732
|
+
@message_age_in_days = args[:message_age_in_days] if args.key?(:message_age_in_days)
|
7733
|
+
@topicality_score = args[:topicality_score] if args.key?(:topicality_score)
|
7734
|
+
end
|
7735
|
+
end
|
7736
|
+
|
7737
|
+
# This is the proto for holding space level scoring information. This data is
|
7738
|
+
# used for logging in query-api server and for testing purposes.
|
7739
|
+
class DynamiteSpacesScoringInfo
|
7740
|
+
include Google::Apis::Core::Hashable
|
7741
|
+
|
7742
|
+
#
|
7743
|
+
# Corresponds to the JSON property `affinityScore`
|
7744
|
+
# @return [Float]
|
7745
|
+
attr_accessor :affinity_score
|
7746
|
+
|
7747
|
+
#
|
7748
|
+
# Corresponds to the JSON property `commonContactCountAffinityScore`
|
7749
|
+
# @return [Float]
|
7750
|
+
attr_accessor :common_contact_count_affinity_score
|
7751
|
+
|
7752
|
+
#
|
7753
|
+
# Corresponds to the JSON property `contactsIntersectionCount`
|
7754
|
+
# @return [Float]
|
7755
|
+
attr_accessor :contacts_intersection_count
|
7756
|
+
|
7757
|
+
#
|
7758
|
+
# Corresponds to the JSON property `finalScore`
|
7759
|
+
# @return [Float]
|
7760
|
+
attr_accessor :final_score
|
7761
|
+
|
7762
|
+
#
|
7763
|
+
# Corresponds to the JSON property `freshnessScore`
|
7764
|
+
# @return [Float]
|
7765
|
+
attr_accessor :freshness_score
|
7766
|
+
|
7767
|
+
#
|
7768
|
+
# Corresponds to the JSON property `joinedSpacesAffinityScore`
|
7769
|
+
# @return [Float]
|
7770
|
+
attr_accessor :joined_spaces_affinity_score
|
7771
|
+
|
7772
|
+
#
|
7773
|
+
# Corresponds to the JSON property `lastMessagePostedTimestampSecs`
|
7774
|
+
# @return [Fixnum]
|
7775
|
+
attr_accessor :last_message_posted_timestamp_secs
|
7776
|
+
|
7777
|
+
#
|
7778
|
+
# Corresponds to the JSON property `lastReadTimestampSecs`
|
7779
|
+
# @return [Fixnum]
|
7780
|
+
attr_accessor :last_read_timestamp_secs
|
7145
7781
|
|
7146
7782
|
#
|
7147
7783
|
# Corresponds to the JSON property `memberMetadataCount`
|
@@ -7221,6 +7857,25 @@ module Google
|
|
7221
7857
|
end
|
7222
7858
|
end
|
7223
7859
|
|
7860
|
+
#
|
7861
|
+
class EditorClientActionMarkup
|
7862
|
+
include Google::Apis::Core::Hashable
|
7863
|
+
|
7864
|
+
#
|
7865
|
+
# Corresponds to the JSON property `requestFileScopeForActiveDocument`
|
7866
|
+
# @return [Google::Apis::CloudsearchV1::RequestFileScopeForActiveDocument]
|
7867
|
+
attr_accessor :request_file_scope_for_active_document
|
7868
|
+
|
7869
|
+
def initialize(**args)
|
7870
|
+
update!(**args)
|
7871
|
+
end
|
7872
|
+
|
7873
|
+
# Update properties of this object
|
7874
|
+
def update!(**args)
|
7875
|
+
@request_file_scope_for_active_document = args[:request_file_scope_for_active_document] if args.key?(:request_file_scope_for_active_document)
|
7876
|
+
end
|
7877
|
+
end
|
7878
|
+
|
7224
7879
|
# A person's email address.
|
7225
7880
|
class EmailAddress
|
7226
7881
|
include Google::Apis::Core::Hashable
|
@@ -7630,6 +8285,16 @@ module Google
|
|
7630
8285
|
# @return [Fixnum]
|
7631
8286
|
attr_accessor :count
|
7632
8287
|
|
8288
|
+
# A generic way of expressing filters in a query, which supports two approaches:
|
8289
|
+
# **1. Setting a ValueFilter.** The name must match an operator_name defined in
|
8290
|
+
# the schema for your data source. **2. Setting a CompositeFilter.** The filters
|
8291
|
+
# are evaluated using the logical operator. The top-level operators can only be
|
8292
|
+
# either an AND or a NOT. AND can appear only at the top-most level. OR can
|
8293
|
+
# appear only under a top-level AND.
|
8294
|
+
# Corresponds to the JSON property `filter`
|
8295
|
+
# @return [Google::Apis::CloudsearchV1::Filter]
|
8296
|
+
attr_accessor :filter
|
8297
|
+
|
7633
8298
|
# Percent of results that match the bucket value. The returned value is between (
|
7634
8299
|
# 0-100], and is rounded down to an integer if fractional. If the value is not
|
7635
8300
|
# explicitly returned, it represents a percentage value that rounds to 0.
|
@@ -7652,6 +8317,7 @@ module Google
|
|
7652
8317
|
# Update properties of this object
|
7653
8318
|
def update!(**args)
|
7654
8319
|
@count = args[:count] if args.key?(:count)
|
8320
|
+
@filter = args[:filter] if args.key?(:filter)
|
7655
8321
|
@percentage = args[:percentage] if args.key?(:percentage)
|
7656
8322
|
@value = args[:value] if args.key?(:value)
|
7657
8323
|
end
|
@@ -7662,6 +8328,11 @@ module Google
|
|
7662
8328
|
class FacetOptions
|
7663
8329
|
include Google::Apis::Core::Hashable
|
7664
8330
|
|
8331
|
+
# Used to specify integer faceting options.
|
8332
|
+
# Corresponds to the JSON property `integerFacetingOptions`
|
8333
|
+
# @return [Google::Apis::CloudsearchV1::IntegerFacetingOptions]
|
8334
|
+
attr_accessor :integer_faceting_options
|
8335
|
+
|
7665
8336
|
# Maximum number of facet buckets that should be returned for this facet.
|
7666
8337
|
# Defaults to 10. Maximum value is 100.
|
7667
8338
|
# Corresponds to the JSON property `numFacetBuckets`
|
@@ -7692,6 +8363,7 @@ module Google
|
|
7692
8363
|
|
7693
8364
|
# Update properties of this object
|
7694
8365
|
def update!(**args)
|
8366
|
+
@integer_faceting_options = args[:integer_faceting_options] if args.key?(:integer_faceting_options)
|
7695
8367
|
@num_facet_buckets = args[:num_facet_buckets] if args.key?(:num_facet_buckets)
|
7696
8368
|
@object_type = args[:object_type] if args.key?(:object_type)
|
7697
8369
|
@operator_name = args[:operator_name] if args.key?(:operator_name)
|
@@ -7793,6 +8465,32 @@ module Google
|
|
7793
8465
|
end
|
7794
8466
|
end
|
7795
8467
|
|
8468
|
+
# A filter was created.
|
8469
|
+
class FilterCreated
|
8470
|
+
include Google::Apis::Core::Hashable
|
8471
|
+
|
8472
|
+
def initialize(**args)
|
8473
|
+
update!(**args)
|
8474
|
+
end
|
8475
|
+
|
8476
|
+
# Update properties of this object
|
8477
|
+
def update!(**args)
|
8478
|
+
end
|
8479
|
+
end
|
8480
|
+
|
8481
|
+
# A filter was deleted.
|
8482
|
+
class FilterDeleted
|
8483
|
+
include Google::Apis::Core::Hashable
|
8484
|
+
|
8485
|
+
def initialize(**args)
|
8486
|
+
update!(**args)
|
8487
|
+
end
|
8488
|
+
|
8489
|
+
# Update properties of this object
|
8490
|
+
def update!(**args)
|
8491
|
+
end
|
8492
|
+
end
|
8493
|
+
|
7796
8494
|
# Filter options to be applied on query.
|
7797
8495
|
class FilterOptions
|
7798
8496
|
include Google::Apis::Core::Hashable
|
@@ -7825,6 +8523,38 @@ module Google
|
|
7825
8523
|
end
|
7826
8524
|
end
|
7827
8525
|
|
8526
|
+
# HistoryRecord for changes associated with a filter, namely: FILTER_CREATED
|
8527
|
+
# FILTER_DELETED
|
8528
|
+
class FilterUpdate
|
8529
|
+
include Google::Apis::Core::Hashable
|
8530
|
+
|
8531
|
+
# A filter was created.
|
8532
|
+
# Corresponds to the JSON property `filterCreated`
|
8533
|
+
# @return [Google::Apis::CloudsearchV1::FilterCreated]
|
8534
|
+
attr_accessor :filter_created
|
8535
|
+
|
8536
|
+
# A filter was deleted.
|
8537
|
+
# Corresponds to the JSON property `filterDeleted`
|
8538
|
+
# @return [Google::Apis::CloudsearchV1::FilterDeleted]
|
8539
|
+
attr_accessor :filter_deleted
|
8540
|
+
|
8541
|
+
#
|
8542
|
+
# Corresponds to the JSON property `filterId`
|
8543
|
+
# @return [String]
|
8544
|
+
attr_accessor :filter_id
|
8545
|
+
|
8546
|
+
def initialize(**args)
|
8547
|
+
update!(**args)
|
8548
|
+
end
|
8549
|
+
|
8550
|
+
# Update properties of this object
|
8551
|
+
def update!(**args)
|
8552
|
+
@filter_created = args[:filter_created] if args.key?(:filter_created)
|
8553
|
+
@filter_deleted = args[:filter_deleted] if args.key?(:filter_deleted)
|
8554
|
+
@filter_id = args[:filter_id] if args.key?(:filter_id)
|
8555
|
+
end
|
8556
|
+
end
|
8557
|
+
|
7828
8558
|
# A persistent (sticky) footer that is added to the bottom of the card.
|
7829
8559
|
class FixedFooter
|
7830
8560
|
include Google::Apis::Core::Hashable
|
@@ -7856,6 +8586,50 @@ module Google
|
|
7856
8586
|
end
|
7857
8587
|
end
|
7858
8588
|
|
8589
|
+
#
|
8590
|
+
class Folder
|
8591
|
+
include Google::Apis::Core::Hashable
|
8592
|
+
|
8593
|
+
# Folder mapping id.
|
8594
|
+
# Corresponds to the JSON property `id`
|
8595
|
+
# @return [Fixnum]
|
8596
|
+
attr_accessor :id
|
8597
|
+
|
8598
|
+
# One for each copy of the message in the IMAP folder.
|
8599
|
+
# Corresponds to the JSON property `message`
|
8600
|
+
# @return [Array<Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessage>]
|
8601
|
+
attr_accessor :message
|
8602
|
+
|
8603
|
+
def initialize(**args)
|
8604
|
+
update!(**args)
|
8605
|
+
end
|
8606
|
+
|
8607
|
+
# Update properties of this object
|
8608
|
+
def update!(**args)
|
8609
|
+
@id = args[:id] if args.key?(:id)
|
8610
|
+
@message = args[:message] if args.key?(:message)
|
8611
|
+
end
|
8612
|
+
end
|
8613
|
+
|
8614
|
+
# This is the content of //imapsync/folder attribute.
|
8615
|
+
class FolderAttribute
|
8616
|
+
include Google::Apis::Core::Hashable
|
8617
|
+
|
8618
|
+
# List of all IMAP folders where the message presents.
|
8619
|
+
# Corresponds to the JSON property `folder`
|
8620
|
+
# @return [Array<Google::Apis::CloudsearchV1::Folder>]
|
8621
|
+
attr_accessor :folder
|
8622
|
+
|
8623
|
+
def initialize(**args)
|
8624
|
+
update!(**args)
|
8625
|
+
end
|
8626
|
+
|
8627
|
+
# Update properties of this object
|
8628
|
+
def update!(**args)
|
8629
|
+
@folder = args[:folder] if args.key?(:folder)
|
8630
|
+
end
|
8631
|
+
end
|
8632
|
+
|
7859
8633
|
#
|
7860
8634
|
class FormAction
|
7861
8635
|
include Google::Apis::Core::Hashable
|
@@ -8030,6 +8804,288 @@ module Google
|
|
8030
8804
|
end
|
8031
8805
|
end
|
8032
8806
|
|
8807
|
+
# The Item message is the read interface for user data (traditionally referred
|
8808
|
+
# to as a "message", such as a mail message or a chat message, but generalized
|
8809
|
+
# to encompass other types such as tasks) and stored in Tingle. Each Item is
|
8810
|
+
# associated with a single Thread. An Item contains three classes of data. (1):
|
8811
|
+
# Item "fields" are common to items of all message types (e.g. mail, chat, task,
|
8812
|
+
# etc.) and are identified by the ItemFieldSpec.FetchType enum when fetching
|
8813
|
+
# Items. (2): Item "attributes" represent data associated with an Item that is
|
8814
|
+
# stored on behalf of the client but to which the fusebox and storage layers are
|
8815
|
+
# otherwise agnostic. (3): Item "parts" are application-defined protocol buffers
|
8816
|
+
# that affect how the Item is indexed. Item parts are referenced as extensions
|
8817
|
+
# to the ItemParts message. By default the application specifies the index terms
|
8818
|
+
# associated with an Item part. For performance sensitive applications, the
|
8819
|
+
# storage layer can be modified to understand and index data types natively.
|
8820
|
+
class FuseboxItem
|
8821
|
+
include Google::Apis::Core::Hashable
|
8822
|
+
|
8823
|
+
#
|
8824
|
+
# Corresponds to the JSON property `attributes`
|
8825
|
+
# @return [Google::Apis::CloudsearchV1::Attributes]
|
8826
|
+
attr_accessor :attributes
|
8827
|
+
|
8828
|
+
# The creation time of the Item in micro seconds.
|
8829
|
+
# Corresponds to the JSON property `creationTimeMicroseconds`
|
8830
|
+
# @return [Fixnum]
|
8831
|
+
attr_accessor :creation_time_microseconds
|
8832
|
+
|
8833
|
+
# The most recent history records associated with the item.
|
8834
|
+
# Corresponds to the JSON property `history`
|
8835
|
+
# @return [Google::Apis::CloudsearchV1::History]
|
8836
|
+
attr_accessor :history
|
8837
|
+
|
8838
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
8839
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
8840
|
+
# be set. More than one key field may be set as long as all key values refer to
|
8841
|
+
# the same object. All objects in storage have unique server_id keys. All
|
8842
|
+
# MultiKeys returned from storage to storage clients will always have the
|
8843
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
8844
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
8845
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
8846
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
8847
|
+
# Instead of server ids, clients can specify string based
|
8848
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
8849
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
8850
|
+
# system needs to create a new object with the updated draft content and needs
|
8851
|
+
# to delete the object containing the old content. The new object gets a new
|
8852
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
8853
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
8854
|
+
# be used to consistently refer to the same logical object across revisions.
|
8855
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
8856
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
8857
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
8858
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
8859
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
8860
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
8861
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
8862
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
8863
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
8864
|
+
# on background and motivation.
|
8865
|
+
# Corresponds to the JSON property `itemKey`
|
8866
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
8867
|
+
attr_accessor :item_key
|
8868
|
+
|
8869
|
+
#
|
8870
|
+
# Corresponds to the JSON property `labels`
|
8871
|
+
# @return [Google::Apis::CloudsearchV1::Labels]
|
8872
|
+
attr_accessor :labels
|
8873
|
+
|
8874
|
+
# The modification time of the Item in micro seconds. Modifications to the
|
8875
|
+
# message include label addition, deletion, etc.
|
8876
|
+
# Corresponds to the JSON property `lastModificationTimeUs`
|
8877
|
+
# @return [Fixnum]
|
8878
|
+
attr_accessor :last_modification_time_us
|
8879
|
+
|
8880
|
+
# go/lockpicker Locker counterpart of references.
|
8881
|
+
# Corresponds to the JSON property `lockerReferences`
|
8882
|
+
# @return [Google::Apis::CloudsearchV1::References]
|
8883
|
+
attr_accessor :locker_references
|
8884
|
+
|
8885
|
+
#
|
8886
|
+
# Corresponds to the JSON property `matchInfo`
|
8887
|
+
# @return [Google::Apis::CloudsearchV1::MatchInfo]
|
8888
|
+
attr_accessor :match_info
|
8889
|
+
|
8890
|
+
# Container for type-specific extensions of an Item. This protobuf is defined in
|
8891
|
+
# a separate file to allow types to reference/extend the message without
|
8892
|
+
# depending on other fusebox protobufs. See items.proto.
|
8893
|
+
# Corresponds to the JSON property `parts`
|
8894
|
+
# @return [Google::Apis::CloudsearchV1::ItemParts]
|
8895
|
+
attr_accessor :parts
|
8896
|
+
|
8897
|
+
# The read timestamp at which this item was read. This is a temporary field used
|
8898
|
+
# to check if two items streamed during dual reading were read at the same
|
8899
|
+
# timestamp. This will be populated by Fusebox RPCs. "DO NOT USE UNLESS YOU TALK
|
8900
|
+
# TO FUSEBOX TEAM (gmail-fusebox@)".
|
8901
|
+
# Corresponds to the JSON property `readTs`
|
8902
|
+
# @return [Fixnum]
|
8903
|
+
attr_accessor :read_ts
|
8904
|
+
|
8905
|
+
# References to attachments, video attachments in Youtube and Hangout messages.
|
8906
|
+
# Corresponds to the JSON property `references`
|
8907
|
+
# @return [Google::Apis::CloudsearchV1::References]
|
8908
|
+
attr_accessor :references
|
8909
|
+
|
8910
|
+
# The snippet is a brief bit of text describing this item.
|
8911
|
+
# Corresponds to the JSON property `snippet`
|
8912
|
+
# @return [String]
|
8913
|
+
attr_accessor :snippet
|
8914
|
+
|
8915
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
8916
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
8917
|
+
# be set. More than one key field may be set as long as all key values refer to
|
8918
|
+
# the same object. All objects in storage have unique server_id keys. All
|
8919
|
+
# MultiKeys returned from storage to storage clients will always have the
|
8920
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
8921
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
8922
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
8923
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
8924
|
+
# Instead of server ids, clients can specify string based
|
8925
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
8926
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
8927
|
+
# system needs to create a new object with the updated draft content and needs
|
8928
|
+
# to delete the object containing the old content. The new object gets a new
|
8929
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
8930
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
8931
|
+
# be used to consistently refer to the same logical object across revisions.
|
8932
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
8933
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
8934
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
8935
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
8936
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
8937
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
8938
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
8939
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
8940
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
8941
|
+
# on background and motivation.
|
8942
|
+
# Corresponds to the JSON property `threadKey`
|
8943
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
8944
|
+
attr_accessor :thread_key
|
8945
|
+
|
8946
|
+
# A base64 encoded and encrypted string generated from the Gaia Id and the
|
8947
|
+
# thread id. Used to generate the permalink for this thread, exposed from Gmail
|
8948
|
+
# API.
|
8949
|
+
# Corresponds to the JSON property `threadLocator`
|
8950
|
+
# @return [String]
|
8951
|
+
attr_accessor :thread_locator
|
8952
|
+
|
8953
|
+
#
|
8954
|
+
# Corresponds to the JSON property `triggers`
|
8955
|
+
# @return [Google::Apis::CloudsearchV1::Triggers]
|
8956
|
+
attr_accessor :triggers
|
8957
|
+
|
8958
|
+
# The latest history operation id that resulted in a mutation of the item.
|
8959
|
+
# Corresponds to the JSON property `version`
|
8960
|
+
# @return [Fixnum]
|
8961
|
+
attr_accessor :version
|
8962
|
+
|
8963
|
+
def initialize(**args)
|
8964
|
+
update!(**args)
|
8965
|
+
end
|
8966
|
+
|
8967
|
+
# Update properties of this object
|
8968
|
+
def update!(**args)
|
8969
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
8970
|
+
@creation_time_microseconds = args[:creation_time_microseconds] if args.key?(:creation_time_microseconds)
|
8971
|
+
@history = args[:history] if args.key?(:history)
|
8972
|
+
@item_key = args[:item_key] if args.key?(:item_key)
|
8973
|
+
@labels = args[:labels] if args.key?(:labels)
|
8974
|
+
@last_modification_time_us = args[:last_modification_time_us] if args.key?(:last_modification_time_us)
|
8975
|
+
@locker_references = args[:locker_references] if args.key?(:locker_references)
|
8976
|
+
@match_info = args[:match_info] if args.key?(:match_info)
|
8977
|
+
@parts = args[:parts] if args.key?(:parts)
|
8978
|
+
@read_ts = args[:read_ts] if args.key?(:read_ts)
|
8979
|
+
@references = args[:references] if args.key?(:references)
|
8980
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
8981
|
+
@thread_key = args[:thread_key] if args.key?(:thread_key)
|
8982
|
+
@thread_locator = args[:thread_locator] if args.key?(:thread_locator)
|
8983
|
+
@triggers = args[:triggers] if args.key?(:triggers)
|
8984
|
+
@version = args[:version] if args.key?(:version)
|
8985
|
+
end
|
8986
|
+
end
|
8987
|
+
|
8988
|
+
# In the context of a search, the MatchInfo contains information about which
|
8989
|
+
# Items matched the query.
|
8990
|
+
class FuseboxItemThreadMatchInfo
|
8991
|
+
include Google::Apis::Core::Hashable
|
8992
|
+
|
8993
|
+
# If SearchQuery.Options.Clustering is present, the query will be treated as a
|
8994
|
+
# cluster query, and this field may be populated with the cluster ID of the
|
8995
|
+
# cluster to which this thread belongs, if any. The cluster ID will be a label
|
8996
|
+
# on the message.
|
8997
|
+
# Corresponds to the JSON property `clusterId`
|
8998
|
+
# @return [String]
|
8999
|
+
attr_accessor :cluster_id
|
9000
|
+
|
9001
|
+
# The server id of the last item that matched the query. This is always set,
|
9002
|
+
# regardless of the compute_matching_items_per_thread option. This is the value
|
9003
|
+
# by which search results are sorted, in descending (i.e. newest first) order.
|
9004
|
+
# Corresponds to the JSON property `lastMatchingItemId`
|
9005
|
+
# @return [Fixnum]
|
9006
|
+
attr_accessor :last_matching_item_id
|
9007
|
+
|
9008
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
9009
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
9010
|
+
# be set. More than one key field may be set as long as all key values refer to
|
9011
|
+
# the same object. All objects in storage have unique server_id keys. All
|
9012
|
+
# MultiKeys returned from storage to storage clients will always have the
|
9013
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
9014
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
9015
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
9016
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
9017
|
+
# Instead of server ids, clients can specify string based
|
9018
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
9019
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
9020
|
+
# system needs to create a new object with the updated draft content and needs
|
9021
|
+
# to delete the object containing the old content. The new object gets a new
|
9022
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
9023
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
9024
|
+
# be used to consistently refer to the same logical object across revisions.
|
9025
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
9026
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
9027
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
9028
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
9029
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
9030
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
9031
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
9032
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
9033
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
9034
|
+
# on background and motivation.
|
9035
|
+
# Corresponds to the JSON property `lastMatchingItemKey`
|
9036
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
9037
|
+
attr_accessor :last_matching_item_key
|
9038
|
+
|
9039
|
+
# If SearchQuery.Options.compute_matching_items_per_thread, this field will
|
9040
|
+
# contain the keys of all items that matched the query, in ascending order. Note
|
9041
|
+
# that this option requires extra computation.
|
9042
|
+
# Corresponds to the JSON property `matchingItemKey`
|
9043
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
9044
|
+
attr_accessor :matching_item_key
|
9045
|
+
|
9046
|
+
# The rank contains a tuple of numbers which may be used as a general sort order.
|
9047
|
+
# The rank should be treated as an ordered set of numbers, where the ordering
|
9048
|
+
# is done in descending order of the most significant rank member. For example,
|
9049
|
+
# given the following ranks described as (primary, secondary): (1,1), (1,2), (2,
|
9050
|
+
# 2) (2,1) The descending rank-order is: (2,2) > (2,1) > (1,2) > (1,1)
|
9051
|
+
# Corresponds to the JSON property `rank`
|
9052
|
+
# @return [Google::Apis::CloudsearchV1::Rank]
|
9053
|
+
attr_accessor :rank
|
9054
|
+
|
9055
|
+
def initialize(**args)
|
9056
|
+
update!(**args)
|
9057
|
+
end
|
9058
|
+
|
9059
|
+
# Update properties of this object
|
9060
|
+
def update!(**args)
|
9061
|
+
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
9062
|
+
@last_matching_item_id = args[:last_matching_item_id] if args.key?(:last_matching_item_id)
|
9063
|
+
@last_matching_item_key = args[:last_matching_item_key] if args.key?(:last_matching_item_key)
|
9064
|
+
@matching_item_key = args[:matching_item_key] if args.key?(:matching_item_key)
|
9065
|
+
@rank = args[:rank] if args.key?(:rank)
|
9066
|
+
end
|
9067
|
+
end
|
9068
|
+
|
9069
|
+
# If the Value field is not set this means the pref did not exist.
|
9070
|
+
class FuseboxPrefUpdatePreState
|
9071
|
+
include Google::Apis::Core::Hashable
|
9072
|
+
|
9073
|
+
#
|
9074
|
+
# Corresponds to the JSON property `value`
|
9075
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9076
|
+
# @return [String]
|
9077
|
+
attr_accessor :value
|
9078
|
+
|
9079
|
+
def initialize(**args)
|
9080
|
+
update!(**args)
|
9081
|
+
end
|
9082
|
+
|
9083
|
+
# Update properties of this object
|
9084
|
+
def update!(**args)
|
9085
|
+
@value = args[:value] if args.key?(:value)
|
9086
|
+
end
|
9087
|
+
end
|
9088
|
+
|
8033
9089
|
#
|
8034
9090
|
class GSuitePrincipal
|
8035
9091
|
include Google::Apis::Core::Hashable
|
@@ -8355,14 +9411,29 @@ module Google
|
|
8355
9411
|
end
|
8356
9412
|
end
|
8357
9413
|
|
8358
|
-
#
|
8359
|
-
class
|
9414
|
+
#
|
9415
|
+
class GmailClientActionMarkup
|
8360
9416
|
include Google::Apis::Core::Hashable
|
8361
9417
|
|
8362
|
-
#
|
8363
|
-
# Corresponds to the JSON property `
|
8364
|
-
# @return [
|
8365
|
-
attr_accessor :
|
9418
|
+
#
|
9419
|
+
# Corresponds to the JSON property `addonComposeUiActionMarkup`
|
9420
|
+
# @return [Google::Apis::CloudsearchV1::AddonComposeUiActionMarkup]
|
9421
|
+
attr_accessor :addon_compose_ui_action_markup
|
9422
|
+
|
9423
|
+
#
|
9424
|
+
# Corresponds to the JSON property `openCreatedDraftActionMarkup`
|
9425
|
+
# @return [Google::Apis::CloudsearchV1::OpenCreatedDraftActionMarkup]
|
9426
|
+
attr_accessor :open_created_draft_action_markup
|
9427
|
+
|
9428
|
+
#
|
9429
|
+
# Corresponds to the JSON property `taskAction`
|
9430
|
+
# @return [Google::Apis::CloudsearchV1::TaskActionMarkup]
|
9431
|
+
attr_accessor :task_action
|
9432
|
+
|
9433
|
+
#
|
9434
|
+
# Corresponds to the JSON property `updateDraftActionMarkup`
|
9435
|
+
# @return [Google::Apis::CloudsearchV1::UpdateDraftActionMarkup]
|
9436
|
+
attr_accessor :update_draft_action_markup
|
8366
9437
|
|
8367
9438
|
def initialize(**args)
|
8368
9439
|
update!(**args)
|
@@ -8370,7 +9441,10 @@ module Google
|
|
8370
9441
|
|
8371
9442
|
# Update properties of this object
|
8372
9443
|
def update!(**args)
|
8373
|
-
@
|
9444
|
+
@addon_compose_ui_action_markup = args[:addon_compose_ui_action_markup] if args.key?(:addon_compose_ui_action_markup)
|
9445
|
+
@open_created_draft_action_markup = args[:open_created_draft_action_markup] if args.key?(:open_created_draft_action_markup)
|
9446
|
+
@task_action = args[:task_action] if args.key?(:task_action)
|
9447
|
+
@update_draft_action_markup = args[:update_draft_action_markup] if args.key?(:update_draft_action_markup)
|
8374
9448
|
end
|
8375
9449
|
end
|
8376
9450
|
|
@@ -8432,7 +9506,7 @@ module Google
|
|
8432
9506
|
|
8433
9507
|
# A card action is the action associated with the card. For an invoice card, a
|
8434
9508
|
# typical action would be: delete invoice, email invoice or open the invoice in
|
8435
|
-
# browser.
|
9509
|
+
# browser. Not supported by Google Chat apps.
|
8436
9510
|
class GoogleChatV1ContextualAddOnMarkupCardCardAction
|
8437
9511
|
include Google::Apis::Core::Hashable
|
8438
9512
|
|
@@ -9333,22 +10407,14 @@ module Google
|
|
9333
10407
|
end
|
9334
10408
|
end
|
9335
10409
|
|
9336
|
-
#
|
9337
|
-
|
9338
|
-
class HostProto
|
10410
|
+
# The most recent history records associated with the item.
|
10411
|
+
class History
|
9339
10412
|
include Google::Apis::Core::Hashable
|
9340
10413
|
|
9341
|
-
#
|
9342
|
-
# Corresponds to the JSON property `
|
9343
|
-
# @return [
|
9344
|
-
attr_accessor :
|
9345
|
-
|
9346
|
-
# If present, then any checks that compare this Principal to LOAS peer info must
|
9347
|
-
# confirm the peer's machine owner is equal to 'host_owner'. If absent, then any
|
9348
|
-
# peer machine owner is acceptable.
|
9349
|
-
# Corresponds to the JSON property `hostOwner`
|
9350
|
-
# @return [String]
|
9351
|
-
attr_accessor :host_owner
|
10414
|
+
#
|
10415
|
+
# Corresponds to the JSON property `record`
|
10416
|
+
# @return [Array<Google::Apis::CloudsearchV1::HistoryRecord>]
|
10417
|
+
attr_accessor :record
|
9352
10418
|
|
9353
10419
|
def initialize(**args)
|
9354
10420
|
update!(**args)
|
@@ -9356,18 +10422,181 @@ module Google
|
|
9356
10422
|
|
9357
10423
|
# Update properties of this object
|
9358
10424
|
def update!(**args)
|
9359
|
-
@
|
9360
|
-
@host_owner = args[:host_owner] if args.key?(:host_owner)
|
10425
|
+
@record = args[:record] if args.key?(:record)
|
9361
10426
|
end
|
9362
10427
|
end
|
9363
10428
|
|
9364
|
-
#
|
9365
|
-
|
9366
|
-
|
9367
|
-
|
9368
|
-
|
10429
|
+
#
|
10430
|
+
class HistoryRecord
|
10431
|
+
include Google::Apis::Core::Hashable
|
10432
|
+
|
10433
|
+
# Represents the context of the client on behalf of which a HistoryRecord is
|
10434
|
+
# produced. The ClientContext message can be used to hold context about the
|
10435
|
+
# service client (e.g. the internal server making fusebox requests) or the user
|
10436
|
+
# client (e.g. the IP address of the end user).
|
10437
|
+
# Corresponds to the JSON property `clientContext`
|
10438
|
+
# @return [Google::Apis::CloudsearchV1::ClientContext]
|
10439
|
+
attr_accessor :client_context
|
10440
|
+
|
10441
|
+
# HistoryRecord for changes associated with a filter, namely: FILTER_CREATED
|
10442
|
+
# FILTER_DELETED
|
10443
|
+
# Corresponds to the JSON property `filterUpdate`
|
10444
|
+
# @return [Google::Apis::CloudsearchV1::FilterUpdate]
|
10445
|
+
attr_accessor :filter_update
|
10446
|
+
|
10447
|
+
# HistoryRecord for changes associated with IMAP, namely: IMAP_UIDS_REASSIGN
|
10448
|
+
# Corresponds to the JSON property `imapUpdate`
|
10449
|
+
# @return [Google::Apis::CloudsearchV1::ImapUpdate]
|
10450
|
+
attr_accessor :imap_update
|
10451
|
+
|
10452
|
+
# HistoryRecord for changes associated with a label, namely: LABEL_CREATED
|
10453
|
+
# LABEL_DELETED LABEL_RENAMED LABEL_UPDATED
|
10454
|
+
# Corresponds to the JSON property `labelUpdate`
|
10455
|
+
# @return [Google::Apis::CloudsearchV1::LabelUpdate]
|
10456
|
+
attr_accessor :label_update
|
10457
|
+
|
10458
|
+
# HistoryRecord for changes associated with prefs, namely: PREF_WRITTEN
|
10459
|
+
# PREF_DELETED
|
10460
|
+
# Corresponds to the JSON property `prefUpdate`
|
10461
|
+
# @return [Google::Apis::CloudsearchV1::PrefUpdate]
|
10462
|
+
attr_accessor :pref_update
|
10463
|
+
|
10464
|
+
# Each HistoryRecord has a unique id. Ids are monotonically increasing, and not
|
10465
|
+
# necessarily contiguous.
|
10466
|
+
# Corresponds to the JSON property `recordId`
|
10467
|
+
# @return [Fixnum]
|
10468
|
+
attr_accessor :record_id
|
10469
|
+
|
10470
|
+
# HistoryRecord for changes associated with a thread, namely: MESSAGE_ADDED
|
10471
|
+
# MESSAGE_DELETED LABEL_ADDED LABEL_REMOVED ATTRIBUTE_SET ATTRIBUTE_REMOVED
|
10472
|
+
# THREAD_KEY_SET All label_ids refer to the (unchanging) value as defined by the
|
10473
|
+
# Label.id field in labels.proto. In particular, it is *not* the canonical_name.
|
10474
|
+
# Corresponds to the JSON property `threadUpdate`
|
10475
|
+
# @return [Google::Apis::CloudsearchV1::ThreadUpdate]
|
10476
|
+
attr_accessor :thread_update
|
10477
|
+
|
10478
|
+
# Storage information pertaining to the transaction with which a HistoryRecord
|
10479
|
+
# is associated.
|
10480
|
+
# Corresponds to the JSON property `transactionContext`
|
10481
|
+
# @return [Google::Apis::CloudsearchV1::TransactionContext]
|
10482
|
+
attr_accessor :transaction_context
|
10483
|
+
|
10484
|
+
# HistoryRecord for debug info associated with the transaction, namely:
|
10485
|
+
# TXN_DEBUG_INFO TODO(b/143845917) This is a short-term workaround for
|
10486
|
+
# unblocking fusebox writes migration. Clean up the code or land a long-term
|
10487
|
+
# solution after the rollout. go/diff-to-historyrecord
|
10488
|
+
# Corresponds to the JSON property `txnDebugInfo`
|
10489
|
+
# @return [Google::Apis::CloudsearchV1::TransactionDebugInfo]
|
10490
|
+
attr_accessor :txn_debug_info
|
9369
10491
|
|
9370
|
-
#
|
10492
|
+
#
|
10493
|
+
# Corresponds to the JSON property `type`
|
10494
|
+
# @return [String]
|
10495
|
+
attr_accessor :type
|
10496
|
+
|
10497
|
+
def initialize(**args)
|
10498
|
+
update!(**args)
|
10499
|
+
end
|
10500
|
+
|
10501
|
+
# Update properties of this object
|
10502
|
+
def update!(**args)
|
10503
|
+
@client_context = args[:client_context] if args.key?(:client_context)
|
10504
|
+
@filter_update = args[:filter_update] if args.key?(:filter_update)
|
10505
|
+
@imap_update = args[:imap_update] if args.key?(:imap_update)
|
10506
|
+
@label_update = args[:label_update] if args.key?(:label_update)
|
10507
|
+
@pref_update = args[:pref_update] if args.key?(:pref_update)
|
10508
|
+
@record_id = args[:record_id] if args.key?(:record_id)
|
10509
|
+
@thread_update = args[:thread_update] if args.key?(:thread_update)
|
10510
|
+
@transaction_context = args[:transaction_context] if args.key?(:transaction_context)
|
10511
|
+
@txn_debug_info = args[:txn_debug_info] if args.key?(:txn_debug_info)
|
10512
|
+
@type = args[:type] if args.key?(:type)
|
10513
|
+
end
|
10514
|
+
end
|
10515
|
+
|
10516
|
+
# Actions handled by individual host apps.
|
10517
|
+
class HostAppActionMarkup
|
10518
|
+
include Google::Apis::Core::Hashable
|
10519
|
+
|
10520
|
+
# Actions handled by Calendar.
|
10521
|
+
# Corresponds to the JSON property `calendarAction`
|
10522
|
+
# @return [Google::Apis::CloudsearchV1::CalendarClientActionMarkup]
|
10523
|
+
attr_accessor :calendar_action
|
10524
|
+
|
10525
|
+
# Actions handled by Chat Clients.
|
10526
|
+
# Corresponds to the JSON property `chatAction`
|
10527
|
+
# @return [Google::Apis::CloudsearchV1::ChatClientActionMarkup]
|
10528
|
+
attr_accessor :chat_action
|
10529
|
+
|
10530
|
+
# Actions handled by Drive.
|
10531
|
+
# Corresponds to the JSON property `driveAction`
|
10532
|
+
# @return [Google::Apis::CloudsearchV1::DriveClientActionMarkup]
|
10533
|
+
attr_accessor :drive_action
|
10534
|
+
|
10535
|
+
# Actions handled by Docs, Sheets, or Slides.
|
10536
|
+
# Corresponds to the JSON property `editorAction`
|
10537
|
+
# @return [Google::Apis::CloudsearchV1::EditorClientActionMarkup]
|
10538
|
+
attr_accessor :editor_action
|
10539
|
+
|
10540
|
+
# Actions handled by Gmail.
|
10541
|
+
# Corresponds to the JSON property `gmailAction`
|
10542
|
+
# @return [Google::Apis::CloudsearchV1::GmailClientActionMarkup]
|
10543
|
+
attr_accessor :gmail_action
|
10544
|
+
|
10545
|
+
# Actions handled by Sheets.
|
10546
|
+
# Corresponds to the JSON property `sheetsAction`
|
10547
|
+
# @return [Google::Apis::CloudsearchV1::SheetsClientActionMarkup]
|
10548
|
+
attr_accessor :sheets_action
|
10549
|
+
|
10550
|
+
def initialize(**args)
|
10551
|
+
update!(**args)
|
10552
|
+
end
|
10553
|
+
|
10554
|
+
# Update properties of this object
|
10555
|
+
def update!(**args)
|
10556
|
+
@calendar_action = args[:calendar_action] if args.key?(:calendar_action)
|
10557
|
+
@chat_action = args[:chat_action] if args.key?(:chat_action)
|
10558
|
+
@drive_action = args[:drive_action] if args.key?(:drive_action)
|
10559
|
+
@editor_action = args[:editor_action] if args.key?(:editor_action)
|
10560
|
+
@gmail_action = args[:gmail_action] if args.key?(:gmail_action)
|
10561
|
+
@sheets_action = args[:sheets_action] if args.key?(:sheets_action)
|
10562
|
+
end
|
10563
|
+
end
|
10564
|
+
|
10565
|
+
# Represents a single host. Optionally, the MDB owner of the host can be
|
10566
|
+
# specified.
|
10567
|
+
class HostProto
|
10568
|
+
include Google::Apis::Core::Hashable
|
10569
|
+
|
10570
|
+
# Lower-case, fully qualified hostname.
|
10571
|
+
# Corresponds to the JSON property `hostName`
|
10572
|
+
# @return [String]
|
10573
|
+
attr_accessor :host_name
|
10574
|
+
|
10575
|
+
# If present, then any checks that compare this Principal to LOAS peer info must
|
10576
|
+
# confirm the peer's machine owner is equal to 'host_owner'. If absent, then any
|
10577
|
+
# peer machine owner is acceptable.
|
10578
|
+
# Corresponds to the JSON property `hostOwner`
|
10579
|
+
# @return [String]
|
10580
|
+
attr_accessor :host_owner
|
10581
|
+
|
10582
|
+
def initialize(**args)
|
10583
|
+
update!(**args)
|
10584
|
+
end
|
10585
|
+
|
10586
|
+
# Update properties of this object
|
10587
|
+
def update!(**args)
|
10588
|
+
@host_name = args[:host_name] if args.key?(:host_name)
|
10589
|
+
@host_owner = args[:host_owner] if args.key?(:host_owner)
|
10590
|
+
end
|
10591
|
+
end
|
10592
|
+
|
10593
|
+
# Used to provide a search operator for html properties. This is optional.
|
10594
|
+
# Search operators let users restrict the query to specific fields relevant to
|
10595
|
+
# the type of item being searched.
|
10596
|
+
class HtmlOperatorOptions
|
10597
|
+
include Google::Apis::Core::Hashable
|
10598
|
+
|
10599
|
+
# Indicates the operator name required in the query in order to isolate the html
|
9371
10600
|
# property. For example, if operatorName is *subject* and the property's name is
|
9372
10601
|
# *subjectLine*, then queries like *subject:<value>* show results only where the
|
9373
10602
|
# value of the property named *subjectLine* matches *<value>*. By contrast, a
|
@@ -9691,6 +10920,181 @@ module Google
|
|
9691
10920
|
end
|
9692
10921
|
end
|
9693
10922
|
|
10923
|
+
#
|
10924
|
+
class ImapSessionContext
|
10925
|
+
include Google::Apis::Core::Hashable
|
10926
|
+
|
10927
|
+
#
|
10928
|
+
# Corresponds to the JSON property `app`
|
10929
|
+
# @return [String]
|
10930
|
+
attr_accessor :app
|
10931
|
+
|
10932
|
+
# User agent information
|
10933
|
+
# Corresponds to the JSON property `deviceType`
|
10934
|
+
# @return [String]
|
10935
|
+
attr_accessor :device_type
|
10936
|
+
|
10937
|
+
# As agreed with Bond team, this holds the fingerprint of any "aguid" or "guid"
|
10938
|
+
# provided by the ID command. The fingerprint should be calculated by
|
10939
|
+
# fingerprint2011. Note that not all clients will provide aguid or guid through
|
10940
|
+
# ID command.
|
10941
|
+
# Corresponds to the JSON property `guidFingerprint`
|
10942
|
+
# @return [Fixnum]
|
10943
|
+
attr_accessor :guid_fingerprint
|
10944
|
+
|
10945
|
+
#
|
10946
|
+
# Corresponds to the JSON property `os`
|
10947
|
+
# @return [String]
|
10948
|
+
attr_accessor :os
|
10949
|
+
|
10950
|
+
#
|
10951
|
+
# Corresponds to the JSON property `osVersion`
|
10952
|
+
# @return [Google::Apis::CloudsearchV1::OsVersion]
|
10953
|
+
attr_accessor :os_version
|
10954
|
+
|
10955
|
+
# This message contains either the device model, or a prefix of the device model
|
10956
|
+
# (AKA a trimmed device model). The "is_trimmed" field indicates which one it is.
|
10957
|
+
# Corresponds to the JSON property `possiblyTrimmedModel`
|
10958
|
+
# @return [Google::Apis::CloudsearchV1::PossiblyTrimmedModel]
|
10959
|
+
attr_accessor :possibly_trimmed_model
|
10960
|
+
|
10961
|
+
def initialize(**args)
|
10962
|
+
update!(**args)
|
10963
|
+
end
|
10964
|
+
|
10965
|
+
# Update properties of this object
|
10966
|
+
def update!(**args)
|
10967
|
+
@app = args[:app] if args.key?(:app)
|
10968
|
+
@device_type = args[:device_type] if args.key?(:device_type)
|
10969
|
+
@guid_fingerprint = args[:guid_fingerprint] if args.key?(:guid_fingerprint)
|
10970
|
+
@os = args[:os] if args.key?(:os)
|
10971
|
+
@os_version = args[:os_version] if args.key?(:os_version)
|
10972
|
+
@possibly_trimmed_model = args[:possibly_trimmed_model] if args.key?(:possibly_trimmed_model)
|
10973
|
+
end
|
10974
|
+
end
|
10975
|
+
|
10976
|
+
# Message delete history record extension that exports //imapsync/folder
|
10977
|
+
# attribute of deleted messages which have ^is label.
|
10978
|
+
class ImapSyncDelete
|
10979
|
+
include Google::Apis::Core::Hashable
|
10980
|
+
|
10981
|
+
# This is the content of //imapsync/folder attribute.
|
10982
|
+
# Corresponds to the JSON property `mappings`
|
10983
|
+
# @return [Google::Apis::CloudsearchV1::FolderAttribute]
|
10984
|
+
attr_accessor :mappings
|
10985
|
+
|
10986
|
+
#
|
10987
|
+
# Corresponds to the JSON property `msgId`
|
10988
|
+
# @return [Fixnum]
|
10989
|
+
attr_accessor :msg_id
|
10990
|
+
|
10991
|
+
def initialize(**args)
|
10992
|
+
update!(**args)
|
10993
|
+
end
|
10994
|
+
|
10995
|
+
# Update properties of this object
|
10996
|
+
def update!(**args)
|
10997
|
+
@mappings = args[:mappings] if args.key?(:mappings)
|
10998
|
+
@msg_id = args[:msg_id] if args.key?(:msg_id)
|
10999
|
+
end
|
11000
|
+
end
|
11001
|
+
|
11002
|
+
#
|
11003
|
+
class ImapUidsReassign
|
11004
|
+
include Google::Apis::Core::Hashable
|
11005
|
+
|
11006
|
+
# Label
|
11007
|
+
# Corresponds to the JSON property `labelId`
|
11008
|
+
# @return [String]
|
11009
|
+
attr_accessor :label_id
|
11010
|
+
|
11011
|
+
# The message Ids
|
11012
|
+
# Corresponds to the JSON property `messageId`
|
11013
|
+
# @return [Array<Fixnum>]
|
11014
|
+
attr_accessor :message_id
|
11015
|
+
|
11016
|
+
def initialize(**args)
|
11017
|
+
update!(**args)
|
11018
|
+
end
|
11019
|
+
|
11020
|
+
# Update properties of this object
|
11021
|
+
def update!(**args)
|
11022
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
11023
|
+
@message_id = args[:message_id] if args.key?(:message_id)
|
11024
|
+
end
|
11025
|
+
end
|
11026
|
+
|
11027
|
+
# HistoryRecord for changes associated with IMAP, namely: IMAP_UIDS_REASSIGN
|
11028
|
+
class ImapUpdate
|
11029
|
+
include Google::Apis::Core::Hashable
|
11030
|
+
|
11031
|
+
#
|
11032
|
+
# Corresponds to the JSON property `imapUidsReassign`
|
11033
|
+
# @return [Google::Apis::CloudsearchV1::ImapUidsReassign]
|
11034
|
+
attr_accessor :imap_uids_reassign
|
11035
|
+
|
11036
|
+
def initialize(**args)
|
11037
|
+
update!(**args)
|
11038
|
+
end
|
11039
|
+
|
11040
|
+
# Update properties of this object
|
11041
|
+
def update!(**args)
|
11042
|
+
@imap_uids_reassign = args[:imap_uids_reassign] if args.key?(:imap_uids_reassign)
|
11043
|
+
end
|
11044
|
+
end
|
11045
|
+
|
11046
|
+
#
|
11047
|
+
class ImapsyncFolderAttributeFolderMessage
|
11048
|
+
include Google::Apis::Core::Hashable
|
11049
|
+
|
11050
|
+
# Flags of the message. Represents unseen and flagged state.
|
11051
|
+
# Corresponds to the JSON property `flags`
|
11052
|
+
# @return [Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessageFlags]
|
11053
|
+
attr_accessor :flags
|
11054
|
+
|
11055
|
+
# UID of the message.
|
11056
|
+
# Corresponds to the JSON property `uid`
|
11057
|
+
# @return [Fixnum]
|
11058
|
+
attr_accessor :uid
|
11059
|
+
|
11060
|
+
def initialize(**args)
|
11061
|
+
update!(**args)
|
11062
|
+
end
|
11063
|
+
|
11064
|
+
# Update properties of this object
|
11065
|
+
def update!(**args)
|
11066
|
+
@flags = args[:flags] if args.key?(:flags)
|
11067
|
+
@uid = args[:uid] if args.key?(:uid)
|
11068
|
+
end
|
11069
|
+
end
|
11070
|
+
|
11071
|
+
#
|
11072
|
+
class ImapsyncFolderAttributeFolderMessageFlags
|
11073
|
+
include Google::Apis::Core::Hashable
|
11074
|
+
|
11075
|
+
# Flagged state of the message.
|
11076
|
+
# Corresponds to the JSON property `flagged`
|
11077
|
+
# @return [Boolean]
|
11078
|
+
attr_accessor :flagged
|
11079
|
+
alias_method :flagged?, :flagged
|
11080
|
+
|
11081
|
+
# Seen state of the message.
|
11082
|
+
# Corresponds to the JSON property `seen`
|
11083
|
+
# @return [Boolean]
|
11084
|
+
attr_accessor :seen
|
11085
|
+
alias_method :seen?, :seen
|
11086
|
+
|
11087
|
+
def initialize(**args)
|
11088
|
+
update!(**args)
|
11089
|
+
end
|
11090
|
+
|
11091
|
+
# Update properties of this object
|
11092
|
+
def update!(**args)
|
11093
|
+
@flagged = args[:flagged] if args.key?(:flagged)
|
11094
|
+
@seen = args[:seen] if args.key?(:seen)
|
11095
|
+
end
|
11096
|
+
end
|
11097
|
+
|
9694
11098
|
# Annotation metadata to display system messages for incoming webhook events.
|
9695
11099
|
# Next Tag: 7
|
9696
11100
|
class IncomingWebhookChangedMetadata
|
@@ -9825,6 +11229,58 @@ module Google
|
|
9825
11229
|
end
|
9826
11230
|
end
|
9827
11231
|
|
11232
|
+
#
|
11233
|
+
class InsertContent
|
11234
|
+
include Google::Apis::Core::Hashable
|
11235
|
+
|
11236
|
+
# The content to be inserted.
|
11237
|
+
# Corresponds to the JSON property `content`
|
11238
|
+
# @return [String]
|
11239
|
+
attr_accessor :content
|
11240
|
+
|
11241
|
+
# The type of inserted content.
|
11242
|
+
# Corresponds to the JSON property `contentType`
|
11243
|
+
# @return [String]
|
11244
|
+
attr_accessor :content_type
|
11245
|
+
|
11246
|
+
#
|
11247
|
+
# Corresponds to the JSON property `mimeType`
|
11248
|
+
# @return [String]
|
11249
|
+
attr_accessor :mime_type
|
11250
|
+
|
11251
|
+
def initialize(**args)
|
11252
|
+
update!(**args)
|
11253
|
+
end
|
11254
|
+
|
11255
|
+
# Update properties of this object
|
11256
|
+
def update!(**args)
|
11257
|
+
@content = args[:content] if args.key?(:content)
|
11258
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
11259
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
11260
|
+
end
|
11261
|
+
end
|
11262
|
+
|
11263
|
+
# Used to specify integer faceting options.
|
11264
|
+
class IntegerFacetingOptions
|
11265
|
+
include Google::Apis::Core::Hashable
|
11266
|
+
|
11267
|
+
# Buckets for given integer values should be in strictly ascending order. For
|
11268
|
+
# example, if values supplied are (1,5,10,100), the following facet buckets will
|
11269
|
+
# be formed `<1, [1,5), [5-10), [10-100), >=100`.
|
11270
|
+
# Corresponds to the JSON property `integerBuckets`
|
11271
|
+
# @return [Array<Fixnum>]
|
11272
|
+
attr_accessor :integer_buckets
|
11273
|
+
|
11274
|
+
def initialize(**args)
|
11275
|
+
update!(**args)
|
11276
|
+
end
|
11277
|
+
|
11278
|
+
# Update properties of this object
|
11279
|
+
def update!(**args)
|
11280
|
+
@integer_buckets = args[:integer_buckets] if args.key?(:integer_buckets)
|
11281
|
+
end
|
11282
|
+
end
|
11283
|
+
|
9828
11284
|
# Used to provide a search operator for integer properties. This is optional.
|
9829
11285
|
# Search operators let users restrict the query to specific fields relevant to
|
9830
11286
|
# the type of item being searched.
|
@@ -9881,6 +11337,11 @@ module Google
|
|
9881
11337
|
class IntegerPropertyOptions
|
9882
11338
|
include Google::Apis::Core::Hashable
|
9883
11339
|
|
11340
|
+
# Used to specify integer faceting options.
|
11341
|
+
# Corresponds to the JSON property `integerFacetingOptions`
|
11342
|
+
# @return [Google::Apis::CloudsearchV1::IntegerFacetingOptions]
|
11343
|
+
attr_accessor :integer_faceting_options
|
11344
|
+
|
9884
11345
|
# The maximum value of the property. The minimum and maximum values for the
|
9885
11346
|
# property are used to rank results according to the ordered ranking. Indexing
|
9886
11347
|
# requests with values greater than the maximum are accepted and ranked with the
|
@@ -9916,6 +11377,7 @@ module Google
|
|
9916
11377
|
|
9917
11378
|
# Update properties of this object
|
9918
11379
|
def update!(**args)
|
11380
|
+
@integer_faceting_options = args[:integer_faceting_options] if args.key?(:integer_faceting_options)
|
9919
11381
|
@maximum_value = args[:maximum_value] if args.key?(:maximum_value)
|
9920
11382
|
@minimum_value = args[:minimum_value] if args.key?(:minimum_value)
|
9921
11383
|
@operator_options = args[:operator_options] if args.key?(:operator_options)
|
@@ -10423,6 +11885,21 @@ module Google
|
|
10423
11885
|
end
|
10424
11886
|
end
|
10425
11887
|
|
11888
|
+
# Container for type-specific extensions of an Item. This protobuf is defined in
|
11889
|
+
# a separate file to allow types to reference/extend the message without
|
11890
|
+
# depending on other fusebox protobufs. See items.proto.
|
11891
|
+
class ItemParts
|
11892
|
+
include Google::Apis::Core::Hashable
|
11893
|
+
|
11894
|
+
def initialize(**args)
|
11895
|
+
update!(**args)
|
11896
|
+
end
|
11897
|
+
|
11898
|
+
# Update properties of this object
|
11899
|
+
def update!(**args)
|
11900
|
+
end
|
11901
|
+
end
|
11902
|
+
|
10426
11903
|
# This contains item's status and any errors.
|
10427
11904
|
class ItemStatus
|
10428
11905
|
include Google::Apis::Core::Hashable
|
@@ -10480,35 +11957,169 @@ module Google
|
|
10480
11957
|
end
|
10481
11958
|
end
|
10482
11959
|
|
10483
|
-
#
|
10484
|
-
|
11960
|
+
# An ItemThread is an ordered list of Items. An ItemThread corresponds to a "
|
11961
|
+
# conversation" in the context of mail. An Item belongs to exactly one
|
11962
|
+
# ItemThread.
|
11963
|
+
class ItemThread
|
10485
11964
|
include Google::Apis::Core::Hashable
|
10486
11965
|
|
10487
|
-
#
|
10488
|
-
#
|
10489
|
-
#
|
10490
|
-
|
10491
|
-
|
10492
|
-
#
|
10493
|
-
#
|
10494
|
-
|
10495
|
-
attr_accessor :button
|
11966
|
+
# ClusterInfo contains clustering related information for a particular thread
|
11967
|
+
# that would be sent as part of the conversation view. Today, this information
|
11968
|
+
# would be used by iOS notification server to identify whether the thread
|
11969
|
+
# belongs to a cluster. If the thread belongs to a grouped cluster, it would
|
11970
|
+
# identify whether the cluster is throttled.
|
11971
|
+
# Corresponds to the JSON property `clusterInfo`
|
11972
|
+
# @return [Google::Apis::CloudsearchV1::ClusterInfo]
|
11973
|
+
attr_accessor :cluster_info
|
10496
11974
|
|
10497
|
-
#
|
10498
|
-
#
|
10499
|
-
#
|
10500
|
-
|
11975
|
+
# The Items in the ItemThread. In the context of a search, the list of Items may
|
11976
|
+
# be a subset of those that logically belong to the ItemThread. The details of
|
11977
|
+
# which items are included are available in the ItemThreadView returned in the
|
11978
|
+
# overall rpc response.
|
11979
|
+
# Corresponds to the JSON property `item`
|
11980
|
+
# @return [Array<Google::Apis::CloudsearchV1::FuseboxItem>]
|
11981
|
+
attr_accessor :item
|
10501
11982
|
|
10502
|
-
#
|
10503
|
-
#
|
10504
|
-
#
|
10505
|
-
|
10506
|
-
|
11983
|
+
# The server id of the last item returned in the ItemThread. This can be deduced
|
11984
|
+
# from the [item] list but is provided for convenience. When manually
|
11985
|
+
# constructing an ItemThreadViewSpec to perform operations on the ItemThread,
|
11986
|
+
# this value can be used as the [high_item_id_watermark].
|
11987
|
+
# Corresponds to the JSON property `lastItemId`
|
11988
|
+
# @return [Fixnum]
|
11989
|
+
attr_accessor :last_item_id
|
10507
11990
|
|
10508
|
-
#
|
10509
|
-
#
|
10510
|
-
#
|
10511
|
-
|
11991
|
+
# In the context of a search, the MatchInfo contains information about which
|
11992
|
+
# Items matched the query.
|
11993
|
+
# Corresponds to the JSON property `matchInfo`
|
11994
|
+
# @return [Google::Apis::CloudsearchV1::FuseboxItemThreadMatchInfo]
|
11995
|
+
attr_accessor :match_info
|
11996
|
+
|
11997
|
+
# A snippet summarizing the thread. This field is only populated for searches.
|
11998
|
+
# Corresponds to the JSON property `snippet`
|
11999
|
+
# @return [String]
|
12000
|
+
attr_accessor :snippet
|
12001
|
+
|
12002
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
12003
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
12004
|
+
# be set. More than one key field may be set as long as all key values refer to
|
12005
|
+
# the same object. All objects in storage have unique server_id keys. All
|
12006
|
+
# MultiKeys returned from storage to storage clients will always have the
|
12007
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
12008
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
12009
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
12010
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
12011
|
+
# Instead of server ids, clients can specify string based
|
12012
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
12013
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
12014
|
+
# system needs to create a new object with the updated draft content and needs
|
12015
|
+
# to delete the object containing the old content. The new object gets a new
|
12016
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
12017
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
12018
|
+
# be used to consistently refer to the same logical object across revisions.
|
12019
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
12020
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
12021
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
12022
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
12023
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
12024
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
12025
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
12026
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
12027
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
12028
|
+
# on background and motivation.
|
12029
|
+
# Corresponds to the JSON property `threadKey`
|
12030
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
12031
|
+
attr_accessor :thread_key
|
12032
|
+
|
12033
|
+
# A base64 encoded and encrypted string generated from the Gaia Id and the
|
12034
|
+
# thread id. Used to generate the permalink for this thread, exposed from Gmail
|
12035
|
+
# API.
|
12036
|
+
# Corresponds to the JSON property `threadLocator`
|
12037
|
+
# @return [String]
|
12038
|
+
attr_accessor :thread_locator
|
12039
|
+
|
12040
|
+
# State of an topic thread as maintained within Tingle.
|
12041
|
+
# Corresponds to the JSON property `topicState`
|
12042
|
+
# @return [Google::Apis::CloudsearchV1::TopicState]
|
12043
|
+
attr_accessor :topic_state
|
12044
|
+
|
12045
|
+
# The latest history operation id that resulted in a mutation of any item in the
|
12046
|
+
# thread.
|
12047
|
+
# Corresponds to the JSON property `version`
|
12048
|
+
# @return [Fixnum]
|
12049
|
+
attr_accessor :version
|
12050
|
+
|
12051
|
+
def initialize(**args)
|
12052
|
+
update!(**args)
|
12053
|
+
end
|
12054
|
+
|
12055
|
+
# Update properties of this object
|
12056
|
+
def update!(**args)
|
12057
|
+
@cluster_info = args[:cluster_info] if args.key?(:cluster_info)
|
12058
|
+
@item = args[:item] if args.key?(:item)
|
12059
|
+
@last_item_id = args[:last_item_id] if args.key?(:last_item_id)
|
12060
|
+
@match_info = args[:match_info] if args.key?(:match_info)
|
12061
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
12062
|
+
@thread_key = args[:thread_key] if args.key?(:thread_key)
|
12063
|
+
@thread_locator = args[:thread_locator] if args.key?(:thread_locator)
|
12064
|
+
@topic_state = args[:topic_state] if args.key?(:topic_state)
|
12065
|
+
@version = args[:version] if args.key?(:version)
|
12066
|
+
end
|
12067
|
+
end
|
12068
|
+
|
12069
|
+
# Identifies a jobsetted server as a target for Trigger dispatch.
|
12070
|
+
class JobsettedServerSpec
|
12071
|
+
include Google::Apis::Core::Hashable
|
12072
|
+
|
12073
|
+
# E.g. "gateway", "stubby" etc. Leave unset to use the default unnamed port.
|
12074
|
+
# Corresponds to the JSON property `portName`
|
12075
|
+
# @return [String]
|
12076
|
+
attr_accessor :port_name
|
12077
|
+
|
12078
|
+
# E.g. "satellite-server", "bigtop-sync", etc.
|
12079
|
+
# Corresponds to the JSON property `serverName`
|
12080
|
+
# @return [String]
|
12081
|
+
attr_accessor :server_name
|
12082
|
+
|
12083
|
+
def initialize(**args)
|
12084
|
+
update!(**args)
|
12085
|
+
end
|
12086
|
+
|
12087
|
+
# Update properties of this object
|
12088
|
+
def update!(**args)
|
12089
|
+
@port_name = args[:port_name] if args.key?(:port_name)
|
12090
|
+
@server_name = args[:server_name] if args.key?(:server_name)
|
12091
|
+
end
|
12092
|
+
end
|
12093
|
+
|
12094
|
+
#
|
12095
|
+
class KeyValue
|
12096
|
+
include Google::Apis::Core::Hashable
|
12097
|
+
|
12098
|
+
# Formatted text supported.
|
12099
|
+
# Corresponds to the JSON property `bottomLabel`
|
12100
|
+
# @return [String]
|
12101
|
+
attr_accessor :bottom_label
|
12102
|
+
|
12103
|
+
#
|
12104
|
+
# Corresponds to the JSON property `button`
|
12105
|
+
# @return [Google::Apis::CloudsearchV1::Button]
|
12106
|
+
attr_accessor :button
|
12107
|
+
|
12108
|
+
# Formatted text supported and always required.
|
12109
|
+
# Corresponds to the JSON property `content`
|
12110
|
+
# @return [String]
|
12111
|
+
attr_accessor :content
|
12112
|
+
|
12113
|
+
#
|
12114
|
+
# Corresponds to the JSON property `contentMultiline`
|
12115
|
+
# @return [Boolean]
|
12116
|
+
attr_accessor :content_multiline
|
12117
|
+
alias_method :content_multiline?, :content_multiline
|
12118
|
+
|
12119
|
+
#
|
12120
|
+
# Corresponds to the JSON property `endIcon`
|
12121
|
+
# @return [Google::Apis::CloudsearchV1::IconImage]
|
12122
|
+
attr_accessor :end_icon
|
10512
12123
|
|
10513
12124
|
#
|
10514
12125
|
# Corresponds to the JSON property `icon`
|
@@ -10572,6 +12183,220 @@ module Google
|
|
10572
12183
|
end
|
10573
12184
|
end
|
10574
12185
|
|
12186
|
+
# A label was added to some (subset of the) messages in this thread.
|
12187
|
+
class LabelAdded
|
12188
|
+
include Google::Apis::Core::Hashable
|
12189
|
+
|
12190
|
+
#
|
12191
|
+
# Corresponds to the JSON property `labelId`
|
12192
|
+
# @return [String]
|
12193
|
+
attr_accessor :label_id
|
12194
|
+
|
12195
|
+
#
|
12196
|
+
# Corresponds to the JSON property `labelName`
|
12197
|
+
# @return [String]
|
12198
|
+
attr_accessor :label_name
|
12199
|
+
|
12200
|
+
#
|
12201
|
+
# Corresponds to the JSON property `messageKeys`
|
12202
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
12203
|
+
attr_accessor :message_keys
|
12204
|
+
|
12205
|
+
#
|
12206
|
+
# Corresponds to the JSON property `syncId`
|
12207
|
+
# @return [Fixnum]
|
12208
|
+
attr_accessor :sync_id
|
12209
|
+
|
12210
|
+
def initialize(**args)
|
12211
|
+
update!(**args)
|
12212
|
+
end
|
12213
|
+
|
12214
|
+
# Update properties of this object
|
12215
|
+
def update!(**args)
|
12216
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
12217
|
+
@label_name = args[:label_name] if args.key?(:label_name)
|
12218
|
+
@message_keys = args[:message_keys] if args.key?(:message_keys)
|
12219
|
+
@sync_id = args[:sync_id] if args.key?(:sync_id)
|
12220
|
+
end
|
12221
|
+
end
|
12222
|
+
|
12223
|
+
# A label was created.
|
12224
|
+
class LabelCreated
|
12225
|
+
include Google::Apis::Core::Hashable
|
12226
|
+
|
12227
|
+
def initialize(**args)
|
12228
|
+
update!(**args)
|
12229
|
+
end
|
12230
|
+
|
12231
|
+
# Update properties of this object
|
12232
|
+
def update!(**args)
|
12233
|
+
end
|
12234
|
+
end
|
12235
|
+
|
12236
|
+
# A label was deleted.
|
12237
|
+
class LabelDeleted
|
12238
|
+
include Google::Apis::Core::Hashable
|
12239
|
+
|
12240
|
+
def initialize(**args)
|
12241
|
+
update!(**args)
|
12242
|
+
end
|
12243
|
+
|
12244
|
+
# Update properties of this object
|
12245
|
+
def update!(**args)
|
12246
|
+
end
|
12247
|
+
end
|
12248
|
+
|
12249
|
+
# A label was removed from some (subset of the) messages in this thread.
|
12250
|
+
class LabelRemoved
|
12251
|
+
include Google::Apis::Core::Hashable
|
12252
|
+
|
12253
|
+
#
|
12254
|
+
# Corresponds to the JSON property `labelId`
|
12255
|
+
# @return [String]
|
12256
|
+
attr_accessor :label_id
|
12257
|
+
|
12258
|
+
#
|
12259
|
+
# Corresponds to the JSON property `labelName`
|
12260
|
+
# @return [String]
|
12261
|
+
attr_accessor :label_name
|
12262
|
+
|
12263
|
+
#
|
12264
|
+
# Corresponds to the JSON property `messageKeys`
|
12265
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
12266
|
+
attr_accessor :message_keys
|
12267
|
+
|
12268
|
+
#
|
12269
|
+
# Corresponds to the JSON property `syncId`
|
12270
|
+
# @return [Fixnum]
|
12271
|
+
attr_accessor :sync_id
|
12272
|
+
|
12273
|
+
def initialize(**args)
|
12274
|
+
update!(**args)
|
12275
|
+
end
|
12276
|
+
|
12277
|
+
# Update properties of this object
|
12278
|
+
def update!(**args)
|
12279
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
12280
|
+
@label_name = args[:label_name] if args.key?(:label_name)
|
12281
|
+
@message_keys = args[:message_keys] if args.key?(:message_keys)
|
12282
|
+
@sync_id = args[:sync_id] if args.key?(:sync_id)
|
12283
|
+
end
|
12284
|
+
end
|
12285
|
+
|
12286
|
+
# A label was renamed.
|
12287
|
+
class LabelRenamed
|
12288
|
+
include Google::Apis::Core::Hashable
|
12289
|
+
|
12290
|
+
#
|
12291
|
+
# Corresponds to the JSON property `oldCanonicalName`
|
12292
|
+
# @return [String]
|
12293
|
+
attr_accessor :old_canonical_name
|
12294
|
+
|
12295
|
+
def initialize(**args)
|
12296
|
+
update!(**args)
|
12297
|
+
end
|
12298
|
+
|
12299
|
+
# Update properties of this object
|
12300
|
+
def update!(**args)
|
12301
|
+
@old_canonical_name = args[:old_canonical_name] if args.key?(:old_canonical_name)
|
12302
|
+
end
|
12303
|
+
end
|
12304
|
+
|
12305
|
+
# HistoryRecord for changes associated with a label, namely: LABEL_CREATED
|
12306
|
+
# LABEL_DELETED LABEL_RENAMED LABEL_UPDATED
|
12307
|
+
class LabelUpdate
|
12308
|
+
include Google::Apis::Core::Hashable
|
12309
|
+
|
12310
|
+
#
|
12311
|
+
# Corresponds to the JSON property `canonicalName`
|
12312
|
+
# @return [String]
|
12313
|
+
attr_accessor :canonical_name
|
12314
|
+
|
12315
|
+
# A label was created.
|
12316
|
+
# Corresponds to the JSON property `labelCreated`
|
12317
|
+
# @return [Google::Apis::CloudsearchV1::LabelCreated]
|
12318
|
+
attr_accessor :label_created
|
12319
|
+
|
12320
|
+
# A label was deleted.
|
12321
|
+
# Corresponds to the JSON property `labelDeleted`
|
12322
|
+
# @return [Google::Apis::CloudsearchV1::LabelDeleted]
|
12323
|
+
attr_accessor :label_deleted
|
12324
|
+
|
12325
|
+
#
|
12326
|
+
# Corresponds to the JSON property `labelId`
|
12327
|
+
# @return [String]
|
12328
|
+
attr_accessor :label_id
|
12329
|
+
|
12330
|
+
# A label was renamed.
|
12331
|
+
# Corresponds to the JSON property `labelRenamed`
|
12332
|
+
# @return [Google::Apis::CloudsearchV1::LabelRenamed]
|
12333
|
+
attr_accessor :label_renamed
|
12334
|
+
|
12335
|
+
# A label pref was updated outside of a rename, create, or delete.
|
12336
|
+
# Corresponds to the JSON property `labelUpdated`
|
12337
|
+
# @return [Google::Apis::CloudsearchV1::LabelUpdated]
|
12338
|
+
attr_accessor :label_updated
|
12339
|
+
|
12340
|
+
#
|
12341
|
+
# Corresponds to the JSON property `syncId`
|
12342
|
+
# @return [Fixnum]
|
12343
|
+
attr_accessor :sync_id
|
12344
|
+
|
12345
|
+
def initialize(**args)
|
12346
|
+
update!(**args)
|
12347
|
+
end
|
12348
|
+
|
12349
|
+
# Update properties of this object
|
12350
|
+
def update!(**args)
|
12351
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
12352
|
+
@label_created = args[:label_created] if args.key?(:label_created)
|
12353
|
+
@label_deleted = args[:label_deleted] if args.key?(:label_deleted)
|
12354
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
12355
|
+
@label_renamed = args[:label_renamed] if args.key?(:label_renamed)
|
12356
|
+
@label_updated = args[:label_updated] if args.key?(:label_updated)
|
12357
|
+
@sync_id = args[:sync_id] if args.key?(:sync_id)
|
12358
|
+
end
|
12359
|
+
end
|
12360
|
+
|
12361
|
+
# A label pref was updated outside of a rename, create, or delete.
|
12362
|
+
class LabelUpdated
|
12363
|
+
include Google::Apis::Core::Hashable
|
12364
|
+
|
12365
|
+
def initialize(**args)
|
12366
|
+
update!(**args)
|
12367
|
+
end
|
12368
|
+
|
12369
|
+
# Update properties of this object
|
12370
|
+
def update!(**args)
|
12371
|
+
end
|
12372
|
+
end
|
12373
|
+
|
12374
|
+
#
|
12375
|
+
class Labels
|
12376
|
+
include Google::Apis::Core::Hashable
|
12377
|
+
|
12378
|
+
# The display name of the labels. This is populated (instead of the id) when the
|
12379
|
+
# request fetch_spec has LABEL_DISPLAY_NAMES.
|
12380
|
+
# Corresponds to the JSON property `displayName`
|
12381
|
+
# @return [Array<String>]
|
12382
|
+
attr_accessor :display_name
|
12383
|
+
|
12384
|
+
# The ids of the labels attached to the Item, e.g. "^i", "^x_1"
|
12385
|
+
# Corresponds to the JSON property `id`
|
12386
|
+
# @return [Array<String>]
|
12387
|
+
attr_accessor :id
|
12388
|
+
|
12389
|
+
def initialize(**args)
|
12390
|
+
update!(**args)
|
12391
|
+
end
|
12392
|
+
|
12393
|
+
# Update properties of this object
|
12394
|
+
def update!(**args)
|
12395
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
12396
|
+
@id = args[:id] if args.key?(:id)
|
12397
|
+
end
|
12398
|
+
end
|
12399
|
+
|
10575
12400
|
# The language configuration for the session.
|
10576
12401
|
class LanguageConfig
|
10577
12402
|
include Google::Apis::Core::Hashable
|
@@ -10903,6 +12728,25 @@ module Google
|
|
10903
12728
|
end
|
10904
12729
|
end
|
10905
12730
|
|
12731
|
+
#
|
12732
|
+
class MatchInfo
|
12733
|
+
include Google::Apis::Core::Hashable
|
12734
|
+
|
12735
|
+
# Reference keys for image attachments that matches search query.
|
12736
|
+
# Corresponds to the JSON property `matchingImageReferenceKey`
|
12737
|
+
# @return [Array<String>]
|
12738
|
+
attr_accessor :matching_image_reference_key
|
12739
|
+
|
12740
|
+
def initialize(**args)
|
12741
|
+
update!(**args)
|
12742
|
+
end
|
12743
|
+
|
12744
|
+
# Update properties of this object
|
12745
|
+
def update!(**args)
|
12746
|
+
@matching_image_reference_key = args[:matching_image_reference_key] if args.key?(:matching_image_reference_key)
|
12747
|
+
end
|
12748
|
+
end
|
12749
|
+
|
10906
12750
|
# Matched range of a snippet [start, end).
|
10907
12751
|
class MatchRange
|
10908
12752
|
include Google::Apis::Core::Hashable
|
@@ -11087,8 +12931,8 @@ module Google
|
|
11087
12931
|
# @return [Array<Google::Apis::CloudsearchV1::PhoneAccess>]
|
11088
12932
|
attr_accessor :phone_access
|
11089
12933
|
|
11090
|
-
# Settings of a meeting space that can be
|
11091
|
-
#
|
12934
|
+
# Settings of a meeting space that can be edited by users with corresponding
|
12935
|
+
# manage privilege. These settings are always populated in responses.
|
11092
12936
|
# Corresponds to the JSON property `settings`
|
11093
12937
|
# @return [Google::Apis::CloudsearchV1::Settings]
|
11094
12938
|
attr_accessor :settings
|
@@ -11204,7 +13048,8 @@ module Google
|
|
11204
13048
|
end
|
11205
13049
|
end
|
11206
13050
|
|
11207
|
-
# Annotation metadata to display system messages for membership changes.
|
13051
|
+
# Annotation metadata to display system messages for membership changes. Next
|
13052
|
+
# Tag: 8
|
11208
13053
|
class MembershipChangedMetadata
|
11209
13054
|
include Google::Apis::Core::Hashable
|
11210
13055
|
|
@@ -11233,6 +13078,11 @@ module Google
|
|
11233
13078
|
# @return [Google::Apis::CloudsearchV1::User]
|
11234
13079
|
attr_accessor :initiator_profile
|
11235
13080
|
|
13081
|
+
# The type of the user who initiated this membership change.
|
13082
|
+
# Corresponds to the JSON property `initiatorType`
|
13083
|
+
# @return [String]
|
13084
|
+
attr_accessor :initiator_type
|
13085
|
+
|
11236
13086
|
#
|
11237
13087
|
# Corresponds to the JSON property `type`
|
11238
13088
|
# @return [String]
|
@@ -11249,6 +13099,7 @@ module Google
|
|
11249
13099
|
@affected_memberships = args[:affected_memberships] if args.key?(:affected_memberships)
|
11250
13100
|
@initiator = args[:initiator] if args.key?(:initiator)
|
11251
13101
|
@initiator_profile = args[:initiator_profile] if args.key?(:initiator_profile)
|
13102
|
+
@initiator_type = args[:initiator_type] if args.key?(:initiator_type)
|
11252
13103
|
@type = args[:type] if args.key?(:type)
|
11253
13104
|
end
|
11254
13105
|
end
|
@@ -11561,6 +13412,14 @@ module Google
|
|
11561
13412
|
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedRetentionSettings]
|
11562
13413
|
attr_accessor :retention_settings
|
11563
13414
|
|
13415
|
+
# Used by clients to correctly log format type for message creation due to
|
13416
|
+
# complexity with client side optimistic update (see go/content-metric-post-send-
|
13417
|
+
# logging for details). Currently, only set by server in the message or topic
|
13418
|
+
# creation path.
|
13419
|
+
# Corresponds to the JSON property `richTextFormattingType`
|
13420
|
+
# @return [String]
|
13421
|
+
attr_accessor :rich_text_formatting_type
|
13422
|
+
|
11564
13423
|
# A client-specified string that can be used to uniquely identify a message in a
|
11565
13424
|
# space, in lieu of `id.message_id`.
|
11566
13425
|
# Corresponds to the JSON property `secondaryMessageKey`
|
@@ -11632,6 +13491,7 @@ module Google
|
|
11632
13491
|
@reactions = args[:reactions] if args.key?(:reactions)
|
11633
13492
|
@reports = args[:reports] if args.key?(:reports)
|
11634
13493
|
@retention_settings = args[:retention_settings] if args.key?(:retention_settings)
|
13494
|
+
@rich_text_formatting_type = args[:rich_text_formatting_type] if args.key?(:rich_text_formatting_type)
|
11635
13495
|
@secondary_message_key = args[:secondary_message_key] if args.key?(:secondary_message_key)
|
11636
13496
|
@text_body = args[:text_body] if args.key?(:text_body)
|
11637
13497
|
@tombstone_metadata = args[:tombstone_metadata] if args.key?(:tombstone_metadata)
|
@@ -11640,6 +13500,69 @@ module Google
|
|
11640
13500
|
end
|
11641
13501
|
end
|
11642
13502
|
|
13503
|
+
# A message was added. Specifying id and initial labels.
|
13504
|
+
class MessageAdded
|
13505
|
+
include Google::Apis::Core::Hashable
|
13506
|
+
|
13507
|
+
#
|
13508
|
+
# Corresponds to the JSON property `attributeIds`
|
13509
|
+
# @return [Array<String>]
|
13510
|
+
attr_accessor :attribute_ids
|
13511
|
+
|
13512
|
+
#
|
13513
|
+
# Corresponds to the JSON property `labelIds`
|
13514
|
+
# @return [Array<String>]
|
13515
|
+
attr_accessor :label_ids
|
13516
|
+
|
13517
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
13518
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
13519
|
+
# be set. More than one key field may be set as long as all key values refer to
|
13520
|
+
# the same object. All objects in storage have unique server_id keys. All
|
13521
|
+
# MultiKeys returned from storage to storage clients will always have the
|
13522
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
13523
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
13524
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
13525
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
13526
|
+
# Instead of server ids, clients can specify string based
|
13527
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
13528
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
13529
|
+
# system needs to create a new object with the updated draft content and needs
|
13530
|
+
# to delete the object containing the old content. The new object gets a new
|
13531
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
13532
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
13533
|
+
# be used to consistently refer to the same logical object across revisions.
|
13534
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
13535
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
13536
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
13537
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
13538
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
13539
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
13540
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
13541
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
13542
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
13543
|
+
# on background and motivation.
|
13544
|
+
# Corresponds to the JSON property `messageKey`
|
13545
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
13546
|
+
attr_accessor :message_key
|
13547
|
+
|
13548
|
+
# Note that there can be fewer sync ids than label ids.
|
13549
|
+
# Corresponds to the JSON property `syncIds`
|
13550
|
+
# @return [Array<Fixnum>]
|
13551
|
+
attr_accessor :sync_ids
|
13552
|
+
|
13553
|
+
def initialize(**args)
|
13554
|
+
update!(**args)
|
13555
|
+
end
|
13556
|
+
|
13557
|
+
# Update properties of this object
|
13558
|
+
def update!(**args)
|
13559
|
+
@attribute_ids = args[:attribute_ids] if args.key?(:attribute_ids)
|
13560
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
13561
|
+
@message_key = args[:message_key] if args.key?(:message_key)
|
13562
|
+
@sync_ids = args[:sync_ids] if args.key?(:sync_ids)
|
13563
|
+
end
|
13564
|
+
end
|
13565
|
+
|
11643
13566
|
# Stores tombstone message attributes: go/tombstone-message-attributes-overview
|
11644
13567
|
class MessageAttributes
|
11645
13568
|
include Google::Apis::Core::Hashable
|
@@ -11660,14 +13583,40 @@ module Google
|
|
11660
13583
|
end
|
11661
13584
|
end
|
11662
13585
|
|
11663
|
-
#
|
11664
|
-
class
|
13586
|
+
# Some (subset of the) messages in this thread were deleted.
|
13587
|
+
class MessageDeleted
|
11665
13588
|
include Google::Apis::Core::Hashable
|
11666
13589
|
|
11667
|
-
#
|
11668
|
-
#
|
11669
|
-
# Corresponds to the JSON property `
|
11670
|
-
# @return [
|
13590
|
+
# Value of coproc's message delete history record extension that exports /
|
13591
|
+
# imapsync/folder attribute of deleted messages which have ^is label.
|
13592
|
+
# Corresponds to the JSON property `imapSyncMappings`
|
13593
|
+
# @return [Array<Google::Apis::CloudsearchV1::ImapSyncDelete>]
|
13594
|
+
attr_accessor :imap_sync_mappings
|
13595
|
+
|
13596
|
+
#
|
13597
|
+
# Corresponds to the JSON property `messageKeys`
|
13598
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
13599
|
+
attr_accessor :message_keys
|
13600
|
+
|
13601
|
+
def initialize(**args)
|
13602
|
+
update!(**args)
|
13603
|
+
end
|
13604
|
+
|
13605
|
+
# Update properties of this object
|
13606
|
+
def update!(**args)
|
13607
|
+
@imap_sync_mappings = args[:imap_sync_mappings] if args.key?(:imap_sync_mappings)
|
13608
|
+
@message_keys = args[:message_keys] if args.key?(:message_keys)
|
13609
|
+
end
|
13610
|
+
end
|
13611
|
+
|
13612
|
+
# Primary key for Message resource.
|
13613
|
+
class MessageId
|
13614
|
+
include Google::Apis::Core::Hashable
|
13615
|
+
|
13616
|
+
# Opaque, server-assigned ID of the Message. While this ID is guaranteed to be
|
13617
|
+
# unique within the Space, it's not guaranteed to be globally unique.
|
13618
|
+
# Corresponds to the JSON property `messageId`
|
13619
|
+
# @return [String]
|
11671
13620
|
attr_accessor :message_id
|
11672
13621
|
|
11673
13622
|
# Primary key identifying Message resource's immediate parent. For top-level
|
@@ -11758,6 +13707,19 @@ module Google
|
|
11758
13707
|
end
|
11759
13708
|
end
|
11760
13709
|
|
13710
|
+
# This is proto2's version of MessageSet.
|
13711
|
+
class MessageSet
|
13712
|
+
include Google::Apis::Core::Hashable
|
13713
|
+
|
13714
|
+
def initialize(**args)
|
13715
|
+
update!(**args)
|
13716
|
+
end
|
13717
|
+
|
13718
|
+
# Update properties of this object
|
13719
|
+
def update!(**args)
|
13720
|
+
end
|
13721
|
+
end
|
13722
|
+
|
11761
13723
|
# Metadata of a matched search result.
|
11762
13724
|
class Metadata
|
11763
13725
|
include Google::Apis::Core::Hashable
|
@@ -11849,6 +13811,59 @@ module Google
|
|
11849
13811
|
end
|
11850
13812
|
end
|
11851
13813
|
|
13814
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
13815
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
13816
|
+
# be set. More than one key field may be set as long as all key values refer to
|
13817
|
+
# the same object. All objects in storage have unique server_id keys. All
|
13818
|
+
# MultiKeys returned from storage to storage clients will always have the
|
13819
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
13820
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
13821
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
13822
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
13823
|
+
# Instead of server ids, clients can specify string based
|
13824
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
13825
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
13826
|
+
# system needs to create a new object with the updated draft content and needs
|
13827
|
+
# to delete the object containing the old content. The new object gets a new
|
13828
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
13829
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
13830
|
+
# be used to consistently refer to the same logical object across revisions.
|
13831
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
13832
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
13833
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
13834
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
13835
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
13836
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
13837
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
13838
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
13839
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
13840
|
+
# on background and motivation.
|
13841
|
+
class MultiKey
|
13842
|
+
include Google::Apis::Core::Hashable
|
13843
|
+
|
13844
|
+
# A client-assigned string based key.
|
13845
|
+
# Corresponds to the JSON property `clientAssignedPermId`
|
13846
|
+
# @return [String]
|
13847
|
+
attr_accessor :client_assigned_perm_id
|
13848
|
+
|
13849
|
+
# A server-assigned ID. This ID must be used only by Gmail and is constructed
|
13850
|
+
# using millesecond ts << 20 + randomness. The ID affects the sort order of the
|
13851
|
+
# index.
|
13852
|
+
# Corresponds to the JSON property `serverId`
|
13853
|
+
# @return [Fixnum]
|
13854
|
+
attr_accessor :server_id
|
13855
|
+
|
13856
|
+
def initialize(**args)
|
13857
|
+
update!(**args)
|
13858
|
+
end
|
13859
|
+
|
13860
|
+
# Update properties of this object
|
13861
|
+
def update!(**args)
|
13862
|
+
@client_assigned_perm_id = args[:client_assigned_perm_id] if args.key?(:client_assigned_perm_id)
|
13863
|
+
@server_id = args[:server_id] if args.key?(:server_id)
|
13864
|
+
end
|
13865
|
+
end
|
13866
|
+
|
11852
13867
|
# A person's name.
|
11853
13868
|
class Name
|
11854
13869
|
include Google::Apis::Core::Hashable
|
@@ -12166,6 +14181,46 @@ module Google
|
|
12166
14181
|
end
|
12167
14182
|
end
|
12168
14183
|
|
14184
|
+
#
|
14185
|
+
class OpenCreatedDraftActionMarkup
|
14186
|
+
include Google::Apis::Core::Hashable
|
14187
|
+
|
14188
|
+
# The ID of the newly created draft in the form "r123".
|
14189
|
+
# Corresponds to the JSON property `draftId`
|
14190
|
+
# @return [String]
|
14191
|
+
attr_accessor :draft_id
|
14192
|
+
|
14193
|
+
# The server storage ID in hex format, for example,"15e9fa622ce1029d".
|
14194
|
+
# Corresponds to the JSON property `draftStorageId`
|
14195
|
+
# @return [String]
|
14196
|
+
attr_accessor :draft_storage_id
|
14197
|
+
|
14198
|
+
# The ID of the thread containing the newly created draft, for example, "
|
14199
|
+
# 15e9fa622ce1029d".
|
14200
|
+
# Corresponds to the JSON property `draftThreadId`
|
14201
|
+
# @return [String]
|
14202
|
+
attr_accessor :draft_thread_id
|
14203
|
+
|
14204
|
+
# The server permanent ID for the draft's thread. This field isn't set anywhere,
|
14205
|
+
# and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use
|
14206
|
+
# draftThreadStorageId instead.
|
14207
|
+
# Corresponds to the JSON property `draftThreadServerPermId`
|
14208
|
+
# @return [String]
|
14209
|
+
attr_accessor :draft_thread_server_perm_id
|
14210
|
+
|
14211
|
+
def initialize(**args)
|
14212
|
+
update!(**args)
|
14213
|
+
end
|
14214
|
+
|
14215
|
+
# Update properties of this object
|
14216
|
+
def update!(**args)
|
14217
|
+
@draft_id = args[:draft_id] if args.key?(:draft_id)
|
14218
|
+
@draft_storage_id = args[:draft_storage_id] if args.key?(:draft_storage_id)
|
14219
|
+
@draft_thread_id = args[:draft_thread_id] if args.key?(:draft_thread_id)
|
14220
|
+
@draft_thread_server_perm_id = args[:draft_thread_server_perm_id] if args.key?(:draft_thread_server_perm_id)
|
14221
|
+
end
|
14222
|
+
end
|
14223
|
+
|
12169
14224
|
#
|
12170
14225
|
class OpenLink
|
12171
14226
|
include Google::Apis::Core::Hashable
|
@@ -12265,6 +14320,37 @@ module Google
|
|
12265
14320
|
end
|
12266
14321
|
end
|
12267
14322
|
|
14323
|
+
#
|
14324
|
+
class OsVersion
|
14325
|
+
include Google::Apis::Core::Hashable
|
14326
|
+
|
14327
|
+
#
|
14328
|
+
# Corresponds to the JSON property `majorVersion`
|
14329
|
+
# @return [Fixnum]
|
14330
|
+
attr_accessor :major_version
|
14331
|
+
|
14332
|
+
#
|
14333
|
+
# Corresponds to the JSON property `minorVersion`
|
14334
|
+
# @return [Fixnum]
|
14335
|
+
attr_accessor :minor_version
|
14336
|
+
|
14337
|
+
#
|
14338
|
+
# Corresponds to the JSON property `tertiaryVersion`
|
14339
|
+
# @return [Fixnum]
|
14340
|
+
attr_accessor :tertiary_version
|
14341
|
+
|
14342
|
+
def initialize(**args)
|
14343
|
+
update!(**args)
|
14344
|
+
end
|
14345
|
+
|
14346
|
+
# Update properties of this object
|
14347
|
+
def update!(**args)
|
14348
|
+
@major_version = args[:major_version] if args.key?(:major_version)
|
14349
|
+
@minor_version = args[:minor_version] if args.key?(:minor_version)
|
14350
|
+
@tertiary_version = args[:tertiary_version] if args.key?(:tertiary_version)
|
14351
|
+
end
|
14352
|
+
end
|
14353
|
+
|
12268
14354
|
#
|
12269
14355
|
class OtrChatMessageEvent
|
12270
14356
|
include Google::Apis::Core::Hashable
|
@@ -12686,6 +14772,33 @@ module Google
|
|
12686
14772
|
end
|
12687
14773
|
end
|
12688
14774
|
|
14775
|
+
# This message contains either the device model, or a prefix of the device model
|
14776
|
+
# (AKA a trimmed device model). The "is_trimmed" field indicates which one it is.
|
14777
|
+
class PossiblyTrimmedModel
|
14778
|
+
include Google::Apis::Core::Hashable
|
14779
|
+
|
14780
|
+
#
|
14781
|
+
# Corresponds to the JSON property `isTrimmed`
|
14782
|
+
# @return [Boolean]
|
14783
|
+
attr_accessor :is_trimmed
|
14784
|
+
alias_method :is_trimmed?, :is_trimmed
|
14785
|
+
|
14786
|
+
#
|
14787
|
+
# Corresponds to the JSON property `model`
|
14788
|
+
# @return [String]
|
14789
|
+
attr_accessor :model
|
14790
|
+
|
14791
|
+
def initialize(**args)
|
14792
|
+
update!(**args)
|
14793
|
+
end
|
14794
|
+
|
14795
|
+
# Update properties of this object
|
14796
|
+
def update!(**args)
|
14797
|
+
@is_trimmed = args[:is_trimmed] if args.key?(:is_trimmed)
|
14798
|
+
@model = args[:model] if args.key?(:model)
|
14799
|
+
end
|
14800
|
+
end
|
14801
|
+
|
12689
14802
|
# See http://s/?fileprint=//depot/google3/security/authentication/postini/
|
12690
14803
|
# auth_token.proto
|
12691
14804
|
class PostiniUserProto
|
@@ -12706,6 +14819,167 @@ module Google
|
|
12706
14819
|
end
|
12707
14820
|
end
|
12708
14821
|
|
14822
|
+
# State of the thread previous to the update. This really just describes the
|
14823
|
+
# label state of all messages before the update.
|
14824
|
+
class PreState
|
14825
|
+
include Google::Apis::Core::Hashable
|
14826
|
+
|
14827
|
+
#
|
14828
|
+
# Corresponds to the JSON property `labelIds`
|
14829
|
+
# @return [Array<String>]
|
14830
|
+
attr_accessor :label_ids
|
14831
|
+
|
14832
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
14833
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
14834
|
+
# be set. More than one key field may be set as long as all key values refer to
|
14835
|
+
# the same object. All objects in storage have unique server_id keys. All
|
14836
|
+
# MultiKeys returned from storage to storage clients will always have the
|
14837
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
14838
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
14839
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
14840
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
14841
|
+
# Instead of server ids, clients can specify string based
|
14842
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
14843
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
14844
|
+
# system needs to create a new object with the updated draft content and needs
|
14845
|
+
# to delete the object containing the old content. The new object gets a new
|
14846
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
14847
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
14848
|
+
# be used to consistently refer to the same logical object across revisions.
|
14849
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
14850
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
14851
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
14852
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
14853
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
14854
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
14855
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
14856
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
14857
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
14858
|
+
# on background and motivation.
|
14859
|
+
# Corresponds to the JSON property `messageKey`
|
14860
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
14861
|
+
attr_accessor :message_key
|
14862
|
+
|
14863
|
+
# Note that there can be fewer sync ids than label ids.
|
14864
|
+
# Corresponds to the JSON property `syncIds`
|
14865
|
+
# @return [Array<Fixnum>]
|
14866
|
+
attr_accessor :sync_ids
|
14867
|
+
|
14868
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
14869
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
14870
|
+
# be set. More than one key field may be set as long as all key values refer to
|
14871
|
+
# the same object. All objects in storage have unique server_id keys. All
|
14872
|
+
# MultiKeys returned from storage to storage clients will always have the
|
14873
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
14874
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
14875
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
14876
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
14877
|
+
# Instead of server ids, clients can specify string based
|
14878
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
14879
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
14880
|
+
# system needs to create a new object with the updated draft content and needs
|
14881
|
+
# to delete the object containing the old content. The new object gets a new
|
14882
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
14883
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
14884
|
+
# be used to consistently refer to the same logical object across revisions.
|
14885
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
14886
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
14887
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
14888
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
14889
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
14890
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
14891
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
14892
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
14893
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
14894
|
+
# on background and motivation.
|
14895
|
+
# Corresponds to the JSON property `threadKey`
|
14896
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
14897
|
+
attr_accessor :thread_key
|
14898
|
+
|
14899
|
+
def initialize(**args)
|
14900
|
+
update!(**args)
|
14901
|
+
end
|
14902
|
+
|
14903
|
+
# Update properties of this object
|
14904
|
+
def update!(**args)
|
14905
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
14906
|
+
@message_key = args[:message_key] if args.key?(:message_key)
|
14907
|
+
@sync_ids = args[:sync_ids] if args.key?(:sync_ids)
|
14908
|
+
@thread_key = args[:thread_key] if args.key?(:thread_key)
|
14909
|
+
end
|
14910
|
+
end
|
14911
|
+
|
14912
|
+
# PREF_DELETED
|
14913
|
+
class PrefDeleted
|
14914
|
+
include Google::Apis::Core::Hashable
|
14915
|
+
|
14916
|
+
def initialize(**args)
|
14917
|
+
update!(**args)
|
14918
|
+
end
|
14919
|
+
|
14920
|
+
# Update properties of this object
|
14921
|
+
def update!(**args)
|
14922
|
+
end
|
14923
|
+
end
|
14924
|
+
|
14925
|
+
# HistoryRecord for changes associated with prefs, namely: PREF_WRITTEN
|
14926
|
+
# PREF_DELETED
|
14927
|
+
class PrefUpdate
|
14928
|
+
include Google::Apis::Core::Hashable
|
14929
|
+
|
14930
|
+
# Name of the affected preference.
|
14931
|
+
# Corresponds to the JSON property `name`
|
14932
|
+
# @return [String]
|
14933
|
+
attr_accessor :name
|
14934
|
+
|
14935
|
+
# If the Value field is not set this means the pref did not exist.
|
14936
|
+
# Corresponds to the JSON property `preState`
|
14937
|
+
# @return [Google::Apis::CloudsearchV1::FuseboxPrefUpdatePreState]
|
14938
|
+
attr_accessor :pre_state
|
14939
|
+
|
14940
|
+
# PREF_DELETED
|
14941
|
+
# Corresponds to the JSON property `prefDeleted`
|
14942
|
+
# @return [Google::Apis::CloudsearchV1::PrefDeleted]
|
14943
|
+
attr_accessor :pref_deleted
|
14944
|
+
|
14945
|
+
# PREF_WRITTEN
|
14946
|
+
# Corresponds to the JSON property `prefWritten`
|
14947
|
+
# @return [Google::Apis::CloudsearchV1::PrefWritten]
|
14948
|
+
attr_accessor :pref_written
|
14949
|
+
|
14950
|
+
def initialize(**args)
|
14951
|
+
update!(**args)
|
14952
|
+
end
|
14953
|
+
|
14954
|
+
# Update properties of this object
|
14955
|
+
def update!(**args)
|
14956
|
+
@name = args[:name] if args.key?(:name)
|
14957
|
+
@pre_state = args[:pre_state] if args.key?(:pre_state)
|
14958
|
+
@pref_deleted = args[:pref_deleted] if args.key?(:pref_deleted)
|
14959
|
+
@pref_written = args[:pref_written] if args.key?(:pref_written)
|
14960
|
+
end
|
14961
|
+
end
|
14962
|
+
|
14963
|
+
# PREF_WRITTEN
|
14964
|
+
class PrefWritten
|
14965
|
+
include Google::Apis::Core::Hashable
|
14966
|
+
|
14967
|
+
#
|
14968
|
+
# Corresponds to the JSON property `value`
|
14969
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
14970
|
+
# @return [String]
|
14971
|
+
attr_accessor :value
|
14972
|
+
|
14973
|
+
def initialize(**args)
|
14974
|
+
update!(**args)
|
14975
|
+
end
|
14976
|
+
|
14977
|
+
# Update properties of this object
|
14978
|
+
def update!(**args)
|
14979
|
+
@value = args[:value] if args.key?(:value)
|
14980
|
+
end
|
14981
|
+
end
|
14982
|
+
|
12709
14983
|
# Presenter contains information about which device is currently presenting as
|
12710
14984
|
# well as which device requested the presenter to be set.
|
12711
14985
|
class Presenter
|
@@ -13015,7 +15289,8 @@ module Google
|
|
13015
15289
|
end
|
13016
15290
|
end
|
13017
15291
|
|
13018
|
-
# Private message information specific to a given user.
|
15292
|
+
# Private message information specific to a given user. DEPRECATED: Use the
|
15293
|
+
# privateMessageViewer field in CreateMessageInfo instead.
|
13019
15294
|
class PrivateMessageInfo
|
13020
15295
|
include Google::Apis::Core::Hashable
|
13021
15296
|
|
@@ -13846,6 +16121,38 @@ module Google
|
|
13846
16121
|
end
|
13847
16122
|
end
|
13848
16123
|
|
16124
|
+
# The rank contains a tuple of numbers which may be used as a general sort order.
|
16125
|
+
# The rank should be treated as an ordered set of numbers, where the ordering
|
16126
|
+
# is done in descending order of the most significant rank member. For example,
|
16127
|
+
# given the following ranks described as (primary, secondary): (1,1), (1,2), (2,
|
16128
|
+
# 2) (2,1) The descending rank-order is: (2,2) > (2,1) > (1,2) > (1,1)
|
16129
|
+
class Rank
|
16130
|
+
include Google::Apis::Core::Hashable
|
16131
|
+
|
16132
|
+
# The primary rank is the most significant rank member. This rank element should
|
16133
|
+
# always be present. Items with higher primary rank are always considered of
|
16134
|
+
# higher rank than those of lower primary rank.
|
16135
|
+
# Corresponds to the JSON property `primary`
|
16136
|
+
# @return [Fixnum]
|
16137
|
+
attr_accessor :primary
|
16138
|
+
|
16139
|
+
# The secondary rank may be used to rank items of identical primary rank. This
|
16140
|
+
# rank element should always be present.
|
16141
|
+
# Corresponds to the JSON property `secondary`
|
16142
|
+
# @return [Fixnum]
|
16143
|
+
attr_accessor :secondary
|
16144
|
+
|
16145
|
+
def initialize(**args)
|
16146
|
+
update!(**args)
|
16147
|
+
end
|
16148
|
+
|
16149
|
+
# Update properties of this object
|
16150
|
+
def update!(**args)
|
16151
|
+
@primary = args[:primary] if args.key?(:primary)
|
16152
|
+
@secondary = args[:secondary] if args.key?(:secondary)
|
16153
|
+
end
|
16154
|
+
end
|
16155
|
+
|
13849
16156
|
# Principal associated with a given RBAC role. This principal is used by Sphinx
|
13850
16157
|
# Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-
|
13851
16158
|
# design).
|
@@ -13946,6 +16253,25 @@ module Google
|
|
13946
16253
|
end
|
13947
16254
|
end
|
13948
16255
|
|
16256
|
+
#
|
16257
|
+
class Recipient
|
16258
|
+
include Google::Apis::Core::Hashable
|
16259
|
+
|
16260
|
+
#
|
16261
|
+
# Corresponds to the JSON property `email`
|
16262
|
+
# @return [String]
|
16263
|
+
attr_accessor :email
|
16264
|
+
|
16265
|
+
def initialize(**args)
|
16266
|
+
update!(**args)
|
16267
|
+
end
|
16268
|
+
|
16269
|
+
# Update properties of this object
|
16270
|
+
def update!(**args)
|
16271
|
+
@email = args[:email] if args.key?(:email)
|
16272
|
+
end
|
16273
|
+
end
|
16274
|
+
|
13949
16275
|
# A recording event is something that happens to the recording in a conference.
|
13950
16276
|
class RecordingEvent
|
13951
16277
|
include Google::Apis::Core::Hashable
|
@@ -14062,19 +16388,41 @@ module Google
|
|
14062
16388
|
end
|
14063
16389
|
end
|
14064
16390
|
|
14065
|
-
#
|
14066
|
-
|
16391
|
+
# All fields in this proto are now columns in spanner see google3/storage/slice/
|
16392
|
+
# production/gmail/user_data_tables.pi for documentation.
|
16393
|
+
class Reference
|
14067
16394
|
include Google::Apis::Core::Hashable
|
14068
16395
|
|
14069
16396
|
#
|
14070
|
-
# Corresponds to the JSON property `
|
16397
|
+
# Corresponds to the JSON property `blobId`
|
14071
16398
|
# @return [String]
|
14072
|
-
attr_accessor :
|
16399
|
+
attr_accessor :blob_id
|
14073
16400
|
|
14074
16401
|
#
|
14075
|
-
# Corresponds to the JSON property `
|
16402
|
+
# Corresponds to the JSON property `contentType`
|
14076
16403
|
# @return [String]
|
14077
|
-
attr_accessor :
|
16404
|
+
attr_accessor :content_type
|
16405
|
+
|
16406
|
+
#
|
16407
|
+
# Corresponds to the JSON property `hash`
|
16408
|
+
# @return [String]
|
16409
|
+
attr_accessor :hash_prop
|
16410
|
+
|
16411
|
+
# LINT.IfChange
|
16412
|
+
# Corresponds to the JSON property `key`
|
16413
|
+
# @return [String]
|
16414
|
+
attr_accessor :key
|
16415
|
+
|
16416
|
+
# LINT.ThenChange(//depot/google3/storage/slice/production/gmail/
|
16417
|
+
# user_data_tables.pi)
|
16418
|
+
# Corresponds to the JSON property `name`
|
16419
|
+
# @return [String]
|
16420
|
+
attr_accessor :name
|
16421
|
+
|
16422
|
+
#
|
16423
|
+
# Corresponds to the JSON property `size`
|
16424
|
+
# @return [Fixnum]
|
16425
|
+
attr_accessor :size
|
14078
16426
|
|
14079
16427
|
def initialize(**args)
|
14080
16428
|
update!(**args)
|
@@ -14082,30 +16430,113 @@ module Google
|
|
14082
16430
|
|
14083
16431
|
# Update properties of this object
|
14084
16432
|
def update!(**args)
|
14085
|
-
@
|
14086
|
-
@
|
16433
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
16434
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
16435
|
+
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
|
16436
|
+
@key = args[:key] if args.key?(:key)
|
16437
|
+
@name = args[:name] if args.key?(:name)
|
16438
|
+
@size = args[:size] if args.key?(:size)
|
14087
16439
|
end
|
14088
16440
|
end
|
14089
16441
|
|
14090
|
-
#
|
14091
|
-
class
|
16442
|
+
#
|
16443
|
+
class References
|
14092
16444
|
include Google::Apis::Core::Hashable
|
14093
16445
|
|
14094
|
-
#
|
14095
|
-
#
|
14096
|
-
#
|
14097
|
-
|
14098
|
-
|
14099
|
-
|
14100
|
-
|
14101
|
-
|
14102
|
-
|
14103
|
-
|
14104
|
-
|
14105
|
-
|
14106
|
-
|
14107
|
-
|
14108
|
-
|
16446
|
+
#
|
16447
|
+
# Corresponds to the JSON property `references`
|
16448
|
+
# @return [Array<Google::Apis::CloudsearchV1::Reference>]
|
16449
|
+
attr_accessor :references
|
16450
|
+
|
16451
|
+
def initialize(**args)
|
16452
|
+
update!(**args)
|
16453
|
+
end
|
16454
|
+
|
16455
|
+
# Update properties of this object
|
16456
|
+
def update!(**args)
|
16457
|
+
@references = args[:references] if args.key?(:references)
|
16458
|
+
end
|
16459
|
+
end
|
16460
|
+
|
16461
|
+
#
|
16462
|
+
class RenameEvent
|
16463
|
+
include Google::Apis::Core::Hashable
|
16464
|
+
|
16465
|
+
#
|
16466
|
+
# Corresponds to the JSON property `newName`
|
16467
|
+
# @return [String]
|
16468
|
+
attr_accessor :new_name
|
16469
|
+
|
16470
|
+
#
|
16471
|
+
# Corresponds to the JSON property `originalName`
|
16472
|
+
# @return [String]
|
16473
|
+
attr_accessor :original_name
|
16474
|
+
|
16475
|
+
def initialize(**args)
|
16476
|
+
update!(**args)
|
16477
|
+
end
|
16478
|
+
|
16479
|
+
# Update properties of this object
|
16480
|
+
def update!(**args)
|
16481
|
+
@new_name = args[:new_name] if args.key?(:new_name)
|
16482
|
+
@original_name = args[:original_name] if args.key?(:original_name)
|
16483
|
+
end
|
16484
|
+
end
|
16485
|
+
|
16486
|
+
# Errors when the connector is communicating to the source repository.
|
16487
|
+
class RepositoryError
|
16488
|
+
include Google::Apis::Core::Hashable
|
16489
|
+
|
16490
|
+
# Message that describes the error. The maximum allowable length of the message
|
16491
|
+
# is 8192 characters.
|
16492
|
+
# Corresponds to the JSON property `errorMessage`
|
16493
|
+
# @return [String]
|
16494
|
+
attr_accessor :error_message
|
16495
|
+
|
16496
|
+
# Error codes. Matches the definition of HTTP status codes.
|
16497
|
+
# Corresponds to the JSON property `httpStatusCode`
|
16498
|
+
# @return [Fixnum]
|
16499
|
+
attr_accessor :http_status_code
|
16500
|
+
|
16501
|
+
# The type of error.
|
16502
|
+
# Corresponds to the JSON property `type`
|
16503
|
+
# @return [String]
|
16504
|
+
attr_accessor :type
|
16505
|
+
|
16506
|
+
def initialize(**args)
|
16507
|
+
update!(**args)
|
16508
|
+
end
|
16509
|
+
|
16510
|
+
# Update properties of this object
|
16511
|
+
def update!(**args)
|
16512
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
16513
|
+
@http_status_code = args[:http_status_code] if args.key?(:http_status_code)
|
16514
|
+
@type = args[:type] if args.key?(:type)
|
16515
|
+
end
|
16516
|
+
end
|
16517
|
+
|
16518
|
+
#
|
16519
|
+
class RequestFileScope
|
16520
|
+
include Google::Apis::Core::Hashable
|
16521
|
+
|
16522
|
+
#
|
16523
|
+
# Corresponds to the JSON property `itemId`
|
16524
|
+
# @return [String]
|
16525
|
+
attr_accessor :item_id
|
16526
|
+
|
16527
|
+
def initialize(**args)
|
16528
|
+
update!(**args)
|
16529
|
+
end
|
16530
|
+
|
16531
|
+
# Update properties of this object
|
16532
|
+
def update!(**args)
|
16533
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
16534
|
+
end
|
16535
|
+
end
|
16536
|
+
|
16537
|
+
#
|
16538
|
+
class RequestFileScopeForActiveDocument
|
16539
|
+
include Google::Apis::Core::Hashable
|
14109
16540
|
|
14110
16541
|
def initialize(**args)
|
14111
16542
|
update!(**args)
|
@@ -14113,9 +16544,6 @@ module Google
|
|
14113
16544
|
|
14114
16545
|
# Update properties of this object
|
14115
16546
|
def update!(**args)
|
14116
|
-
@error_message = args[:error_message] if args.key?(:error_message)
|
14117
|
-
@http_status_code = args[:http_status_code] if args.key?(:http_status_code)
|
14118
|
-
@type = args[:type] if args.key?(:type)
|
14119
16547
|
end
|
14120
16548
|
end
|
14121
16549
|
|
@@ -14253,11 +16681,6 @@ module Google
|
|
14253
16681
|
class ResponseDebugInfo
|
14254
16682
|
include Google::Apis::Core::Hashable
|
14255
16683
|
|
14256
|
-
# Experiments enabled in QAPI.
|
14257
|
-
# Corresponds to the JSON property `enabledExperiments`
|
14258
|
-
# @return [Array<Fixnum>]
|
14259
|
-
attr_accessor :enabled_experiments
|
14260
|
-
|
14261
16684
|
# General debug info formatted for display.
|
14262
16685
|
# Corresponds to the JSON property `formattedDebugInfo`
|
14263
16686
|
# @return [String]
|
@@ -14269,7 +16692,6 @@ module Google
|
|
14269
16692
|
|
14270
16693
|
# Update properties of this object
|
14271
16694
|
def update!(**args)
|
14272
|
-
@enabled_experiments = args[:enabled_experiments] if args.key?(:enabled_experiments)
|
14273
16695
|
@formatted_debug_info = args[:formatted_debug_info] if args.key?(:formatted_debug_info)
|
14274
16696
|
end
|
14275
16697
|
end
|
@@ -14547,6 +16969,12 @@ module Google
|
|
14547
16969
|
# @return [Google::Apis::CloudsearchV1::RosterId]
|
14548
16970
|
attr_accessor :id
|
14549
16971
|
|
16972
|
+
# Whether caller has visibility into members of the roster.
|
16973
|
+
# Corresponds to the JSON property `isMembershipVisibleToCaller`
|
16974
|
+
# @return [Boolean]
|
16975
|
+
attr_accessor :is_membership_visible_to_caller
|
16976
|
+
alias_method :is_membership_visible_to_caller?, :is_membership_visible_to_caller
|
16977
|
+
|
14550
16978
|
#
|
14551
16979
|
# Corresponds to the JSON property `membershipCount`
|
14552
16980
|
# @return [Fixnum]
|
@@ -14581,6 +17009,7 @@ module Google
|
|
14581
17009
|
def update!(**args)
|
14582
17010
|
@avatar_url = args[:avatar_url] if args.key?(:avatar_url)
|
14583
17011
|
@id = args[:id] if args.key?(:id)
|
17012
|
+
@is_membership_visible_to_caller = args[:is_membership_visible_to_caller] if args.key?(:is_membership_visible_to_caller)
|
14584
17013
|
@membership_count = args[:membership_count] if args.key?(:membership_count)
|
14585
17014
|
@name = args[:name] if args.key?(:name)
|
14586
17015
|
@roster_gaia_key = args[:roster_gaia_key] if args.key?(:roster_gaia_key)
|
@@ -14608,6 +17037,25 @@ module Google
|
|
14608
17037
|
end
|
14609
17038
|
end
|
14610
17039
|
|
17040
|
+
# Options for Triggers dispatched via RPC.
|
17041
|
+
class RpcOptions
|
17042
|
+
include Google::Apis::Core::Hashable
|
17043
|
+
|
17044
|
+
# This is proto2's version of MessageSet.
|
17045
|
+
# Corresponds to the JSON property `requestExtensions`
|
17046
|
+
# @return [Google::Apis::CloudsearchV1::MessageSet]
|
17047
|
+
attr_accessor :request_extensions
|
17048
|
+
|
17049
|
+
def initialize(**args)
|
17050
|
+
update!(**args)
|
17051
|
+
end
|
17052
|
+
|
17053
|
+
# Update properties of this object
|
17054
|
+
def update!(**args)
|
17055
|
+
@request_extensions = args[:request_extensions] if args.key?(:request_extensions)
|
17056
|
+
end
|
17057
|
+
end
|
17058
|
+
|
14611
17059
|
# Message containing a string that is safe to use in URL contexts in DOM APIs
|
14612
17060
|
# and HTML documents, where the URL context does not refer to a resource that
|
14613
17061
|
# loads code.
|
@@ -15360,6 +17808,58 @@ module Google
|
|
15360
17808
|
end
|
15361
17809
|
end
|
15362
17810
|
|
17811
|
+
#
|
17812
|
+
class SessionContext
|
17813
|
+
include Google::Apis::Core::Hashable
|
17814
|
+
|
17815
|
+
# Time at which this activity's session was authenticated, in seconds since the
|
17816
|
+
# epoch.
|
17817
|
+
# Corresponds to the JSON property `authTime`
|
17818
|
+
# @return [Fixnum]
|
17819
|
+
attr_accessor :auth_time
|
17820
|
+
|
17821
|
+
# Gaia ID of the authenticated user when delegate access is active. In such
|
17822
|
+
# sessions the main gaia ID is that of the delegator, i.e. the account being
|
17823
|
+
# accessed.
|
17824
|
+
# Corresponds to the JSON property `delegateUserId`
|
17825
|
+
# @return [Fixnum]
|
17826
|
+
attr_accessor :delegate_user_id
|
17827
|
+
|
17828
|
+
# Device User Session ID, see go/dusi.
|
17829
|
+
# Corresponds to the JSON property `dusi`
|
17830
|
+
# @return [String]
|
17831
|
+
attr_accessor :dusi
|
17832
|
+
|
17833
|
+
# Imap session context for Bond/Gmail integration
|
17834
|
+
# Corresponds to the JSON property `imapSessionContext`
|
17835
|
+
# @return [Google::Apis::CloudsearchV1::ImapSessionContext]
|
17836
|
+
attr_accessor :imap_session_context
|
17837
|
+
|
17838
|
+
# OAuth login ID.
|
17839
|
+
# Corresponds to the JSON property `oauthLoginId`
|
17840
|
+
# @return [Fixnum]
|
17841
|
+
attr_accessor :oauth_login_id
|
17842
|
+
|
17843
|
+
# The devconsole project ID of the developer who authenticated with OAuth.
|
17844
|
+
# Corresponds to the JSON property `oauthProjectId`
|
17845
|
+
# @return [Fixnum]
|
17846
|
+
attr_accessor :oauth_project_id
|
17847
|
+
|
17848
|
+
def initialize(**args)
|
17849
|
+
update!(**args)
|
17850
|
+
end
|
17851
|
+
|
17852
|
+
# Update properties of this object
|
17853
|
+
def update!(**args)
|
17854
|
+
@auth_time = args[:auth_time] if args.key?(:auth_time)
|
17855
|
+
@delegate_user_id = args[:delegate_user_id] if args.key?(:delegate_user_id)
|
17856
|
+
@dusi = args[:dusi] if args.key?(:dusi)
|
17857
|
+
@imap_session_context = args[:imap_session_context] if args.key?(:imap_session_context)
|
17858
|
+
@oauth_login_id = args[:oauth_login_id] if args.key?(:oauth_login_id)
|
17859
|
+
@oauth_project_id = args[:oauth_project_id] if args.key?(:oauth_project_id)
|
17860
|
+
end
|
17861
|
+
end
|
17862
|
+
|
15363
17863
|
# A session event is something that happens to the streaming session in a
|
15364
17864
|
# conference.
|
15365
17865
|
class SessionEvent
|
@@ -15441,18 +17941,29 @@ module Google
|
|
15441
17941
|
end
|
15442
17942
|
end
|
15443
17943
|
|
15444
|
-
# Settings of a meeting space that can be
|
15445
|
-
#
|
17944
|
+
# Settings of a meeting space that can be edited by users with corresponding
|
17945
|
+
# manage privilege. These settings are always populated in responses.
|
15446
17946
|
class Settings
|
15447
17947
|
include Google::Apis::Core::Hashable
|
15448
17948
|
|
15449
|
-
# The access lock of the meeting space that lets
|
15450
|
-
# meeting.
|
17949
|
+
# The access lock of the meeting space that lets hosts control who can join the
|
17950
|
+
# meeting.
|
15451
17951
|
# Corresponds to the JSON property `accessLock`
|
15452
17952
|
# @return [Boolean]
|
15453
17953
|
attr_accessor :access_lock
|
15454
17954
|
alias_method :access_lock?, :access_lock
|
15455
17955
|
|
17956
|
+
# The access type of the meeting space.
|
17957
|
+
# Corresponds to the JSON property `accessType`
|
17958
|
+
# @return [String]
|
17959
|
+
attr_accessor :access_type
|
17960
|
+
|
17961
|
+
# Whether users can join before host in the conferences of this meeting space.
|
17962
|
+
# Corresponds to the JSON property `allowJoiningBeforeHost`
|
17963
|
+
# @return [Boolean]
|
17964
|
+
attr_accessor :allow_joining_before_host
|
17965
|
+
alias_method :allow_joining_before_host?, :allow_joining_before_host
|
17966
|
+
|
15456
17967
|
# Whether attendance report is enabled for the meeting space.
|
15457
17968
|
# Corresponds to the JSON property `attendanceReportEnabled`
|
15458
17969
|
# @return [Boolean]
|
@@ -15460,8 +17971,7 @@ module Google
|
|
15460
17971
|
alias_method :attendance_report_enabled?, :attendance_report_enabled
|
15461
17972
|
|
15462
17973
|
# The chat lock of the meeting space that lets owner control whether the
|
15463
|
-
# participants can send chat messages.
|
15464
|
-
# for the meeting space.
|
17974
|
+
# participants can send chat messages.
|
15465
17975
|
# Corresponds to the JSON property `chatLock`
|
15466
17976
|
# @return [Boolean]
|
15467
17977
|
attr_accessor :chat_lock
|
@@ -15492,16 +18002,14 @@ module Google
|
|
15492
18002
|
alias_method :moderation_enabled?, :moderation_enabled
|
15493
18003
|
|
15494
18004
|
# The present lock of the meeting space that lets owner control whether the
|
15495
|
-
# participants can present their screen.
|
15496
|
-
# enabled for the meeting space.
|
18005
|
+
# participants can present their screen.
|
15497
18006
|
# Corresponds to the JSON property `presentLock`
|
15498
18007
|
# @return [Boolean]
|
15499
18008
|
attr_accessor :present_lock
|
15500
18009
|
alias_method :present_lock?, :present_lock
|
15501
18010
|
|
15502
18011
|
# The reactions lock of the meeting space that lets owner control whether the
|
15503
|
-
# participants can send reactions.
|
15504
|
-
# for the meeting space.
|
18012
|
+
# participants can send reactions.
|
15505
18013
|
# Corresponds to the JSON property `reactionsLock`
|
15506
18014
|
# @return [Boolean]
|
15507
18015
|
attr_accessor :reactions_lock
|
@@ -15514,6 +18022,8 @@ module Google
|
|
15514
18022
|
# Update properties of this object
|
15515
18023
|
def update!(**args)
|
15516
18024
|
@access_lock = args[:access_lock] if args.key?(:access_lock)
|
18025
|
+
@access_type = args[:access_type] if args.key?(:access_type)
|
18026
|
+
@allow_joining_before_host = args[:allow_joining_before_host] if args.key?(:allow_joining_before_host)
|
15517
18027
|
@attendance_report_enabled = args[:attendance_report_enabled] if args.key?(:attendance_report_enabled)
|
15518
18028
|
@chat_lock = args[:chat_lock] if args.key?(:chat_lock)
|
15519
18029
|
@cohost_artifact_sharing_enabled = args[:cohost_artifact_sharing_enabled] if args.key?(:cohost_artifact_sharing_enabled)
|
@@ -15551,6 +18061,25 @@ module Google
|
|
15551
18061
|
end
|
15552
18062
|
end
|
15553
18063
|
|
18064
|
+
#
|
18065
|
+
class SheetsClientActionMarkup
|
18066
|
+
include Google::Apis::Core::Hashable
|
18067
|
+
|
18068
|
+
# The result of a user running a custom function.
|
18069
|
+
# Corresponds to the JSON property `customFunctionReturnValueMarkup`
|
18070
|
+
# @return [Google::Apis::CloudsearchV1::CustomFunctionReturnValueMarkup]
|
18071
|
+
attr_accessor :custom_function_return_value_markup
|
18072
|
+
|
18073
|
+
def initialize(**args)
|
18074
|
+
update!(**args)
|
18075
|
+
end
|
18076
|
+
|
18077
|
+
# Update properties of this object
|
18078
|
+
def update!(**args)
|
18079
|
+
@custom_function_return_value_markup = args[:custom_function_return_value_markup] if args.key?(:custom_function_return_value_markup)
|
18080
|
+
end
|
18081
|
+
end
|
18082
|
+
|
15554
18083
|
# Represents a principal who possesses a signing key corresponding to the
|
15555
18084
|
# verification key or keyset described here.
|
15556
18085
|
class SigningKeyPossessorProto
|
@@ -16400,6 +18929,11 @@ module Google
|
|
16400
18929
|
# @return [String]
|
16401
18930
|
attr_accessor :deletion_policy_url
|
16402
18931
|
|
18932
|
+
# Link to GWM page of the app. May be empty.
|
18933
|
+
# Corresponds to the JSON property `gwmUrl`
|
18934
|
+
# @return [String]
|
18935
|
+
attr_accessor :gwm_url
|
18936
|
+
|
16403
18937
|
# Link to the privacy policy webpage for the bot. May be empty.
|
16404
18938
|
# Corresponds to the JSON property `privacyPolicyUrl`
|
16405
18939
|
# @return [String]
|
@@ -16428,6 +18962,7 @@ module Google
|
|
16428
18962
|
def update!(**args)
|
16429
18963
|
@admin_config_url = args[:admin_config_url] if args.key?(:admin_config_url)
|
16430
18964
|
@deletion_policy_url = args[:deletion_policy_url] if args.key?(:deletion_policy_url)
|
18965
|
+
@gwm_url = args[:gwm_url] if args.key?(:gwm_url)
|
16431
18966
|
@privacy_policy_url = args[:privacy_policy_url] if args.key?(:privacy_policy_url)
|
16432
18967
|
@setup_url = args[:setup_url] if args.key?(:setup_url)
|
16433
18968
|
@support_url = args[:support_url] if args.key?(:support_url)
|
@@ -16479,6 +19014,26 @@ module Google
|
|
16479
19014
|
end
|
16480
19015
|
end
|
16481
19016
|
|
19017
|
+
#
|
19018
|
+
class TaskActionMarkup
|
19019
|
+
include Google::Apis::Core::Hashable
|
19020
|
+
|
19021
|
+
#
|
19022
|
+
# Corresponds to the JSON property `reloadTasks`
|
19023
|
+
# @return [Boolean]
|
19024
|
+
attr_accessor :reload_tasks
|
19025
|
+
alias_method :reload_tasks?, :reload_tasks
|
19026
|
+
|
19027
|
+
def initialize(**args)
|
19028
|
+
update!(**args)
|
19029
|
+
end
|
19030
|
+
|
19031
|
+
# Update properties of this object
|
19032
|
+
def update!(**args)
|
19033
|
+
@reload_tasks = args[:reload_tasks] if args.key?(:reload_tasks)
|
19034
|
+
end
|
19035
|
+
end
|
19036
|
+
|
16482
19037
|
#
|
16483
19038
|
class TextButton
|
16484
19039
|
include Google::Apis::Core::Hashable
|
@@ -16744,6 +19299,205 @@ module Google
|
|
16744
19299
|
end
|
16745
19300
|
end
|
16746
19301
|
|
19302
|
+
# The ThreadKey was set on some (subset of the) messages in this thread.
|
19303
|
+
class ThreadKeySet
|
19304
|
+
include Google::Apis::Core::Hashable
|
19305
|
+
|
19306
|
+
# Messages on which the thread_key was changed.
|
19307
|
+
# Corresponds to the JSON property `messageKeys`
|
19308
|
+
# @return [Array<Google::Apis::CloudsearchV1::MultiKey>]
|
19309
|
+
attr_accessor :message_keys
|
19310
|
+
|
19311
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
19312
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
19313
|
+
# be set. More than one key field may be set as long as all key values refer to
|
19314
|
+
# the same object. All objects in storage have unique server_id keys. All
|
19315
|
+
# MultiKeys returned from storage to storage clients will always have the
|
19316
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
19317
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
19318
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
19319
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
19320
|
+
# Instead of server ids, clients can specify string based
|
19321
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
19322
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
19323
|
+
# system needs to create a new object with the updated draft content and needs
|
19324
|
+
# to delete the object containing the old content. The new object gets a new
|
19325
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
19326
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
19327
|
+
# be used to consistently refer to the same logical object across revisions.
|
19328
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
19329
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
19330
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
19331
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
19332
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
19333
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
19334
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
19335
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
19336
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
19337
|
+
# on background and motivation.
|
19338
|
+
# Corresponds to the JSON property `newThreadKey`
|
19339
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
19340
|
+
attr_accessor :new_thread_key
|
19341
|
+
|
19342
|
+
def initialize(**args)
|
19343
|
+
update!(**args)
|
19344
|
+
end
|
19345
|
+
|
19346
|
+
# Update properties of this object
|
19347
|
+
def update!(**args)
|
19348
|
+
@message_keys = args[:message_keys] if args.key?(:message_keys)
|
19349
|
+
@new_thread_key = args[:new_thread_key] if args.key?(:new_thread_key)
|
19350
|
+
end
|
19351
|
+
end
|
19352
|
+
|
19353
|
+
# HistoryRecord for changes associated with a thread, namely: MESSAGE_ADDED
|
19354
|
+
# MESSAGE_DELETED LABEL_ADDED LABEL_REMOVED ATTRIBUTE_SET ATTRIBUTE_REMOVED
|
19355
|
+
# THREAD_KEY_SET All label_ids refer to the (unchanging) value as defined by the
|
19356
|
+
# Label.id field in labels.proto. In particular, it is *not* the canonical_name.
|
19357
|
+
class ThreadUpdate
|
19358
|
+
include Google::Apis::Core::Hashable
|
19359
|
+
|
19360
|
+
# An attribute was deleted from some (subset of the) messages in this thread.
|
19361
|
+
# Corresponds to the JSON property `attributeRemoved`
|
19362
|
+
# @return [Google::Apis::CloudsearchV1::AttributeRemoved]
|
19363
|
+
attr_accessor :attribute_removed
|
19364
|
+
|
19365
|
+
# An attribute was added to some (subset of the) messages in this thread.
|
19366
|
+
# Corresponds to the JSON property `attributeSet`
|
19367
|
+
# @return [Google::Apis::CloudsearchV1::AttributeSet]
|
19368
|
+
attr_accessor :attribute_set
|
19369
|
+
|
19370
|
+
# A label was added to some (subset of the) messages in this thread.
|
19371
|
+
# Corresponds to the JSON property `labelAdded`
|
19372
|
+
# @return [Google::Apis::CloudsearchV1::LabelAdded]
|
19373
|
+
attr_accessor :label_added
|
19374
|
+
|
19375
|
+
# A label was removed from some (subset of the) messages in this thread.
|
19376
|
+
# Corresponds to the JSON property `labelRemoved`
|
19377
|
+
# @return [Google::Apis::CloudsearchV1::LabelRemoved]
|
19378
|
+
attr_accessor :label_removed
|
19379
|
+
|
19380
|
+
# Indicates the record id of the last operation that modified this thread.
|
19381
|
+
# Corresponds to the JSON property `lastHistoryRecordId`
|
19382
|
+
# @return [Fixnum]
|
19383
|
+
attr_accessor :last_history_record_id
|
19384
|
+
|
19385
|
+
# A message was added. Specifying id and initial labels.
|
19386
|
+
# Corresponds to the JSON property `messageAdded`
|
19387
|
+
# @return [Google::Apis::CloudsearchV1::MessageAdded]
|
19388
|
+
attr_accessor :message_added
|
19389
|
+
|
19390
|
+
# Some (subset of the) messages in this thread were deleted.
|
19391
|
+
# Corresponds to the JSON property `messageDeleted`
|
19392
|
+
# @return [Google::Apis::CloudsearchV1::MessageDeleted]
|
19393
|
+
attr_accessor :message_deleted
|
19394
|
+
|
19395
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
19396
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
19397
|
+
# be set. More than one key field may be set as long as all key values refer to
|
19398
|
+
# the same object. All objects in storage have unique server_id keys. All
|
19399
|
+
# MultiKeys returned from storage to storage clients will always have the
|
19400
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
19401
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
19402
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
19403
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
19404
|
+
# Instead of server ids, clients can specify string based
|
19405
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
19406
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
19407
|
+
# system needs to create a new object with the updated draft content and needs
|
19408
|
+
# to delete the object containing the old content. The new object gets a new
|
19409
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
19410
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
19411
|
+
# be used to consistently refer to the same logical object across revisions.
|
19412
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
19413
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
19414
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
19415
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
19416
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
19417
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
19418
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
19419
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
19420
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
19421
|
+
# on background and motivation.
|
19422
|
+
# Corresponds to the JSON property `originalThreadKey`
|
19423
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
19424
|
+
attr_accessor :original_thread_key
|
19425
|
+
|
19426
|
+
# The PreStates of all messages before the transaction. These are suppressed if
|
19427
|
+
# the client requested that prestates not be included in the output of the
|
19428
|
+
# GetHistoryRequest.
|
19429
|
+
# Corresponds to the JSON property `preState`
|
19430
|
+
# @return [Array<Google::Apis::CloudsearchV1::PreState>]
|
19431
|
+
attr_accessor :pre_state
|
19432
|
+
|
19433
|
+
# A union-like type for identifiying an object in storage. MultiKeys contain
|
19434
|
+
# multiple key fields, each in a separate key space. At least one key field must
|
19435
|
+
# be set. More than one key field may be set as long as all key values refer to
|
19436
|
+
# the same object. All objects in storage have unique server_id keys. All
|
19437
|
+
# MultiKeys returned from storage to storage clients will always have the
|
19438
|
+
# server_id field set. When creating an object, if a MultiKey without a
|
19439
|
+
# server_id is supplied to storage, the storage system will auto-assign a server
|
19440
|
+
# ID to the new object. For all other storage requests (i.e. those not creating
|
19441
|
+
# new objects), clients may omit server_id (as long as they supply another key).
|
19442
|
+
# Instead of server ids, clients can specify string based
|
19443
|
+
# client_assigned_perm_id keys. Mail message drafts are a prime example of these
|
19444
|
+
# kinds of objects. Each time a user saves a new version of a draft, the storage
|
19445
|
+
# system needs to create a new object with the updated draft content and needs
|
19446
|
+
# to delete the object containing the old content. The new object gets a new
|
19447
|
+
# SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted
|
19448
|
+
# object containing the old content. Carrying forward the perm ID allows it to
|
19449
|
+
# be used to consistently refer to the same logical object across revisions.
|
19450
|
+
# These perm IDs save sync clients from having to deal with changing object IDs.
|
19451
|
+
# For example, assume there's a mail message in storage with SERVER_ID = 123 and
|
19452
|
+
# CLIENT_ASSIGNED_PERM_ID = "foo". The following are all valid ways of
|
19453
|
+
# addressing the object using MultiKeys: 1) MultiKey ` server_id = 123 ` 2)
|
19454
|
+
# MultiKey ` server_id = 123, client_assigned_perm_id = "foo" ` 3) MultiKey `
|
19455
|
+
# client_assigned_perm_id = "foo" ` Multikeys are never serialized in the
|
19456
|
+
# storage. The individual keys are extracted and processed separately. Both the
|
19457
|
+
# integer ids as well as string ids are indexed for efficient retrieval using
|
19458
|
+
# the same fields in the backend. See go/tingle-multikeys for more information
|
19459
|
+
# on background and motivation.
|
19460
|
+
# Corresponds to the JSON property `threadKey`
|
19461
|
+
# @return [Google::Apis::CloudsearchV1::MultiKey]
|
19462
|
+
attr_accessor :thread_key
|
19463
|
+
|
19464
|
+
# The ThreadKey was set on some (subset of the) messages in this thread.
|
19465
|
+
# Corresponds to the JSON property `threadKeySet`
|
19466
|
+
# @return [Google::Apis::CloudsearchV1::ThreadKeySet]
|
19467
|
+
attr_accessor :thread_key_set
|
19468
|
+
|
19469
|
+
# Thread PLID
|
19470
|
+
# Corresponds to the JSON property `threadLocator`
|
19471
|
+
# @return [String]
|
19472
|
+
attr_accessor :thread_locator
|
19473
|
+
|
19474
|
+
#
|
19475
|
+
# Corresponds to the JSON property `topicStateUpdate`
|
19476
|
+
# @return [Google::Apis::CloudsearchV1::TopicStateUpdate]
|
19477
|
+
attr_accessor :topic_state_update
|
19478
|
+
|
19479
|
+
def initialize(**args)
|
19480
|
+
update!(**args)
|
19481
|
+
end
|
19482
|
+
|
19483
|
+
# Update properties of this object
|
19484
|
+
def update!(**args)
|
19485
|
+
@attribute_removed = args[:attribute_removed] if args.key?(:attribute_removed)
|
19486
|
+
@attribute_set = args[:attribute_set] if args.key?(:attribute_set)
|
19487
|
+
@label_added = args[:label_added] if args.key?(:label_added)
|
19488
|
+
@label_removed = args[:label_removed] if args.key?(:label_removed)
|
19489
|
+
@last_history_record_id = args[:last_history_record_id] if args.key?(:last_history_record_id)
|
19490
|
+
@message_added = args[:message_added] if args.key?(:message_added)
|
19491
|
+
@message_deleted = args[:message_deleted] if args.key?(:message_deleted)
|
19492
|
+
@original_thread_key = args[:original_thread_key] if args.key?(:original_thread_key)
|
19493
|
+
@pre_state = args[:pre_state] if args.key?(:pre_state)
|
19494
|
+
@thread_key = args[:thread_key] if args.key?(:thread_key)
|
19495
|
+
@thread_key_set = args[:thread_key_set] if args.key?(:thread_key_set)
|
19496
|
+
@thread_locator = args[:thread_locator] if args.key?(:thread_locator)
|
19497
|
+
@topic_state_update = args[:topic_state_update] if args.key?(:topic_state_update)
|
19498
|
+
end
|
19499
|
+
end
|
19500
|
+
|
16747
19501
|
# Used to provide a search operator for timestamp properties. This is optional.
|
16748
19502
|
# Search operators let users restrict the query to specific fields relevant to
|
16749
19503
|
# the type of item being searched.
|
@@ -16916,6 +19670,105 @@ module Google
|
|
16916
19670
|
end
|
16917
19671
|
end
|
16918
19672
|
|
19673
|
+
# State of an topic thread as maintained within Tingle.
|
19674
|
+
class TopicState
|
19675
|
+
include Google::Apis::Core::Hashable
|
19676
|
+
|
19677
|
+
# Map of label => count of topic constituent messages with label These only
|
19678
|
+
# contain counts of labels that are relevant for topic normalization/
|
19679
|
+
# denormalization. Eg. If a topic thread has 5 constituents, 4 of which are in
|
19680
|
+
# inbox, this will contain ^i => 4. Some labels of interest are archive, inbox,
|
19681
|
+
# trash, spam, etc.
|
19682
|
+
# Corresponds to the JSON property `labelIdMessageCount`
|
19683
|
+
# @return [Hash<String,Fixnum>]
|
19684
|
+
attr_accessor :label_id_message_count
|
19685
|
+
|
19686
|
+
# Number of constituents for this entity.
|
19687
|
+
# Corresponds to the JSON property `numConstituents`
|
19688
|
+
# @return [Fixnum]
|
19689
|
+
attr_accessor :num_constituents
|
19690
|
+
|
19691
|
+
def initialize(**args)
|
19692
|
+
update!(**args)
|
19693
|
+
end
|
19694
|
+
|
19695
|
+
# Update properties of this object
|
19696
|
+
def update!(**args)
|
19697
|
+
@label_id_message_count = args[:label_id_message_count] if args.key?(:label_id_message_count)
|
19698
|
+
@num_constituents = args[:num_constituents] if args.key?(:num_constituents)
|
19699
|
+
end
|
19700
|
+
end
|
19701
|
+
|
19702
|
+
#
|
19703
|
+
class TopicStateUpdate
|
19704
|
+
include Google::Apis::Core::Hashable
|
19705
|
+
|
19706
|
+
# State of an topic thread as maintained within Tingle.
|
19707
|
+
# Corresponds to the JSON property `topicState`
|
19708
|
+
# @return [Google::Apis::CloudsearchV1::TopicState]
|
19709
|
+
attr_accessor :topic_state
|
19710
|
+
|
19711
|
+
def initialize(**args)
|
19712
|
+
update!(**args)
|
19713
|
+
end
|
19714
|
+
|
19715
|
+
# Update properties of this object
|
19716
|
+
def update!(**args)
|
19717
|
+
@topic_state = args[:topic_state] if args.key?(:topic_state)
|
19718
|
+
end
|
19719
|
+
end
|
19720
|
+
|
19721
|
+
# Storage information pertaining to the transaction with which a HistoryRecord
|
19722
|
+
# is associated.
|
19723
|
+
class TransactionContext
|
19724
|
+
include Google::Apis::Core::Hashable
|
19725
|
+
|
19726
|
+
# The last HistoryRecord of the transaction. Note that this may correspond to a
|
19727
|
+
# record that is filtered by Tingle (and thus not returned to the client). See
|
19728
|
+
# http://b/9513464.
|
19729
|
+
# Corresponds to the JSON property `endingRecordId`
|
19730
|
+
# @return [Fixnum]
|
19731
|
+
attr_accessor :ending_record_id
|
19732
|
+
|
19733
|
+
# The first HistoryRecord of the transaction. Note that this may be a record of
|
19734
|
+
# type INTERNAL.
|
19735
|
+
# Corresponds to the JSON property `startingRecordId`
|
19736
|
+
# @return [Fixnum]
|
19737
|
+
attr_accessor :starting_record_id
|
19738
|
+
|
19739
|
+
# The microsecond timestamp of the transaction.
|
19740
|
+
# Corresponds to the JSON property `writeTimestampUs`
|
19741
|
+
# @return [Fixnum]
|
19742
|
+
attr_accessor :write_timestamp_us
|
19743
|
+
|
19744
|
+
def initialize(**args)
|
19745
|
+
update!(**args)
|
19746
|
+
end
|
19747
|
+
|
19748
|
+
# Update properties of this object
|
19749
|
+
def update!(**args)
|
19750
|
+
@ending_record_id = args[:ending_record_id] if args.key?(:ending_record_id)
|
19751
|
+
@starting_record_id = args[:starting_record_id] if args.key?(:starting_record_id)
|
19752
|
+
@write_timestamp_us = args[:write_timestamp_us] if args.key?(:write_timestamp_us)
|
19753
|
+
end
|
19754
|
+
end
|
19755
|
+
|
19756
|
+
# HistoryRecord for debug info associated with the transaction, namely:
|
19757
|
+
# TXN_DEBUG_INFO TODO(b/143845917) This is a short-term workaround for
|
19758
|
+
# unblocking fusebox writes migration. Clean up the code or land a long-term
|
19759
|
+
# solution after the rollout. go/diff-to-historyrecord
|
19760
|
+
class TransactionDebugInfo
|
19761
|
+
include Google::Apis::Core::Hashable
|
19762
|
+
|
19763
|
+
def initialize(**args)
|
19764
|
+
update!(**args)
|
19765
|
+
end
|
19766
|
+
|
19767
|
+
# Update properties of this object
|
19768
|
+
def update!(**args)
|
19769
|
+
end
|
19770
|
+
end
|
19771
|
+
|
16919
19772
|
# Information about a transcription session.
|
16920
19773
|
class TranscriptionSessionInfo
|
16921
19774
|
include Google::Apis::Core::Hashable
|
@@ -16955,6 +19808,180 @@ module Google
|
|
16955
19808
|
end
|
16956
19809
|
end
|
16957
19810
|
|
19811
|
+
#
|
19812
|
+
class Trigger
|
19813
|
+
include Google::Apis::Core::Hashable
|
19814
|
+
|
19815
|
+
# Each dispatcher should use an enum to for the actions that it supports. If a
|
19816
|
+
# dispatcher has only one action, this does not need to be set. (It can be
|
19817
|
+
# expanded later, defining the default behaviour as type 0.) For purposes such
|
19818
|
+
# as batching, the type of a trigger is (dispatcher, action_type).
|
19819
|
+
# Corresponds to the JSON property `actionType`
|
19820
|
+
# @return [Fixnum]
|
19821
|
+
attr_accessor :action_type
|
19822
|
+
|
19823
|
+
# Maximum possible delay in micros that can be tolerated so triggers can be
|
19824
|
+
# batched, which makes processing more efficient compared to firing triggers
|
19825
|
+
# individually. Note that the actual fire time will be somewhere in the
|
19826
|
+
# timerange interval [fire_time_us, fire_time_us + batch_time_us).
|
19827
|
+
# Corresponds to the JSON property `batchTimeUs`
|
19828
|
+
# @return [Fixnum]
|
19829
|
+
attr_accessor :batch_time_us
|
19830
|
+
|
19831
|
+
# Must be set for DISPATCHER_STUBBY_DISPATCHER.
|
19832
|
+
# Corresponds to the JSON property `dispatchId`
|
19833
|
+
# @return [Fixnum]
|
19834
|
+
attr_accessor :dispatch_id
|
19835
|
+
|
19836
|
+
# Which server should interpret action_type.
|
19837
|
+
# Corresponds to the JSON property `dispatcher`
|
19838
|
+
# @return [String]
|
19839
|
+
attr_accessor :dispatcher
|
19840
|
+
|
19841
|
+
# Earliest time to fire at in microseconds. The actual time that the trigger
|
19842
|
+
# will fire will be in the timerange: [fire_time_us, fire_time_us +
|
19843
|
+
# batch_time_us).
|
19844
|
+
# Corresponds to the JSON property `fireTimeUs`
|
19845
|
+
# @return [Fixnum]
|
19846
|
+
attr_accessor :fire_time_us
|
19847
|
+
|
19848
|
+
# Identifies a jobsetted server as a target for Trigger dispatch.
|
19849
|
+
# Corresponds to the JSON property `jobsettedServerSpec`
|
19850
|
+
# @return [Google::Apis::CloudsearchV1::JobsettedServerSpec]
|
19851
|
+
attr_accessor :jobsetted_server_spec
|
19852
|
+
|
19853
|
+
# The trigger key, if applicable.
|
19854
|
+
# Corresponds to the JSON property `key`
|
19855
|
+
# @return [String]
|
19856
|
+
attr_accessor :key
|
19857
|
+
|
19858
|
+
# Options for Triggers dispatched via RPC.
|
19859
|
+
# Corresponds to the JSON property `rpcOptions`
|
19860
|
+
# @return [Google::Apis::CloudsearchV1::RpcOptions]
|
19861
|
+
attr_accessor :rpc_options
|
19862
|
+
|
19863
|
+
# The slice_fire_time_us is automatically computed and stored as part of the
|
19864
|
+
# trigger write. It represents the exact fire time at which the trigger will be
|
19865
|
+
# queued to fire and will satisfy fire_time_us < slice_fire_time_us <=
|
19866
|
+
# fire_time_us + batch_time_us Triggers have an index row in the slice trigger
|
19867
|
+
# index with the row prefix matching this time. Note that this field is internal
|
19868
|
+
# to gmail_cp and is ignored if set by external clients when adding / updating
|
19869
|
+
# triggers.
|
19870
|
+
# Corresponds to the JSON property `sliceFireTimeUs`
|
19871
|
+
# @return [Fixnum]
|
19872
|
+
attr_accessor :slice_fire_time_us
|
19873
|
+
|
19874
|
+
# Trigger action to perform. This should always be set.
|
19875
|
+
# Corresponds to the JSON property `triggerAction`
|
19876
|
+
# @return [Google::Apis::CloudsearchV1::TriggerAction]
|
19877
|
+
attr_accessor :trigger_action
|
19878
|
+
|
19879
|
+
# A TriggerKey (type + instance_id) uniquely identifies a trigger within a
|
19880
|
+
# message for a message-trigger and within an account for an account-trigger.
|
19881
|
+
# Corresponds to the JSON property `triggerKey`
|
19882
|
+
# @return [Google::Apis::CloudsearchV1::TriggerKey]
|
19883
|
+
attr_accessor :trigger_key
|
19884
|
+
|
19885
|
+
def initialize(**args)
|
19886
|
+
update!(**args)
|
19887
|
+
end
|
19888
|
+
|
19889
|
+
# Update properties of this object
|
19890
|
+
def update!(**args)
|
19891
|
+
@action_type = args[:action_type] if args.key?(:action_type)
|
19892
|
+
@batch_time_us = args[:batch_time_us] if args.key?(:batch_time_us)
|
19893
|
+
@dispatch_id = args[:dispatch_id] if args.key?(:dispatch_id)
|
19894
|
+
@dispatcher = args[:dispatcher] if args.key?(:dispatcher)
|
19895
|
+
@fire_time_us = args[:fire_time_us] if args.key?(:fire_time_us)
|
19896
|
+
@jobsetted_server_spec = args[:jobsetted_server_spec] if args.key?(:jobsetted_server_spec)
|
19897
|
+
@key = args[:key] if args.key?(:key)
|
19898
|
+
@rpc_options = args[:rpc_options] if args.key?(:rpc_options)
|
19899
|
+
@slice_fire_time_us = args[:slice_fire_time_us] if args.key?(:slice_fire_time_us)
|
19900
|
+
@trigger_action = args[:trigger_action] if args.key?(:trigger_action)
|
19901
|
+
@trigger_key = args[:trigger_key] if args.key?(:trigger_key)
|
19902
|
+
end
|
19903
|
+
end
|
19904
|
+
|
19905
|
+
#
|
19906
|
+
class TriggerAction
|
19907
|
+
include Google::Apis::Core::Hashable
|
19908
|
+
|
19909
|
+
#
|
19910
|
+
# Corresponds to the JSON property `action`
|
19911
|
+
# @return [String]
|
19912
|
+
attr_accessor :action
|
19913
|
+
|
19914
|
+
# Clients should use extensions on the Trigger message instead.
|
19915
|
+
# Corresponds to the JSON property `data`
|
19916
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
19917
|
+
# @return [String]
|
19918
|
+
attr_accessor :data
|
19919
|
+
|
19920
|
+
#
|
19921
|
+
# Corresponds to the JSON property `dataInt`
|
19922
|
+
# @return [Fixnum]
|
19923
|
+
attr_accessor :data_int
|
19924
|
+
|
19925
|
+
def initialize(**args)
|
19926
|
+
update!(**args)
|
19927
|
+
end
|
19928
|
+
|
19929
|
+
# Update properties of this object
|
19930
|
+
def update!(**args)
|
19931
|
+
@action = args[:action] if args.key?(:action)
|
19932
|
+
@data = args[:data] if args.key?(:data)
|
19933
|
+
@data_int = args[:data_int] if args.key?(:data_int)
|
19934
|
+
end
|
19935
|
+
end
|
19936
|
+
|
19937
|
+
# A TriggerKey (type + instance_id) uniquely identifies a trigger within a
|
19938
|
+
# message for a message-trigger and within an account for an account-trigger.
|
19939
|
+
class TriggerKey
|
19940
|
+
include Google::Apis::Core::Hashable
|
19941
|
+
|
19942
|
+
# Identifier to distinguish multiple Triggers of the same type (per message or
|
19943
|
+
# per account).
|
19944
|
+
# Corresponds to the JSON property `instanceId`
|
19945
|
+
# @return [String]
|
19946
|
+
attr_accessor :instance_id
|
19947
|
+
|
19948
|
+
# A non-empty string that identifies the type of Trigger. Triggers of the same
|
19949
|
+
# type may be batched together. The universe of values for the type field should
|
19950
|
+
# be finite as it is used as a stats key.
|
19951
|
+
# Corresponds to the JSON property `type`
|
19952
|
+
# @return [String]
|
19953
|
+
attr_accessor :type
|
19954
|
+
|
19955
|
+
def initialize(**args)
|
19956
|
+
update!(**args)
|
19957
|
+
end
|
19958
|
+
|
19959
|
+
# Update properties of this object
|
19960
|
+
def update!(**args)
|
19961
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
19962
|
+
@type = args[:type] if args.key?(:type)
|
19963
|
+
end
|
19964
|
+
end
|
19965
|
+
|
19966
|
+
#
|
19967
|
+
class Triggers
|
19968
|
+
include Google::Apis::Core::Hashable
|
19969
|
+
|
19970
|
+
# A list of triggers.
|
19971
|
+
# Corresponds to the JSON property `triggers`
|
19972
|
+
# @return [Array<Google::Apis::CloudsearchV1::Trigger>]
|
19973
|
+
attr_accessor :triggers
|
19974
|
+
|
19975
|
+
def initialize(**args)
|
19976
|
+
update!(**args)
|
19977
|
+
end
|
19978
|
+
|
19979
|
+
# Update properties of this object
|
19980
|
+
def update!(**args)
|
19981
|
+
@triggers = args[:triggers] if args.key?(:triggers)
|
19982
|
+
end
|
19983
|
+
end
|
19984
|
+
|
16958
19985
|
# Message containing a string that is safe to use in all URL contexts in DOM
|
16959
19986
|
# APIs and HTML documents; even where the referred-to resource is interpreted as
|
16960
19987
|
# code, e.g., as the src of a script element.
|
@@ -17085,6 +20112,71 @@ module Google
|
|
17085
20112
|
end
|
17086
20113
|
end
|
17087
20114
|
|
20115
|
+
#
|
20116
|
+
class UpdateBccRecipients
|
20117
|
+
include Google::Apis::Core::Hashable
|
20118
|
+
|
20119
|
+
#
|
20120
|
+
# Corresponds to the JSON property `bccRecipients`
|
20121
|
+
# @return [Array<Google::Apis::CloudsearchV1::Recipient>]
|
20122
|
+
attr_accessor :bcc_recipients
|
20123
|
+
|
20124
|
+
def initialize(**args)
|
20125
|
+
update!(**args)
|
20126
|
+
end
|
20127
|
+
|
20128
|
+
# Update properties of this object
|
20129
|
+
def update!(**args)
|
20130
|
+
@bcc_recipients = args[:bcc_recipients] if args.key?(:bcc_recipients)
|
20131
|
+
end
|
20132
|
+
end
|
20133
|
+
|
20134
|
+
#
|
20135
|
+
class UpdateBody
|
20136
|
+
include Google::Apis::Core::Hashable
|
20137
|
+
|
20138
|
+
# A repeated field that contains a series of content to insert into the draft
|
20139
|
+
# that the user is currently editing. The content can contain HTML content or
|
20140
|
+
# plain text content.
|
20141
|
+
# Corresponds to the JSON property `insertContents`
|
20142
|
+
# @return [Array<Google::Apis::CloudsearchV1::InsertContent>]
|
20143
|
+
attr_accessor :insert_contents
|
20144
|
+
|
20145
|
+
#
|
20146
|
+
# Corresponds to the JSON property `type`
|
20147
|
+
# @return [String]
|
20148
|
+
attr_accessor :type
|
20149
|
+
|
20150
|
+
def initialize(**args)
|
20151
|
+
update!(**args)
|
20152
|
+
end
|
20153
|
+
|
20154
|
+
# Update properties of this object
|
20155
|
+
def update!(**args)
|
20156
|
+
@insert_contents = args[:insert_contents] if args.key?(:insert_contents)
|
20157
|
+
@type = args[:type] if args.key?(:type)
|
20158
|
+
end
|
20159
|
+
end
|
20160
|
+
|
20161
|
+
#
|
20162
|
+
class UpdateCcRecipients
|
20163
|
+
include Google::Apis::Core::Hashable
|
20164
|
+
|
20165
|
+
#
|
20166
|
+
# Corresponds to the JSON property `ccRecipients`
|
20167
|
+
# @return [Array<Google::Apis::CloudsearchV1::Recipient>]
|
20168
|
+
attr_accessor :cc_recipients
|
20169
|
+
|
20170
|
+
def initialize(**args)
|
20171
|
+
update!(**args)
|
20172
|
+
end
|
20173
|
+
|
20174
|
+
# Update properties of this object
|
20175
|
+
def update!(**args)
|
20176
|
+
@cc_recipients = args[:cc_recipients] if args.key?(:cc_recipients)
|
20177
|
+
end
|
20178
|
+
end
|
20179
|
+
|
17088
20180
|
#
|
17089
20181
|
class UpdateDataSourceRequest
|
17090
20182
|
include Google::Apis::Core::Hashable
|
@@ -17101,12 +20193,14 @@ module Google
|
|
17101
20193
|
# @return [Google::Apis::CloudsearchV1::DataSource]
|
17102
20194
|
attr_accessor :source
|
17103
20195
|
|
17104
|
-
#
|
17105
|
-
#
|
17106
|
-
#
|
17107
|
-
#
|
17108
|
-
#
|
17109
|
-
#
|
20196
|
+
# Only applies to [`settings.datasources.patch`](https://developers.google.com/
|
20197
|
+
# cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask
|
20198
|
+
# to control which fields to update. Example field paths: `name`, `displayName`.
|
20199
|
+
# * If `update_mask` is non-empty, then only the fields specified in the `
|
20200
|
+
# update_mask` are updated. * If you specify a field in the `update_mask`, but
|
20201
|
+
# don't specify its value in the source, that field is cleared. * If the `
|
20202
|
+
# update_mask` is not present or empty or has the value `*`, then all fields are
|
20203
|
+
# updated.
|
17110
20204
|
# Corresponds to the JSON property `updateMask`
|
17111
20205
|
# @return [String]
|
17112
20206
|
attr_accessor :update_mask
|
@@ -17123,6 +20217,54 @@ module Google
|
|
17123
20217
|
end
|
17124
20218
|
end
|
17125
20219
|
|
20220
|
+
#
|
20221
|
+
class UpdateDraftActionMarkup
|
20222
|
+
include Google::Apis::Core::Hashable
|
20223
|
+
|
20224
|
+
# If set, replaces the existing Bcc recipients of the draft the user is
|
20225
|
+
# currently editing.
|
20226
|
+
# Corresponds to the JSON property `updateBccRecipients`
|
20227
|
+
# @return [Google::Apis::CloudsearchV1::UpdateBccRecipients]
|
20228
|
+
attr_accessor :update_bcc_recipients
|
20229
|
+
|
20230
|
+
# A field that contains a series of update actions to perform on the draft body
|
20231
|
+
# that the user is currently editing.
|
20232
|
+
# Corresponds to the JSON property `updateBody`
|
20233
|
+
# @return [Google::Apis::CloudsearchV1::UpdateBody]
|
20234
|
+
attr_accessor :update_body
|
20235
|
+
|
20236
|
+
# If set, replaces the existing Cc recipients of the draft the user is currently
|
20237
|
+
# editing.
|
20238
|
+
# Corresponds to the JSON property `updateCcRecipients`
|
20239
|
+
# @return [Google::Apis::CloudsearchV1::UpdateCcRecipients]
|
20240
|
+
attr_accessor :update_cc_recipients
|
20241
|
+
|
20242
|
+
# If set, replaces the existing subject of the draft the user is currently
|
20243
|
+
# editing.
|
20244
|
+
# Corresponds to the JSON property `updateSubject`
|
20245
|
+
# @return [Google::Apis::CloudsearchV1::UpdateSubject]
|
20246
|
+
attr_accessor :update_subject
|
20247
|
+
|
20248
|
+
# If set, replaces the existing To recipients of the draft the user is currently
|
20249
|
+
# editing.
|
20250
|
+
# Corresponds to the JSON property `updateToRecipients`
|
20251
|
+
# @return [Google::Apis::CloudsearchV1::UpdateToRecipients]
|
20252
|
+
attr_accessor :update_to_recipients
|
20253
|
+
|
20254
|
+
def initialize(**args)
|
20255
|
+
update!(**args)
|
20256
|
+
end
|
20257
|
+
|
20258
|
+
# Update properties of this object
|
20259
|
+
def update!(**args)
|
20260
|
+
@update_bcc_recipients = args[:update_bcc_recipients] if args.key?(:update_bcc_recipients)
|
20261
|
+
@update_body = args[:update_body] if args.key?(:update_body)
|
20262
|
+
@update_cc_recipients = args[:update_cc_recipients] if args.key?(:update_cc_recipients)
|
20263
|
+
@update_subject = args[:update_subject] if args.key?(:update_subject)
|
20264
|
+
@update_to_recipients = args[:update_to_recipients] if args.key?(:update_to_recipients)
|
20265
|
+
end
|
20266
|
+
end
|
20267
|
+
|
17126
20268
|
#
|
17127
20269
|
class UpdateSchemaRequest
|
17128
20270
|
include Google::Apis::Core::Hashable
|
@@ -17156,6 +20298,44 @@ module Google
|
|
17156
20298
|
end
|
17157
20299
|
end
|
17158
20300
|
|
20301
|
+
#
|
20302
|
+
class UpdateSubject
|
20303
|
+
include Google::Apis::Core::Hashable
|
20304
|
+
|
20305
|
+
#
|
20306
|
+
# Corresponds to the JSON property `subject`
|
20307
|
+
# @return [String]
|
20308
|
+
attr_accessor :subject
|
20309
|
+
|
20310
|
+
def initialize(**args)
|
20311
|
+
update!(**args)
|
20312
|
+
end
|
20313
|
+
|
20314
|
+
# Update properties of this object
|
20315
|
+
def update!(**args)
|
20316
|
+
@subject = args[:subject] if args.key?(:subject)
|
20317
|
+
end
|
20318
|
+
end
|
20319
|
+
|
20320
|
+
#
|
20321
|
+
class UpdateToRecipients
|
20322
|
+
include Google::Apis::Core::Hashable
|
20323
|
+
|
20324
|
+
#
|
20325
|
+
# Corresponds to the JSON property `toRecipients`
|
20326
|
+
# @return [Array<Google::Apis::CloudsearchV1::Recipient>]
|
20327
|
+
attr_accessor :to_recipients
|
20328
|
+
|
20329
|
+
def initialize(**args)
|
20330
|
+
update!(**args)
|
20331
|
+
end
|
20332
|
+
|
20333
|
+
# Update properties of this object
|
20334
|
+
def update!(**args)
|
20335
|
+
@to_recipients = args[:to_recipients] if args.key?(:to_recipients)
|
20336
|
+
end
|
20337
|
+
end
|
20338
|
+
|
17159
20339
|
# Represents an upload session reference. This reference is created via upload
|
17160
20340
|
# method. This reference is valid for 30 days after its creation. Updating of
|
17161
20341
|
# item content may refer to this uploaded content via contentDataRef.
|
@@ -17231,6 +20411,11 @@ module Google
|
|
17231
20411
|
# @return [Google::Apis::CloudsearchV1::AppsDynamiteSharedDlpMetricsMetadata]
|
17232
20412
|
attr_accessor :dlp_metrics_metadata
|
17233
20413
|
|
20414
|
+
# The timestamp of the most recent virus scan completed (in microseconds).
|
20415
|
+
# Corresponds to the JSON property `latestVirusScanTimestamp`
|
20416
|
+
# @return [Fixnum]
|
20417
|
+
attr_accessor :latest_virus_scan_timestamp
|
20418
|
+
|
17234
20419
|
# A copy of the LocalId in Annotation. This field is supposed to be filled by
|
17235
20420
|
# server only.
|
17236
20421
|
# Corresponds to the JSON property `localId`
|
@@ -17267,6 +20452,7 @@ module Google
|
|
17267
20452
|
@content_name = args[:content_name] if args.key?(:content_name)
|
17268
20453
|
@content_type = args[:content_type] if args.key?(:content_type)
|
17269
20454
|
@dlp_metrics_metadata = args[:dlp_metrics_metadata] if args.key?(:dlp_metrics_metadata)
|
20455
|
+
@latest_virus_scan_timestamp = args[:latest_virus_scan_timestamp] if args.key?(:latest_virus_scan_timestamp)
|
17270
20456
|
@local_id = args[:local_id] if args.key?(:local_id)
|
17271
20457
|
@original_dimension = args[:original_dimension] if args.key?(:original_dimension)
|
17272
20458
|
@video_reference = args[:video_reference] if args.key?(:video_reference)
|
@@ -17366,7 +20552,7 @@ module Google
|
|
17366
20552
|
# @return [Google::Apis::CloudsearchV1::SafeUrlProto]
|
17367
20553
|
attr_accessor :url
|
17368
20554
|
|
17369
|
-
#
|
20555
|
+
#
|
17370
20556
|
# Corresponds to the JSON property `urlSource`
|
17371
20557
|
# @return [String]
|
17372
20558
|
attr_accessor :url_source
|